Sysprogs forums › Forums › VisualGDB › Highlight issues in Visual Studio's Dark Theme
- This topic has 8 replies, 3 voices, and was last updated 8 years, 1 month ago by support.
-
AuthorPosts
-
October 6, 2016 at 17:17 #9225borbmizzetParticipant
I’m using VisualGDB v5.2b2, with VS2015 Community with the Dark theme and I’m still getting random things highlighted in very bright grey (after and/or while modifying them) making them virtually unreadable without selecting them, and they wont unhighlight without messing around a bunch or closing and reopening the file. For instance, After changing a #define from “#define FOO” to “#define BAR”, BAR highlights in almost white, with the little lightbulb button popping up “Rename ‘FOO’ to ‘BAR’ with preview” and “Rename ‘FOO’ to ‘BAR'”, both of which result in a Clang Intellisense Error “Cannot get IVsTextLines object”. That doesn’t go away as long as the highlighting is there. It also sometimes happens with member function declarations and/or parameters
October 6, 2016 at 17:37 #9226borbmizzetParticipantThe annoying highlighting also highlights function declarations with no implimentation. Figured I’d mention that too.
October 6, 2016 at 17:52 #9227borbmizzetParticipantThe same thing as the first post happened in the following sequence:
copy “void bar(int a)” from declaration of class Foo in Foo.h into Foo.cpp
paste “Foo::” before bar in Foo.cpp
then the annoying highlighting happens and the lightbulb thing shows up again, but the options are “Rename ‘bar’ to ‘Foo with preview'” and “Rename ‘bar’ to ‘Foo'” both of which clicking results in Clang Intellisense error “Entity name mismatch: ‘Foo::bar’ != ‘Foo'”
October 6, 2016 at 18:31 #9228sidpriceParticipantI can confirm I see similar issues, thanks for reproducing it “borbmizzet”.
Sid
October 7, 2016 at 04:01 #9231supportKeymasterHi,
Please try resetting the Visual Studio fonts & colors cache by deleting the HKCU\Software\Microsoft\VisualStudio\14.0\FontsAndColors\Cache key.
This should force VS to reload the correct colors.
October 7, 2016 at 21:29 #9240borbmizzetParticipantI did that, but it still happens on occasion, such as after renaming and changing the type of row from “std::list<T>::iterator iter = thelist.begin();” to “uint8_t row = 0;”
in the following statement
for (uint8_t row = 0; row < size; row++);
in “uint8_t row = 0;” “row” still has that annoying highlighting and the same “Rename ‘iter’ to ‘row’ messages” in the lightbulb.
Now that I think of it, its almost always after I rename something or do a paste-replace;
- This reply was modified 8 years, 1 month ago by borbmizzet.
October 8, 2016 at 04:21 #9243supportKeymasterHi,
Perhaps this is a different issue? Could you please attach a screenshot so that we could see if this can be reproduced?
October 10, 2016 at 18:40 #9257borbmizzetParticipantsome examples (but not the only ones):
https://drive.google.com/file/d/0B2kTpYajn6r_MHJQcDM4cnJ5YlE/view?usp=sharing
https://drive.google.com/file/d/0B2kTpYajn6r_NWpIVXhuZ2ZQMlE/view?usp=sharing
October 10, 2016 at 22:25 #9259supportKeymasterHi,
Sorry, this is a separate issue. The color for renaming suggestions is currently set regardless of the color theme.
The workaround is very straight-forward: please change it via Tools->Options->Fonts and Colors->Text Editor->Refactoring Suggestion.
-
AuthorPosts
- You must be logged in to reply to this topic.