Home > Visual Studio > Visual Studio 2013 Syntax Highlighting Not Working

Visual Studio 2013 Syntax Highlighting Not Working

Contents

If it works well, and then install the VS2013. You could run your PC in safe mode, check it again. For brevity, this example is shortened to omit most names. @[email protected] "HTML - Custom" ; Custom HTML tagset file. ; Must begin with the "@[email protected]" signature and ; the name of Edit: It has been suggested that you do this from the Visual Studio command prompt (Start>Microsoft Visual Studio>Tools>Visual Studio Command Prompt), and/or make sure your command prompt has administrator permissions. Check This Out

Note for others: This has a very good chance of working for many other versions of Visual Studio, including 2008, 2010, 11 beta, ... I tried just using the /setup first, that didn't work. This approach solved my issue and the colors were back. The text sample displayed in the Sample box changes to the color you select.

Visual Studio 2013 Syntax Highlighting Not Working

share|improve this answer answered Feb 19 at 11:33 ChrisC 11 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up As you can see from below, the colours are completely messed up; some keywords such as int aren't properly highlighted, the grey return value is completely broken on various texts, the Hot Network Questions What is the best way to save values (like strings) for later use? Resetting all settings didn't work for me (via GUI) -- and only doing these three steps did it finally start behaving well again.

  1. I cannot be held responsible for you losing your configs :) share|improve this answer edited Mar 29 at 16:12 answered Sep 11 '12 at 19:13 Matt 1,10421736 I experienced
  2. Can leaked nude pictures damage one's academic career?
  3. do you have any ideas or other problems you've seen which was a machine setup issue, not a visual studio issue?
  4. Pipe the result of a cut command to curl 5 Favorite Letters What should I do after sending a file to print with a typo?
  5. If this is the case, select a normal windows theme and set a solid background color (if you don't want a background pictures) to restore syntax coloring in VS.
  6. Once I reduced the length of the string, highlighting in the rest of the file resumed working normally.
  7. Submit Attach a file Microsoft Connect Terms of Use Trademarks Privacy Statement © 2016 Microsoft Please wait...
  8. Copy Link Kevin 1 post 22 karma points Aug 01, 2014 @ 22:23 1 I also ran into this problem- looks like you never received a satisfactory answer, so I'll tell
  9. Thursday, July 18, 2013 8:14 AM Reply | Quote 0 Sign in to vote Hi Greyze, You could run it in command line: http://msdn.microsoft.com/en-us/library/ms241278(v=vs.110).aspx Best Regards,Jack Zhai [MSFT] MSDN Community Support
  10. This will probably benefit others who stumble on this (because I'm sure you've moved on from this one a long time ago!)...

For more information, see Setting Font Style, Size, and Color. In the Language box, select the language for which you want to set syntax coloring, or select None to turn syntax coloring off. It would disable when the last line in a file was a single line comment. (// blah blah). Visual Studio Code Syntax Highlighting Not Working damn.

share|improve this answer edited Jan 2 '13 at 16:12 Gaz Winter 2,20011134 answered Jan 2 '13 at 15:48 Leonardo Herrero 29132 This solved the problem for me. Visual Studio 2015 Syntax Highlighting Not Working If not, close the tabs and reopen them. Topics: Text Editor Setting Syntax Coloring Setting Syntax Coloring Setting Syntax Coloring Automatically Completing Statements Setting Syntax Coloring Emulating Another Editor Finding and Replacing Text Navigating in Files Customizing the Text try this All other solutions and files that I work with works great.

Create three sections in the file: an [Elements] section, an [Attributes] section, and an [Entities] section. Visual Studio Syntax Highlighting Colors Why do governments not execute or otherwise permanently contain super villains? The behavior of the Automatic setting depends on the element selected. To set syntax coloring for user-defined keywords In the same directory as msdev.exe, use the Text editor or Windows Notepad to create a text-only file named usertype.dat.

Visual Studio 2015 Syntax Highlighting Not Working

Under Tools -> Options -> Environment -> Fonts and Colors, you want to change "User Types", first making sure at the top of the dialog that you are viewing the settings https://connect.microsoft.com/visualstudio/feedback/details/760154/syntax-highlighting-sometimes-not-working asked 3 years ago viewed 4999 times active 3 years ago Upcoming Events 2016 Community Moderator Election ends in 6 days Blog How We Make Money at Stack Overflow: 2016 Edition Visual Studio 2013 Syntax Highlighting Not Working share|improve this answer answered Feb 3 '14 at 9:02 Rishi 1 add a comment| up vote 0 down vote delete all in C:\Users\userNAme\AppData\Roaming\Microsoft\VisualStudio\11.0 open vs console as administrator, and run: devenv.exe Class Names Not Coloured In Visual Studio 2013 Looks like VS automatically backed up the settings file before i swapped out harddrives, which was when i started experiencing the problem. –RMuesi May 31 at 16:49 add a comment| protected

Nothing suggested here helped. his comment is here Chess : The Lone King How do I deal with my current employer not respecting my decision to leave? Actually I don't see any C#-specific items at all. It's odd because it only happens with this project, and not other projects in VS 2013 (some core C#/MVC projects, the highlighting/intellisense/debugging works fine for razor, it just seems to be Class Names Not Coloured In Visual Studio 2012

Eventually I tried the recipe from Leonardo Herrero below, deleting stuff from the AppData folder. visual-studio-2012 intellisense share|improve this question asked Dec 9 '12 at 2:02 user1486147 possible duplicate of Intellisense and code suggestion not working in VS2012 Ultimate RC –user1486147 Dec 9 '12 Who knows.. this contact form OK on all the dialogs and problem solved.

Monday, July 15, 2013 3:11 PM Reply | Quote 0 Sign in to vote ugh.. Visual Studio Fonts And Colors Display Items Or is it? it should work.

On start-up the highlighted code appears correct, but as soon as you start typing the colours clash and break; if you reset the code back to the way it originally looked

As soon as i removed that the text highlighting worked again! DETAILS ATTACH A FILE EDIT THIS ITEM Assign To Item can only be reassigned when it is active. I have tried chaning color for all fields like plain text, literals, identifier, etc under Tool -> Option -> Environment -> Font & Colors but still I am not able to Visual Studio Syntax Highlighting Extension Not the answer you're looking for?

But, when I removed the key again, the colors stayed... –Peter Jun 7 '13 at 10:33 1 great, this and this alone worked for me :) –Manish Mishra Sep 12 Under the language you are using (ie C#), go to the Advanced and make sure the Underline errors in the editor and Show live semantic errors are checked share|improve this answer Then check the same under C#. http://wiiemulator.net/visual-studio/f10-not-working-in-visual-studio-2013.html To make sure that it is not your VS issue, please uninstall your VS2012 and VS2013, and then just re-install VS2012, please install the VS2012 update3, and then check it again.

Monday, July 15, 2013 8:08 AM Reply | Quote 1 Sign in to vote Hello, In the IDE select from the menu item Tools, select Options. Thanks @Kay –Ryan Rohrer Sep 28 '15 at 20:43 add a comment| up vote 3 down vote Edit: In this answer I assume that your problem description is correct. Here is the permanent fix: stackoverflow.com/a/14297776/78739 –JMS10 Jul 23 '13 at 19:25 add a comment| up vote 29 down vote This is what worked for me: 1 - delete all in share|improve this answer edited Jul 31 '14 at 11:09 answered Jul 31 '14 at 9:24 adigostin 273216 add a comment| up vote 1 down vote If you're using only Intellisense, you

one this is done. The text sample in the sample box changes to the font you select. There were colors!! Friday, July 19, 2013 3:05 AM Reply | Quote Moderator Microsoft is conducting an online survey to understand your opinion of the Msdn Web site.

I created a Umbraco 6.1 project in Visual Studio 2012, and everything was working fine. Could it be something local to my machine? share|improve this answer answered Jan 15 '14 at 18:57 mlam13 15217 1 Just adding the first time you open vs, I think you need to open it with administrator first. But if it still has this issue, I’m afraid that it is not the VS setup issue.

The ; name is limited to 14 characters. ;-------------------------------- [Elements] ; Element set, case-insensitive ; HTML tags, e.g.

A APPLET ; break control BR NOBR WBR ; headings H1 H2 One thing I've noticed that the views I create in the back-end umbraco on a browser don't show on a solution explorer unless I click on show all files. After the signature line, the format resembles that of a Windows initialization file. Monday, July 15, 2013 3:46 PM Reply | Quote 0 Sign in to vote Thanks for Kevininstructor’s help.

Nothing helped. Visual C++ User's Guide Text Editor How Do I ... Highlighter is pretty fast, even on large files. In the Colors box, select the type of text you want to color.

Learning resources Microsoft Virtual Academy Channel 9 MSDN Magazine Community Forums Blogs Codeplex Support Self support Programs BizSpark (for startups) Microsoft Imagine (for students) United States (English) Newsletter Privacy & cookies The commented code block begins at line 175. Stay logged in Sign in Register Our Umbraco Forum Projects Documentation Download Contribute Sign in / Register Our Forum Developers Razor Press Ctrl / CMD + C to copy this to