code-gnu-global
code-gnu-global copied to clipboard
codegnuglobal configuration is not available in UserSettings
I use Visual Studio Code 1.15.1 on Windows 10 Pro Version 1703 (OS Build 15063.540). C++ Intellisense extension is 0.2.2. I'd like to change codegnuglobal.autoupdate to false, but I find there's no codegnuglobal settings at all.
By default it is not there, you can add it manually.
I add "codegnuglobal.executable" but I find it doesn't work?
I add "codegnuglobal.executable" but I find it doesn't work?
me too.
I meet the same problem. The pc is running win7 64 vscode 1.27 (the newest version). I opened developer Tools console error log: it shows use wrong global.exe path, use stange path set( I check my pc , it did not set such path)
Then I want to set setting.json as mentioned , but meet the same problem .
How to hard encode the path in the extension code ?
I found reason . It need to change package.json "contributes": { "configuration": { } } and del other contributes section setting can read the vscode plugin develop get more info . @austin-----
where can i find the package.json? it is not working on my installation. code: 1.32.3 Win: 10 pro 64bit
i use vscode under ubuntu and meet the same problem, anybody has some advice?
i use vscode under ubuntu and meet the same problem, anybody has some advice?
As ragcatshxu has replied. add following to setting.json
"contributes": {
"configuration": {
"codegnuglobal.executable": "C:\\GNUGlobal\\usr\\bin\\global.exe",
"codegnuglobal.autoupdate": false,
}
},
This is caused by a simple bug in the plugin's package.json
. Go to Visual Studio Code's extensions folder, open the plugin's package.json
and move
"configuration": {
"type": "object",
"title": "C++ Intellisense configuration",
"properties": {
"codegnuglobal.encoding": {
"type": "string",
"default": "",
"description": "Specify the encoding of the command line output. (Normally it is the code page of Windows non-unicode program if it is not CP437)"
},
"codegnuglobal.executable": {
"type": "string",
"default": "global",
"description": "Specify the path to the global executable. (If it is not in PATH already)"
},
"codegnuglobal.autoupdate": {
"type": "boolean",
"default": true,
"description": "Specify if global should automatically update the tags on file save. (You should turn it off in the workspace settings for large projects)"
}
}
}
into contributes: {},
, so that it looks like this:
"contributes": {
"configuration": {
"type": "object",
"title": "C++ Intellisense configuration",
"properties": {
"codegnuglobal.encoding": {
"type": "string",
"default": "",
"description": "Specify the encoding of the command line output. (Normally it is the code page of Windows non-unicode program if it is not CP437)"
},
"codegnuglobal.executable": {
"type": "string",
"default": "global",
"description": "Specify the path to the global executable. (If it is not in PATH already)"
},
"codegnuglobal.autoupdate": {
"type": "boolean",
"default": true,
"description": "Specify if global should automatically update the tags on file save. (You should turn it off in the workspace settings for large projects)"
}
}
}
},
You can then change the plugin's settings normally.