I have no syntax highlighting in Solidity #3116
-
For some reason I just have to syntax highlighting when using Solidity. I have tried:
I think it would help if I could take a look at someone else's settings.json. Mine does look a bit messed up, so if someone could let me see their settings.json so I could look at any language settings that would be great. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@trevorwrightdev here is mine; {
"workbench.editorAssociations": {
// "*.ipynb": "jupyter.notebook.ipynb"
},
"editor.fontSize": 15,
"editor.formatOnPaste": true,
"editor.wordWrap": "on",
"python.pythonPath": "C:\\Python\\Python39\\python.exe",
"window.openFilesInNewWindow": "on",
"[dart]": {
"editor.defaultFormatter": "Dart-Code.dart-code",
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [80],
"editor.selectionHighlight": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": false
},
"explorer.confirmDelete": false,
"editor.formatOnSave": true,
"dart.debugExternalLibraries": true,
"dart.debugSdkLibraries": false,
"git.autofetch": true,
"workbench.iconTheme": "material-icon-theme",
"dart.previewFlutterUiGuides": true,
"dart.previewFlutterUiGuidesCustomTracking": true,
"editor.fontLigatures": true,
"dart.showSkippedTests": false,
"dart.showInspectorNotificationsForWidgetErrors": false,
"editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace",
"dart.flutterCreateOrganization": "com.alimurtazamemon",
"scm.inputFontSize": 136,
"dart.debugExternalPackageLibraries": true,
"python.defaultInterpreterPath": "C:\\Python\\Python39\\python.exe",
"editor.multiCursorModifier": "ctrlCmd",
"bracketPairColorizer.depreciation-notice": false,
"files.autoSave": "afterDelay",
"[solidity]": {
"editor.defaultFormatter": "NomicFoundation.hardhat-solidity"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"hardhat.telemetry": false,
"editor.guides.bracketPairs": "active",
"settingsSync.ignoredSettings": [],
"liveServer.settings.donotShowInfoMsg": true,
"json.schemas": [],
"workbench.colorTheme": "One Dark Pro",
"workbench.productIconTheme": "material-product-icons",
"prettier.tabWidth": 4,
"code-runner.executorMapByGlob": {
"pom.xml": "cd $dir && mvn clean package"
},
"code-runner.runInTerminal": true
} |
Beta Was this translation helpful? Give feedback.
-
Do you have this (Solidity) selected in VSCode (bottom-right)? If not, make sure to select the Solidity highlighter extension there. |
Beta Was this translation helpful? Give feedback.
@trevorwrightdev here is mine;