Jetbrains IDE: How to create custom "todo" tags?

I figured out how to download and install new color schemes.

It was after this that I noticed that IntelliJ would still color the following yellow line:

// ToDo: implement

      

Also, this coloring is independent of the color schemes that I download. So now I am assuming it is colored this way due to some Intellij-specific logic.

I also use Pycharm and CLion and I suspect it will be the same situation in all three.


Here's the question: how do I access these settings / xml / logic and specify what I want to say, 5 types of comment tags with colors A, B, C, D, E such that I can name them saying things like :

// T-A: File read in (t would be type)

// T-B: transform data

// T-C: linear section

// T-B: transform again

// T-D: parallel section

// T-E: MPI update

// T-B: array read in

// T-A: File read out

// etc. 

      

So, can I basically color code the project areas instead of just using the "ToDo" line?

+3


source to share


1 answer


You can go to Preferences

| Editor

| TODO

... And there you can add / remove / edit your own templates and filters, including the color scheme:

enter image description here



After that, TODO

there is a button in your window Filter

with the ability to edit filters, so you can easily find all the places in your code using your own templates.

enter image description here

+4


source







All Articles