question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Initial set up Windows 10 - No Syntax highlighting

See original GitHub issue

I am trying to transfer over to VS Code for editing in solidity. I did a clean install from:

https://code.visualstudio.com/updates/v1_55

Version: 1.55.2 (user setup) Commit: 3c4e3df9e89829dce27b7b5c24508306b151f30d Date: 2021-04-13T09:35:57.887Z Electron: 11.3.0 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Windows_NT x64 10.0.19042

I have no other extensions installed besides Solidity. Below is an image of a .sol file and the syntax highlighting (or lack there of). Outside of strings, everything is either blue or white.

I am not sure if I am supposed to toggle some sort of setting, but I was not able to find any instructions related to it. I am not sure here the issue is here.

Untitled

Here is my settings.JSON (I doubt this is useful but just incase):

{
    "workbench.colorTheme": "Visual Studio Dark",
    "zenMode.hideLineNumbers": false,
    "editor.minimap.enabled": false
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Gucericommented, Apr 18, 2021

I finally got it to work! I think VS code does not uninstall completely when you to to use the control panel process of doing it. I checked online and found that there are a lot of other folders that get left on your computer that save user settings. I deleted them and then reinstalled vscode and it works.

reference to locations of local files that get left behind: https://superuser.com/questions/1380208/how-to-completely-uninstall-visual-studio-code-from-windows-10

0reactions
juanfranblancocommented, Apr 19, 2021

Thanks for the info, it will surely be helpful to all of us in the future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Syntax highlighting not displaying on Windows 10 #113 - GitHub
On my laptop running Windows 10 Home edition, the extension installed but does not display syntax highlighting for *.graphql files. I've tried:.
Read more >
Javascript syntax highlighting it not working
At first I noticed in a Razor CHTML file javascript was highlighted up to the point of escaping to Razor with tags, remaining...
Read more >
visual studio 2015 syntax highlighting not working after new ...
Go to %LOCALAPPDATA%\Microsoft\VisualStudio\ and remove the '14.0' folder, then reopen VS to check it again. Open CMD and navigate to the VS ...
Read more >
No syntax highlighting in Visual studio code - Stack Overflow
i.e. if it is a python file, you have to save it file_name.py and then the IDE will know to color the keywords....
Read more >
No syntax highlighting in GVIM on Windows with _vimrc
Syntax highlighting is only enabled by explicitly enabling it with a command such as :syntax on . So the only way to have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found