I recently installed SSMS 2016 and when I opened some code I have saved it looked a little strange. Then I noticed that a lot of keywords were not the right color. I figured out that all System Functions were not being colored correctly in the text editor. I did some digging but nothing I tried worked. I eventually went to try and manually set the color of the system functions by going Tools-->Options-->Environment-->Fonts and Colors. I could not find "SQL- System Functions" anywhere. Actually all of the list options that start with "SQL" were not available. I took a screenshot of the menu for reference.
Does anyone know how to fix this? the functions still work but its driving me nuts.Missing Font and Color option
Related
I have enabled the 'Dark Theme' on SQL Server 2017. It is all great, but when I right click in my Object Explorer on a task or something, it is too dark to read. Does anyone know how to change this? See screenshot for what I mean.
I've gone through tools -> environment -> fonts and colors and tried to find where these settings would be, but I'm sure what this element is called.
SSMS Dark Theme is still technically under development and not complete, to enable it you have to do a workaround in the first place modifying text files and uncommenting out some value (I forget the exact file). This is the best you get, unfortunately.
Gurus...
When building my app in VB 2010, I have always been accustomed to the debug output window that, if any errors were present, the errors and warnings would be in color (yellow, red, etc) and I could actually click on the error in the output window and it would take me to that part of my code that had the problem.
Then, for some unknown reason, that output window just vanished and doesn't show up anymore.
I have searched the forums, but all I see is people telling other people to just go to Tools/Options/Debugging/General and enable to output window. The problem is that this is NOT the same output Window that vanished on me. This only enables a basic no-frills text window with no intuitive links or color coding like the original. Going into Projects and Solutions/Build and Run and setting output options in there only change the amount and complexity of plain text in the same output window, so again, the problem remains.
Anybody in here know how to restore the original build debug window that VS 2010 (VB) uses as default upon installation? I have a feeling the solution is embarrassingly simple, but I still haven't come across it yet. I still don't even know how it disappeared on me in the first place, and I really miss it.
The plus / minus signs are gone to expand / collapse regions. The vertical lines to indicate regions are gone too.
The regions are collapsing and all the commands under edit, outlining work fine.
It's just I have to double click on the collapsed region to expand and there's no way to collapse a region with the mouse. Only the shortcut keys (ctrl m, m) or the menu will do it.
I swear it was right this morning but I did something to mess it up. I can't find any option in tools to fix it either.
UPDATE
Now, some files are doing this and other files (both opened at same time) are not doing it. If anyone can explain, I'm all ears.
Press ctrl+, (control plus semicolon) to open the settings. And type Folding Strategy in the setting's search bar. It is set to auto by default. You can set it to always for the controls to be visible at all times, otherwise, it shows only on mouse over.
This same thing happens to me multiple times a day using VS.NET 2015 Pro version 14.0.24720.00 Update 1. Restarting the IDE always restores normal function for a while but the problem always returns, seemingly at random.
UPDATE:
I tried changing the theme from dark to blue and it restored the outlining. I then changed back to dark from blue and the outlining continued to work normally. Still a pain but definitely a lot faster than restarting the IDE.
It happened with me also. One file was just fine and other file (js) was not. I searched it a lot.
Try selecting a method/if check etc and press ctrl+M+H which is short cut for right click outlining > Hide Selection.
You can do it on the whole document as well.
This might be helpful when working on a file which has too much code in it and you are going through different functions again and again. It is painful with scrolling mouse for so long.
You can use short cut for for moving at the start of the method or at the end of the method with the following :
select parenthesis { start or end } and press ctrl+}
Hope this helps.
It works again.
I closed all windows and reopened my code file.
Now it shows the plus minus glyphs again.
I know this is an old post, but I wanted to share a quick solution. if you right click and hover over 'Outlining' and then click 'Collapse to Definition', the widget comes back. Then just press [ctrl] + z to undo and continue where you left off.
With Golang, if the code has some syntactic mistakes that would prevent it from compiling, the language server cannot decide which parts of the code are collapsible, and which not.
Therefore the solution is either switching to the Folding Strategy in VSCode settings to indentation folding, or fixing the syntactic errors.
Simple solution : CTRL + M + O, then CTRL + Z
Thanks to SparrowEatsHawk
Just wondering if anyone knows the answer to this one. I am running VS2015, and some colleagues are running VS2013. We are all running our code through TFS for source-control, and we encounter this issue quite a bit.
When we open a form or a control, not even modifying it, then close it, it will completely restructure the *.Designer.vb file, but not modify any data (at worst, it's simply put the upper casing of True/False to true/false).
This proves an issue as we are becoming increasingly wary of working on the same forms as one another.
Does anyone know a potential fix to this, or if this is a bug of sorts?
Thanks!
The VB code use PascalCased keywords.Even though you write the keywords in lower case and VS would auto-casing to PascalCase.
However,there is a way to change to Lowercase Keywords:
Download Glamour from the GitHub repo.
Install it by drag/dropping the truetype font (.ttf) files in your
%SystemDrive%\Windows\Fonts folder.
Change your text editor font in the Tools > Options > Fonts & Colors
dialog to Glamour.
Select "Keyword" in the "Display Items" list and check the "Bold"
checkbox.
Finally you got this as below:
This method is referenced from Anthony D. Green's Blog. More detail: http://blogs.msdn.com/b/vbteam/archive/2015/04/02/lowercase-keywords-revisited.aspx?PageIndex=1#comments I was wondering anyone of your team are using the lowercase keywords cause this.
Recently I was using Aptana to view multiple files side by side. The unfortunate thing is that now I can not remove the editor (side by side) windows that are marked by red arrows. Also, you can obviously see that I have been trying to drag them away which is making the problem worse. I have tried to Google around but have found no solution. I can uninstall and reinstall Aptana, but if there is a fix I would rather know it and not have to go through a reinstallation process each time an issue like this arises.
Also I would like to add that I may be having trouble Googling the solution since I am not 100% sure on the name of the "editor tabs". Any help would be greatly appreciated.
My reputation is too low so here is a image link of my issue:
http://i.imgur.com/6K3Dq.png
The answer is extremely simple. If you ever run into the issue as shown in the picture above, simply open new files and drag them into the empty spaces that the extra "editor windows" are located. From there just close (x) out the window and it will remove the extra windows.