I am writing scripts and I need to separate actual text from comments by color.
For example the code is in black, and the comments are in red.
**writeln('this one should be BLACK');**
*this is a commentary, which should be RED*
Is there any software which would allow me to type text and switch current typing color by a matter of pressing a key? for example CAPSLOCK .. ?
Best Answer
What you are looking for are Color Schemes, which automatically set the text color based on the context. Sublime supports them out of the box, see https://docs.sublimetext.io/guide/customization/color_schemes.html and https://www.sublimetext.com/docs/3/color_schemes.html.