如何在Android Studio中添加TODO并跟踪项目问题(源代码中未提供) [英] How to add TODOs and track project issues in Android Studio (NOT in sources)

查看:137
本文介绍了如何在Android Studio中添加TODO并跟踪项目问题(源代码中未提供)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为旧的Android项目编写一个新的更好的版本,该版本将修复许多UI错误,但也具有集成某些新功能所需的更好的设计.

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.

浏览源代码时,可以看到源代码中所有旧的和新的TODO,但是有些事情我记得和忘记了,我将来想做,但现在还不适合任何源代码.

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在项目中有一个简单的Tasks列表,您可以在其中写下并跟踪该项目所需的所有错误修复和新功能.非常方便!

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!

是否有一种方法可以在项目的Android Studio中一般添加此类任务/问题/注释/待办事项,而无需将其添加到源代码中的特定位置?

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?

推荐答案

要添加ToDo,只需在代码中以ToDo

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

//Todo: Get count from database instead

要查看待办事项列表,请查看Android Studio窗口的左下角:

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

如果打开它,您将获得以下视图,其中包含您的待办事项列表和选项,可导航至项目中文件所在的文件:

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:

这篇关于如何在Android Studio中添加TODO并跟踪项目问题(源代码中未提供)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆