I have installed CLion and custom configured a dark theme to make staring at the screen for long hours easier on the eyes. I was able to change every color for the C++ syntax configuration, but the color options for CMake are non-existent, and CMakes default colors are a very dark olive that requires me to strain my eyes to read. CMake shows up in code styles for changing tabbing, spacing, etc, but I cannot find color options anywhere in the settings menu.
Anyone in here that is a CLion user that can point me in the right direction?
Heres a screenshot of the CMake colors, prepare to squint
http://puu.sh/nxwtf/bd0625f791.png
Yes, that functionality is missing.
Please, vote for issue!
I managed to make the file readable by changing the setting at Editor - Language Defaults - Identifiers - Default. I guess that isn't specific to CMakeLists.txt.
Related
I'm not sure how I got this, maybe via some extension that was installed on my VS Code, but I need to disable this.
There is currently no setting to disable/hide these "squiggly lines". VS Code indicates them as errors or "Problems" with your code, and it's always recommended to address the problems rather than to hide them.
But there are workarounds.
Change the color
You can customize the color to make it transparent:
"workbench.colorCustomizations": {
"editorError.foreground": "#00000000",
}
You can also customize it so that it looks like the editor background.
"workbench.colorCustomizations": {
"editor.background": "#282a36",
"editorError.foreground": "#282a36",
}
If you are using a theme, you can get the theme's current value for editor.background by opening the command palette, then selecting "Developer: Generate Color Theme from Current Settings", which will open a JSON file containing all the theme colors. Look for editor.background.
You could also set it to something that isn't as striking as bright red.
Note that this way just hides the "squiggly lines". The errors will still show up in the Problems panel and when you hover your mouse over the line.
Disable Python linting
For Python, if you look at the Problems tab, the error is actually raised by the Python Linters that come with VS Code and the Python extension. In my case, I'm using pylint.
You could disable these linters by calling the Python: Enable Linting command command and setting it to off, or by putting this in your settings.json:
"python.linting.enabled": false,
Note that this way not just hides the red squiggly lines, but stops linting altogether, so you also won't see anything in the Problems panel.
This is harmful to the development process as it stops checking for "syntactical and stylistic problems in your Python source code, which oftentimes helps you identify and correct subtle programming errors or unconventional coding practices that can lead to errors.".
I don't recommend doing this.
I have just downloaded WebStorm 2016.1 for Mac OS X. I would like to configure my editor fonts and colorus.
I understand that you must save the scheme before it becomes editable. This I have done:
but the options still remain unavailable.
Is this a limitation of the trial or something? What have I missed? I have applied the style, and have even closed down WebStorm and re-opened.
If certain style (e.g. "Doc comment" on your screenshot) has Use inherited attributes option checked .. then it re-uses colors from parent option (which is displayed just below it).
The solution is simple:
either edit parent style
or uncheck that Use inherited attributes option and edit your colors here
P.S.
Trial version has NO limitation in functionality.
I find the dark theme much easier to concentrate in, but I think I mucked something up a while ago and it turned the dark theme text editor into a monstrosity:
I tried clicking reset to defaults in this menu:
But it appears that that menu does not control this specific part because it did not change it back (Or god forbid it's supposed to look like this)
Does anyone know the solution for this?
It looks like you have an extension installed that is providing that coloring. Go to Tools->Extensions and Updates and check if there's anything about alternating line colors (perhaps this extension), and disable or uninstall it.
Very new to VIM so any explanation on how to configure would be very appreciated.
Find one here that is close to Visual Studio.
Download it and put colorscheme foo in your .vimrc (_vimrc on Windows) where foo is the name of the colorscheme.
My "Bandit" colour scheme was originally based on the highlighting from Visual Studio (version 6 I think) and Matlab. It's probably not a perfect match, but it may be of interest.
It's available here and, in case the screenshot below doesn't work, there's a screenshot here. Note that you'll need to do:
set background=light
before configuring the colour scheme as otherwise it will default to a dark background.
You need to search in the different color schemes. I don't know if there's one who is the same as in Visual Studio, but maybe you'll find a better one. :)
Type a little piece of code, then :colorscheme, a space, and press Tab to see every colorscheme.
You can download new colorschemes here : http://www.vim.org/search.php
The "VC" color scheme (found here) is very close to looking like the default Visual Studio color scheme.
I use a custom color scheme in Visual Studio (black background, gray text, etc.). There a few settings that refuse to change, however. For example, when cursoring through the markup for an aspx page, the current tag defaults to black text, which doesn't work well on my black background. I've previously changed the appropriate setting to a "visible" color. In fact, to fix it, all I have to do is open the Options window, check and uncheck the Bold setting on Plain Text and hit OK, and now all my chosen settings are properly loaded. If I open a new session though, I have to go through these steps again. There are only a few settings where I notice this behavior (the Read-Only Region is another one), but it's annoying to have to do a dummy option change to get them to kick in. Has anyone seen this behavior before, and does anyone have a fix/workaround?
UPDATE: Found an interesting fix. I still don't know what the root cause is (probably some corruption as #sliderhouserules suggessts), but I've got a quicker way to fix it than using Tools | Options | Fonts and Colors. I simply exported my current color settings and created a macro to load them in:
Public Sub ImportColors()
DTE.ExecuteCommand("Tools.ImportandExportSettings", "-import:""C:\Documents and Settings\gregf\My Documents\Visual Studio 2008\Settings\FontsAnColors_Exported-2008-12-05.vssettings""")
End Sub
I then mapped that macro to a button on my toolbar. Now I have a one-click fix whenever my colors go awry. Not ideal, but much less painful now.
Sounds to me like you may have some corruption in your VS install or something (IE you need to reinstall VS). This doesn't sound like a bug, and you'd be fishing in the dark trying to repair your registry or whatever config files are involved in setting and storing these options for VS.