Is there a way to make comments looks different in Sublime 3? - comments

I'd like to add some coloring to my comments so it's easier to find, or be able to group my comments by color so I know what comments are related to what process? From what I looked for, I couldn't find any specific packages.

you do this by going in to preference tab -> color scheme you can simply use predefined color scheme or you can also create your own

Related

What system color to use to highlight required fields in delphi/windows

a bit background
I am currently using the clHighlight color together with a StyleServices.GetSystemColor call to set the background color of controls that are:
not focused
have a NULL value (field.IsNull=True)
and are about a required field (field.required=True)
Its not about how to do the highlighting itself, I figured that out already.
Currently I am using system color clHighlight, but this makes confuses my users as they think the entire contents of the field is selected (see screenshot).
But I also have style support implemented, so using a custom predefined color is not really what I am looking for. after googling a bit I found quite a list here https://learn.microsoft.com/en-us/dotnet/api/system.windows.systemcolors?view=netframework-4.7.2 but I am unable to find what I am looking for.
Using RAD studio Rio 10.3.1 Enterprise.
The actual question
So - what system color should I use? (not really looking for subjective suggestions, but for a more or less "officially recommended" constant to use.)
a screenshot
Answer: There is no more or less system color constant defined for this specific purpose.
Solution/workaround:
Thanks all for the suggestions. I decided to go for the clInfoBk constant (background color for hint windows), this looks far less confusing. One could interpret the color as a "hint" for fields that need to be filled out.
And it looks like this, in the default color scheme:

Set Different Terminal Background for Each Directory

I seem to recall stumbling across an article on zsh about how it was possible to have different themes (or presumably, different theme settings, for different directories). In other words, you'd be able to do things like set the background color of the terminal to be blue for one directory, black for another, etc. I couldn't find the original article or anything matching what I had in mind.
Is this something that can be done?
I suggest using LS_COLORS, you can select highlighting, emboldening and different colours very quickly and easily.
heres a great tutorial on how to do that;
https://www.howtogeek.com/307899/how-to-change-the-colors-of-directories-and-files-in-the-ls-command/
It is also possible to edit the bash_profiles. script line;
export BASH_IT_THEME="whichever theme you have"
And insert a downloaded theme but this would be for your whole system (as far as I know)

100% exact Espresso theme for Sublime Text?

As the title says I'd like to have my Sublime Text 3 with Espresso's default theme.
I know there's Soda which is a really similar one but I need that specific color scheme instead of Soda's. I've searched around on Google and there's only modified personal versions but I wonder if there's something "official" in the sense that it's looking exactly as the original Espresso color scheme.
Also, is there something that replicates Deamweaver's scheme? This one's for a friend who's starting out and having some difficulties adapting to another color scheme.
If you can't find a color scheme there is a nice tm-theme editor to build your own scheme: http://tmtheme-editor.herokuapp.com/#!/editor/theme/Monokai%20Extended%20Mod

Change the input and output font/size/color in the terminal?

Tried searching, but couldn't find what I was looking for. Perhaps, my wording. Anyway:
What I basically want to do is make it easier for me to differentiate my input and the output in the terminal. Both colors font style look the same in my terminal.
Thanks
I think you'll want to use ANSI escape codes in your output. That wikipedia link provides a good introduction.
I managed to find something similar to what I was looking for: http://snag.gy/P9BvM.jpg
I wanted to change the command color as well but couldn't find that one. Anyway: https://help.ubuntu.com/community/CustomizingBashPrompt
I will see if I can modify the input color, which would be awesome.

I'm working on a Pro*C syntax highlighting file for Sublime Text 2

Is there any way to include the color highlighting rules in the tmLanguage file itself?
For those who aren't familiar with it, Pro*C is sort of this mutant hybrid love-child of SQL and C, and both syntaxes are present in the file. However, there are a few Pro*C specific keyword which start or stop a big long block of SQL inside of one.
What I would like to do, is have the Pro*C keywords be different colors than the C/SQL keywords, and for the SQL blocks to have a different background color, so that they stand out. In none of the common themes are there appropriate scopes to use for this, not that I can tell. So I can't just call the Pro*C keywords "keyword.source.some-differently-colored language" (they should really be keyword.source.pro-c anyway) or the blocks "text.whatever.another-color" (using meta.block.pro-c right now).
It would be useful if I could just include the colors for these elements in the same plist that defines the syntax. Is this possible in Sublime? What's the correct way to do this?
As far as I understand it, you would have to modify the color scheme file to support what you want. Bundling the colors as part of the tmLanguage file doesn't make sense anyways. By doing that, you would basically be saying every user has to use your predefined colors, which I could imagine people wouldn't like. For example, let's say I have a white background, and you decide to make the text color white. It would look like there is nothing there.
I think the best route is to include sample "extension" of the color scheme file. Then allow the users to modify it themselves as they see fit. This would also let you use the standard naming conventions, so if they don't apply any new scopes, everything still looks okay. Of course, they can specify a more detailed scope in the scheme file to apply the proper text color/background.
What I think would be nice was if there was some way to simply extend a color scheme from a separate file, rather than needing to modify the original. Though that doesn't exist.

Resources