Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create more notes like TODO in Android Studio, for example CHECK or TEST?

Does anybody know how to create new tags similar to the "TODO" in Android Studio? I mean so that they would highlight as well and appear in the list of issues. I'd appreciate any tip or suggestion.

like image 287
Hubert Avatar asked Jul 28 '17 12:07

Hubert


People also ask

How do you add todos?

Place the caret where you want to create a TODO item and add a comment, for example, by pressing Ctrl+/ , then type TODO or FIXME , and then type your note.

How do you mark a todo as done?

Go to: EDIT -> MACROS -> Start Macro Recording. Since now your actions are recording by Android Studio. Set the cursor on the “TODO” word and press: Left Alt + J // FOR MAC OS X: Ctrl + G / Shift + Ctrl + G (TODO word will be highlighted) See the screenshot #1.

What is the use of Todo in Android Studio?

To-Do List project is an application specially built to keep track of errands or tasks that need to be done. This application will be like a task keeper where the user would be able to enter the tasks that they need to do. Once they are done with their tasks they can also remove them from the list.

What is stack Android?

The Android software stack generally consists of a Linux kernel and a collection of C/C++ libraries that are exposed through an application framework that provides services, and management of the applications and run time.


1 Answers

Yes, this is possible. Android Studio is based on IntelliJ and you can find a instruction on how to add a new pattern here:

https://www.jetbrains.com/help/idea/defining-todo-patterns-and-filters.html

From the link:

  1. In the TODO tool window, click the Filter TODO Items icon (Filter TODO Items) and then click Edit Filters to open the TODO dialog.

  2. To add a pattern for the OPTIMIZE items, click the Add icon (Add) in the Patterns section of the TODO dialog, and type the following pattern: \boptimize\b.* Then click OK to save the new pattern.

  3. To add a filter with the new pattern, click the Add icon (Add) in the Filters section of the TODO dialog, specify a name for the new filter, and select the new pattern to be included in this filter. Then click OK to save the new filter.

  4. Click OK to apply changes in the TODO dialog.

  5. To apply the new filter, in the TODO tool window, click the Filter TODO Items icon (Filter TODO Items) and select the necessary filter.

like image 79
Nils Schlüter Avatar answered Sep 29 '22 18:09

Nils Schlüter