Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
139 views
in Technique[技术] by (71.8m points)

How to add TODOs and track project issues in Android Studio (NOT in sources)

I am writing a new better version of my old Android project that will fix a lot of UI bugs but also has a better design, needed for integration of some new features.

As I go through the source I can see all my old and new TODOs in the source, but there are things I remember and forget I want to do in the future and don't fit in any source yet.

Eclipse had a simple list of Tasks in the project on which you could write down and track all bug fixes and new features you wanted for that project. Very handy!

Is there a way add such tasks/issues/notes/todos in Android Studio in the project in general, WITHOUT adding them at a specific place in the sources?

question from:https://stackoverflow.com/questions/28926140/how-to-add-todos-and-track-project-issues-in-android-studio-not-in-sources

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

To add a ToDo, just comment anywhere in your code starting with the word ToDo

//Todo: Get count from database instead

To view the list of ToDos, look in the bottom left corner of your Android Studio window:

enter image description here

if you open it, you will get this view with the list of your todos and options to navigate to files where they are located in your project:

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...