Change open folder tab background color for sublime text - sublimetext

VS code has an option to set sidebar border colour for open/selected folder (e.g https://prnt.sc/1piFyk7lpjp8). How can the same be set in Sublime Text?

Related

How to change display font in xcode 7.0.1

Typically I can change display font by taking these steps: open xcode -> preferences -> Fonts & Colors -> Choose font.
In choosing font page, it has four tabs named: Collection, Family, Typeface and Size. In 'Collection' tab I can choose monospace font.
My question is: After updating to xcode 7.0.1, the Collection tab is disappear, so I can't choose a monospace font.
PS:When I'm dragging the bounds to resize the window, the collection tab will appear. Once I loose the drag action then the collection tab disappear again.
Thanks for any help, even a little hint is OK.
I solved this problem by adding a new theme in "font & color" page, for example duplicate 'default' and name it 'hello'.
Then open folder '/Users/YOURUSERNAME/Library/Developer/Xcode/UserData/FontAndColorThemes'. You can see a file named 'hello.dvtcolortheme'.
Edit this file to change the font.

How do I edit the Solarized (Light) theme in Sublime Text 3

I am trying to edit some of the syntax colours in Sublime Text 3. I'm using the Solarized (Light) built in colour scheme but I only want to change a few of the colours. Where is the settings file (on a Mac)?
I have managed to find a solution:
Go to http://tmtheme-editor.herokuapp.com (someone has built a web-based theme editor). Once you have tweaked the colour syntax you can download the themename.tmTheme file. Move that file to /Users/username/Library/Application Support/Sublime Text 3/Packages/ User/ (if you are on a Mac).
Load in the syntax theme from the top menu: Sublime Text > Preferences > Color Scheme > themename.
If you want to tweak you syntax further up can upload the custom theme back in the web-based theme editor and save it out again.
Hope this helps someone else.
I'd recommend using PackageResourceViewer to open the file. You could make your modifications there, and it would save in the proper location to override the built in files. However, I would recommend copying the contents of the file and creating a custom version in your User folder. That way, you can easily move it around and modify it without worrying about the built in color schemes.
The default color scheme files are located in Color Schemes - Default.sublime-package. In ST2, this was extracted to Packages/Color Scheme - Default. PackageResourceViewer will display these folders (as they would normally appear in the Packages folder in ST2. You could navigate to your color scheme from that.
This should be much easier than it is
I used parts of all the other answers to make this work.
Important notes before you begin:
1. I had used this menu item to select a colour scheme: Sublime Text > Preferences > Color Scheme
2. I chose "Monokai.tmTheme"
3. Therefore the file you need containing the colours is: Monokai.tmTheme
4. You will NOT have easy access to that file yet!!
Overall Steps:
The overall steps I found to work are:
1. Get a copy of the Monokai.tmTheme text file
2. Place it in your "/Users/XXX/Library/Application Support/Sublime Text 3/Packages/User" directory
(replace XXX with your username)
3. Again use this menu: Sublime Text > Preferences > Color Scheme
4. Choose the new entry "Monokai - User"
5. Any changes to your Monokai.tmTheme file will immediately be seen by Sublime Text
Getting the Monokai.tmTheme text file :
This is the tricky part.
You have two options
Option A. Use PackageResourceViewer to open the resource:
A1. Tools -> Command Palette
A2. Type "PackageResourceViewer"
A3. Choose "PackageResourceViewer: Open Resource"
A4. Navigate to "Color Scheme - Default"
A5. Navigate to "Monokai.tmTheme"
A6. This will open the contents of the file but it is NOT a real file on your disk! You must copy the contents into a new text document and save it into "/Users/XXX/Library/Application Support/Sublime Text 3/Packages/User/Monokai.tmTheme" as above
Option B. Use the web app to create your .tmTheme file:
B1. Goto http://tmtheme-editor.herokuapp.com
B2. Edit the colours
B3. Download the .tmTheme file
B4. Put it into "/Users/XXX/Library/Application Support/Sublime Text 3/Packages/User/Monokai.tmTheme" as above
Editing is way simpler than advices above.
Go to Sublime installation folder, find there Packages subfolder.
Open Color Scheme - Default.sublime-package as a zip archive (I use Total Commander and Ctrl+PgDn keys).
Find there any scheme you like *.tmTheme, copy to HDD and edit with any XML editor.
Pack modified file back (with Total Commander just copy file to opened archive).
Sublime version, OS & OS version independent way:
In Sublime, at the top menu bar goto "Sublime Text 2/3" -> Preferences -> "Browse Packages...".
This will open the "Packages" folder correctlin Finder/FileExplorer/Nautilus/... depending on OS/version-of-OS.
Find your theme and edit away..
Source
As of May 2018 using Sublime Text 3:
I followed the Overall Steps and Option A. from #davidfrancis with great success to customize the Mariana color scheme.
However, I had to change the file extension from <name>.tmTheme to <name>.sublime-color-scheme. Also, the filename can be anything you want (don't need to keep the default), and it will appear under Preferences > Color Scheme.

Can't find VS2010 setting in custom fonts and colours for numerics in .sql files

In Visual Studio 2010, does anyone know how to change the custom font colour for numeric characters in .sql files? Here is an example of the problem I have:
and
Black characters against my dark brown background aren't the easiest on the eye.
I've been through every single "Display Item" in the Fonts and Colors options have have failed to locate the setting that controls this colour.
If you go to Tools > Options > Environment > Fonts and Colors. Look for "Identifier" under Text Editor. It hopefully will allow you to change the color.
Link to what I found

Change font size of comments in visual studio 2010

Is there any way of having a different font size just for the comments in Visual Studio 2010, without the use of any third party tools?
To change the default font face, size, and colors
Select Options from the Tools menu, and in the Environment folder, select Fonts and Colors.
The Fonts and Colors, Environment, Options Dialog Box opens.
In Show settings for, select Text Editor.
Modify the Font and Size options to change the font face and size for all text elements in all editors.
Select the appropriate item in Display items, and then modify the Item foreground and Item background options.
Click OK
The font size is global in VS2010.
You may want to look at this extension however:
http://visualstudiogallery.msdn.microsoft.com/17c68951-7743-40bd-ad35-608706f54a92

Opening files in Xcode editing pane

When I first started to work with Xcode, single clicking on a file name in the Groups&Files pane would open that file up for editing in the embedded editing pane. Double clicking the file would open it up in a new window for editing.
Now, single clicking the file does nothing. Double clicking the file will open it up in a new window as before.
How can I set xcode to open up the file in the embedded editing pane by single clicking the file name in the Groups&Files pane?
In Xcode 3.x, make sure you're using the Default or All-in-one layout--not Condensed. If the editor pane is not visible, it might be shrunk down to the bottom of the window. Look for a small gray dot at the bottom and double-click it. The editor pane should then expand up.

Resources