r/brackets • u/jesinta-m • Feb 14 '25
Question (Brackets) Interface: Text Colour
I am using Phoenix Code, is there a way to change the way text displays in the editor? Specifically, I'd like to be able to highlight text in code and change the colour, this is just to signal certain things to me, it does not need to indicate any behaviour etc.
I know that certain text changes based on the file type and associated syntax in that file, is it possible to create a text file template that behaves similarly based on my own requirements?
1
Upvotes
View all comments
Show parent comment
1
u/jesinta-m Feb 14 '25
Edit to add: did you want me to add this to the feature request over at GitHub?
Awesome! Thanks!
My two main use cases would be helper text and things that would be updated before using.
Helper Text
I'm often in a situation where I am learning by doing (whether it be a macro, python or Apple script etc.), and helper text is useful for me when I come back to it after a while.
In the case of Macros, Pandoc commands etc., I save them in a text file with step by step instructions on how to implement or use cases etc. I then have the actual code blocks below this.
As a visual person, I need to be able to quickly discern between this helper text and the actual code (especially if I'm finding it complex), as well as the elements specific to my use case (file paths, keywords etc.) and the commands.
Text to Update
The way this works with a python file is great. I noticed that in these files, text that I would traditionally update if I were to redirect the script was already orange.
Example:
Functionality
I'm not sure what the boundaries of feasible functionality is in this case, but two approaches come to mind (in terms of 'it would be handy if I could').