I work on 3 different repositories at the same time and I want to have a sublime project for each with the same theme except with different tab colors so I can quickly identify which is which. I am trying to use darkside-contrast from Dayle Color Schemes.
I opened up the darkside-contrast.tmTheme and it is an xml and I tried editing all of the colors but cannot figure out which one controls the tab colors.
I see that there are some settings like sheet_container_control that may be useful, but I am not sure what to do with this or where I can find a full list of parameters in a sublime theme. Do I edit the tmTheme xml or do I need some sort of JSON file to specify tab color? Can I use the sublime-project file to specify this for each project?
I would also like to shrink the tab heights. Any pointers would be great. Thanks
For project multitasking, I'd suggest you simply add each project folder on a separate sublime window sidebar and switch between them. This way each indexed project will be a breeze to browse through (CTRL+T or CMD+T on mac) without any unwanted files from other projects.
Related topic if you wish to check (it's not limited to just Monokai theme but also shows how to create your own theme file with the specific setting you wish to tweak): How to change Sublime Text 2 selected tab color
For reduced tab height, you could use Afterglow's theme small tabs JSON settings (biggest size is set by default, add a comma at the end of true if more settings are listed):
{
"tabs_small": true
}
Related
Given some Tabs in a Godot TabContainer, I'd like to resize the actual Tab-elements (not the container they're a part of.
Given that so many things are customizable, it seems like these would be too, but so far I haven't found how. The question How to resize a Tab, sounded promising, but the "Custom Style" that it referred to, doesn't seem to exist - or at least didn't appear in a help-search.
Update: The given answer got me closer. There's a lot of variables, it's definitely not production-ready, but it does at least, appear possible to modify the size of Tabs. And just realized that one of the variables is Content-Margin, I had edited just Margin, to create this picture.
You have to learn about themes in Godot to resize your elements.
In the editor select the TabContainer, in the Inspector search the Theme property, and in the Theme variable below you can load a theme or create a new one for your project.
If you create a new theme there will be a file with a extension ".tres". Double click on that file to edit the aspect of different elements for your project.
I will try to add more detail. If you edit your theme file ( .tres), with the Type: TabContainer, you can override the multiple StyleBox of the Tab. I tried with the tab_fg, click on the plus sign, later in [Empty], New StyleBoxFlat, click on the new StyleBox Flat created in the field, and edit it in the Inspector. Edit the Expand Margin values, and also the Content Margin values.
You can also increase the font size, overriding the font with a New Dynamic Font, selecting it and editting it in the Inspector, in settings-> Size.
You can find further info in the UI tutorials section on GUI skinning
Something strange happened to me recently. I was testing the color schemes of Sublime Text 3 by selecting them from the menu Sublime Text > Preferences > Color Scheme. I did not find any that I liked more than my current one, but then I realized that the one I was using was not among the color schemes listed. Unfortunately I do not remember the name of the color scheme I was using.
By searching for popular color schemes online, I found one that is close: "Afterglow-twilight". However, the scheme I was using had much higher contrast, i.e. darker background and more vivid code highlight colors.
Is there a way in Sublime Text 3 to recover the color scheme I was using?
The color scheme that you're using is set as the color_scheme setting in your user preferences and the menu item Preferences > Color Scheme (which is under Sublime Text if you're on MacOS) allows you to more easily set that preference by showing you a list of all all most available color schemes along with letting you preview what they look like.
The short answer to your question is No, but the longer answer to your question is Yes.
The No is because unless you have your Preferences.sublime-settings file backed up somewhere (say if you use Dropbox to sync it) or under version control of some sort, then the value of the setting is gone now and the only way to get it back is to figure out what color scheme you were using so that you can reset it.
The Yes is because Sublime will only allow you to use color schemes that you have installed locally, and using the menu item outlined above allows you to pick between those you have installed (changing the setting as appropriate) but it doesn't remove any installed color schemes.
That means that unless you uninstalled a package in between when you were playing and noticed that your color scheme is no longer listed, that color scheme is still present even if the list isn't displaying it (and if you did uninstall a package, re-installing the package will bring it back). So all you need to do is figure out what it was.
There's a strikethrough in the first paragraph because Sublime hides some color schemes from you, so if you were using one of those it won't appear in the list and you need other means to find it.
The first thing to try is to add the following setting to your user settings (if it's not already there) to tell Sublime that legacy color schemes should also be listed:
"show_legacy_color_schemes": true,
Around the time the menu item for changing color schemes was added to the interface, some of the color schemes that used to ship with Sublime were relegated to Legacy status because they were wildly out of date and either not popular enough to warrant work to update them or impossible to fix without making visual changes.
Those color schemes are still present, but they're masked from the list of displayed color schemes unless you turn that setting on. So, in the case that you happened to be using one of those previously, this setting should let you find it again. Syntaxes that fall into this category will say Color Scheme - Legacy under them in the list.
If that doesn't turn up the color scheme that you were using, there is one last avenue of exploration. Sublime supports the idea of a hidden color scheme, which is generally something used by packages to give color schemes to things without more generally exposing them. Possibly there is a Theme out there for Sublime that distributes it's color schemes this way as well.
If you open the Sublime console with View > Show Console, you can enter the following lines one at a time into the input at the bottom of the window:
sublime.find_resources("*.hidden-tmTheme")
sublime.find_resources("*.hidden-color-scheme")
This will get Sublime to show you a list of all of the hidden color schemes (there are two different formats). Assuming either list is not empty, the items in the list represent hidden color schemes that the command mentioned above doesn't display.
If so, you can open your user preferences and manually set the color_scheme setting to each of the items in turn to see if one of them is the one you're looking for.
I want to change the font of the search bar and also the results there, because I can't see it clearly
I saw your question still hanging so I installed Sublime on Debian to try to configure it.
First of all, you can read how to customize Sublime at here. And the part of interface you want to configure is called quick_panel, specifically class quick_panel_label.
At the end of theme configuration page, there is an example of customization file.
I don't know what theme are you using, but if you are using Default theme, you should create new file called Default.sublime-theme and place it in Packages/User/. You can quickly find that path by menu of sublime, Preferences -> Browse packages... .
Content of Default.sublime-theme should be:
[
{
"class": "quick_panel_label",
"font.size": 25
}
]
where font.size represent font size of menu you are trying to customize.
P.S.
If you don't know the name of the file your theme is using, from menu choose Preferences -> Theme... and all themes should be listed with their .sublime-theme file.
For example, I customized Arc Dark theme.
I hope this works for you.
I need to view an icon.ttf (svg,woff,eot,whatever) font file. I do NOT want to create CSS to do this. There are hundreds of icons and I need to look at them quickly. Is there anything I can use to open the font file?
The only responses are along this vein: If I have a generated icon-font as TTF, can I tell which CSS content-property belongs to which character? and include CSS - that is NOT what I am looking for. I want to preview the file NOT through manual entry using CSS (or SASS, etc).
I am assuming this cannot be done since I havent found a decent answer. If you have the knowledge for how to preview an icon font, please share!!
You could use the Character Map tool in Windows. Just select the icon font and you can preview the entire list as well as the corresponding css codes.
I would like my caret in sublime text 3 to have a custom hex color attached to it so it is easier to see. Is there a plug in that I can download to achieve this feature or do I haft to edit the theme file? If I need to edit the theme file how should I do that and achieve a successful result.
SublimeText theme files are XML, so you can just find and edit the following chunk
<key>caret</key>
<string>#FFFFFF</string> # change this to the color you want
Otherwise, if you prefer a more GUI approach you can have a look at TMTheme Editor