这段代码是我的VScode settings.json。但我不知道为什么它会显示
"End of file expected" jsonc(0) [5, 1]
开始,我只想在我的终端上输入int。但是它不能,所以我打开Run in terminal 'v‘是否在集成终端中运行代码。并弹出
'Failed to write user settings. Please turn it on to correct any errors / warnings and try again.'
并尝试设置运行代码配置,选择运行在终端弹出再次
'Failed to write user settings. Please turn it on to correct any errors / warnings and try again.'
{
"files.autoSave": "onWindowChange",
"editor.quickSuggestionsDelay": 60
// Controls if quick suggestions should show up while typing
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
// Controls if suggestions should be accepted on 'Enter' - in addition to 'Tab'. Helps to avoid ambiguity between inserting new lines or accepting suggestions. The value 'smart' means only accept a suggestion with Enter when it makes a textual change
"editor.acceptSuggestionOnEnter": "on",
// Controls the delay in ms after which quick suggestions will show up.
"editor.quickSuggestionsDelay": 10,
// Controls if suggestions should automatically show up when typing trigger characters
"editor.suggestOnTriggerCharacters": true,
// Controls if pressing tab inserts the best suggestion and if tab cycles through other suggestions
"editor.tabCompletion": "on",
// Controls whether sorting favours words that appear close to the cursor
"editor.suggest.localityBonus": true,
// Controls how suggestions are pre-selected when showing the suggest list
"editor.suggestSelection": "recentlyUsed",
// Enable word based suggestions
"editor.wordBasedSuggestions": true,
// Enable parameter hints
"editor.parameterHints.enabled": true,