Javascript code gets all white in Visual studio, no syntax highlighting

Asked

Viewed 71 times

0

I found a similar situation but referring to "Visual Studio Code" as follows in this link: Code gets all white in VS Code, no syntax highlighting or suggestions

but my problem occurs in "Visual Studio", recently a mandatory update was made. And the files that contain javascript codes in the middle, such as files. cshtml (which contains excerpts including html and javascript by the tags ) got the javascript code all white, without coloring the syntax. I have tried to go to tools>options>Text editor and link the cshtml extension with some editors but none had a desirable effect. Someone’s been through it and knows how to fix it?

1 answer

0

In the footer of the program there is a bar that shows information from the document, click on Plain Text and select the language you are working on, in the HTML caseinserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.