how can I edit my current sublime text 2 theme? - sublimetext

I would like to update my current SB2 theme Sunburst so that the current line highlight is a little brighter but I'm not sure how to do this. I know the following code has to be added but I don't know how to access the theme files:
<key>lineHighlight</key>
<string>#hexcolor</string>
Can anyone advise on how this can be achieved?

On Windows XP, they are in XML .tmTheme files in
C:\Documents and Settings\myusername\Application Data\Sublime Text 2\Packages\Color Scheme - Default\
On Vista/7/8/10 it will be in:
C:\Users\myusername\AppData\Roaming\Sublime Text 2\Packages\Color Scheme - Default\

You can try out Color Scheme Editor plugin for ST which will help you to edit the current theme that you're using.
Even more, it will automatically show you what theme is being applied in your current position (that is real handy); you can then make the change in theme-file, save, and you will instantly see the result.

Related

How to change forecolor of VisualStudio popup/quick info tips?

I cannot seem to figure out which of the 6 jillion settings in Fonts and Colors affects popup tips, such as the definition of a function. I need to either darken the background and/or some of the text, being as it is currently unreadable.
I've tried fiddling with every setting that seems like it might possibly be it, but can't find it.
Can someone please tell me the name of the setting I need to change the color for?
I think you are looking for: Editor Tooltip option in Show settings for:.
Updated after OP's comment:
To update the Background color, you could choose Environment under Show setting for: and adjust ToolTip option from the Display items: option.

What's the name of the bar below the Property grid in VS?

I'm using the Visual Studio Color Theme Editor extension to help darken up VS2010, found a nice theme that I like however I've got one big problem with it.
On the Property sheet, at the bottom where it says the name of the property and a sort description this theme I'm using is impossible to read; Black on a dark grey background. Unfortunately, I don't know what this specific segment of the Property window is called to change it.
You can not change the text color with the extension.
To figure that out, copy FFFFFF, select all line in the theme editor configuration pane (with Shift), press Ctrl+V (yes, you can do that, pretty neat !) and hit apply : everything that can be themed will then appear white. The text however, will stay black.
You can hopefully change the background color : It's called ToolWindowBackground. It will affect all tool windows of course. There's no specific item for this window in particular.

How to tweak a Sublime Text 2 theme?

I love the Sublime Text's Monokai theme. Except for one thing: it is difficult to distinguish the active tab from inactive. So I want to make the inactive tab a bit lighter.
I've looked through Monokai.tmTheme file and don't really know what to change (or even if it's the right file).
So, how do I change the background color of the Inactive Tab?
I found the answer. Go to C:\Users\{user}\AppData\Roaming\Sublime Text 2\Packages\Theme - Default\Default.sublime-theme
Go to line 529 and mess with the last number in the tint_modifier key, until your find the color pleasing.

How to disable seemingly random syntax higlight in Notepad++

Can anyone suggest:
Why does it higlight like this? I don't seem to do anything to activate it:
How to disable it?
This is old, but I ran into the same problem and just figured out an easy fix.
From the file menu: Language > N > Normal Text
I'm not sure if this is the same issue as mine, but I wanted to keep the language setting enabled but remove the highlighting.
I did this by going to Settings --> Preferences --> Highlghting
Removed the Enable check mark for Highlight Matching Tags.
1) Go to settings -> Style Configurator.
2) Select the language that Notepad++ has chosen, usually based on filename extension. You can also change this manually under the Language menu setting.
3) Go through the Styles until you find the style that applied the highlighting. You can tell because the Background colour will match the highlighted color.
4) Change Background colour to white.
I do not have an answer for your first question
For your second question do the following steps
Inside Notepad++ press ctrl A( select all)
Right click for context menu.
select Remove style and click on Clear all Styles
This will clear all the highlights.
FYI. You may also see this sort of behavior when using a vertical edge in background mode. Switching to line mode will eliminate the highlighting of lines that run over the set character count for the vertical edge.

Sublime Text 2: How do I change the color that the row number is highlighted?

As the subject says, I want to change to something other than the very light grey as shown below (line 319). I have a hard time seeing that, especially when doing a 'find in files' command.
The easy way: Pick an alternative Color Scheme:
Preferences > Color Scheme > ...pick one
The more complicated way: Edit the current color scheme file:
Preferences > Browse Packages > Color Scheme - Default > ... edit the Color Scheme file you are using:
Looking at the structure of the XML, drill down into dict > settings > settings > dict >
Look for the key (or add it if it's missing): lineHighlight. Add a string with an #RRGGBB or #RRGGBBAA format.
On windows 7, find
C:\Users\Simion\AppData\Roaming\Sublime Text 2\Packages\Color Scheme - Default
Find your color scheme file, open it, and find lineHighlight.
Ex:
<key>lineHighlight</key>
<string>#ccc</string>
replace #ccc with your preferred background color.
tmtheme-editor.herokuapp.com seems pretty nice.
On the mac, the default theme files are in ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Color\ Scheme\ -\ Default
On Win7, the default theme files are in %appdata%\Sublime Text 2\Packages\Color Scheme - Default
For Sublime Text 3, all I had to do was add "highlight_line": true to my user settings file: Preferences -> Settings - User. It was only once that preference was set that all the color scheme lineHighlight settings took effect.
Hopefully this will save someone else some of this same flailing about.
This post is for Sublime 3.
I just installed Sublime 3, the 64 bit version, on Ubuntu 14.04.
I can't tell the difference between this version and Sublime 2 as far as user interface.
The reason I didn't go with Sublime 2 is that it gives an annoying "GLib critical" error messages.
Anyways - previous posts mentioned the file
/sublime_text_3/Packages/Color\ Scheme\ -\ Default.sublime-package
I wanted to give two tips here with respect to this file in Sublime 3:
You can edit it with pico and use ^W to search the theme name. The first search
result will bring you to an XML style entry where you can change the values. Make a copy
before you experiment.
If you choose the theme in the sublime menu (under Preferences/Color Scheme) before you change this file, then the changes will be cached and your change will not take effect. So delete the cached version and restart sublime for the changes to take effect. The cached version is at
~/.config/sublime-text-3/Cache/Color Scheme - Default/
If you have SublimeLinter installed, your theme (at least it ST3) may end up in .../Packages/User/SublimeLinter/[ your-chosen-theme ]
As mentioned above - find the nested 'settings' dict and edit or add the 'lineHighlight' entry with your desired #RRGGBB or #RRGGBBAA. I like #0000AA99 when on a black(ish) background.
Handy tool if you do not know your color combinations: RGBtoHEX and HEXtoRGB

Resources