Skip to content

[Feature request] Highlight the word "TODO" in text editor #3827

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
NicoHood opened this issue Sep 20, 2015 · 5 comments
Open

[Feature request] Highlight the word "TODO" in text editor #3827

NicoHood opened this issue Sep 20, 2015 · 5 comments
Labels
Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix) Help wanted Arduino would especially appreciate assistance from the community on this item

Comments

@NicoHood
Copy link
Contributor

Via the keywords.txt you can highlight different words.
What i wish is that you highlight the word "TODO" (and possibly some synonyms) red by default. A new preset is required for those colors (or maybe its there and noone knows). This way you could also highlight DEBUG and others.

Example in scratch editor of elementary OS:
todohighlight

@Chris--A
Copy link
Contributor

Highlighting in comments has just been removed. You can use the find tool to 'find' your TODO's

#3532 / 94d1829

@NicoHood
Copy link
Contributor Author

Hm you are right, that was mine :D
Its just an idea, close it if you dont like it.

@Chris--A
Copy link
Contributor

I personally would like different colour comments.

In notepad++ you can get three different colourings.

// blah

/* blah2 */

/** blah3 **/

I'll have a look later, and see if this is possible in RSyntaxTA.

@ffissore
Copy link
Contributor

Yep, comments get no "Arduino" colouring since 94d1829 because of #3532. If you can out with a solution, it's more than welcome

@ffissore ffissore added Waiting for feedback More information must be provided before we can proceed Component: IDE user interface The Arduino IDE's user interface labels Sep 21, 2015
@ffissore ffissore self-assigned this Sep 21, 2015
@ffissore ffissore added Help wanted Arduino would especially appreciate assistance from the community on this item and removed Waiting for feedback More information must be provided before we can proceed labels Sep 21, 2015
@lmihalkovic
Copy link

As an Eclipse user, I drive the most value out of TODOs by reviewing them as a list where I can click on any to jump to the code in question.

Before diving into highlighting I figured it would be faster to add the following: typing "tags" or "tasks" will prompt a search through the sketch code (local libraries and assembly files included). The results are grouped by file. Possible improvement: cache the results and flush when memory is putting pressure or when the source file is altered (pending a lifecycle management of the editor contents)

arduino-2015-11-21 at 3 51 28 pm

@per1234 per1234 added the feature request A request to make an enhancement (not a bug fix) label Jul 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix) Help wanted Arduino would especially appreciate assistance from the community on this item
Projects
None yet
Development

No branches or pull requests

5 participants