EDIT: Tất cả mọi thứ trên hard rule là câu trả lời của tôi mới (cập nhật 5/17/13):
tôi muốn đề nghị chuyển giao cho mới Android Studio IDE (có trụ sở của IntelliJ). Điều này cho phép lọc theo tên gói.
Bạn có thể bỏ phiếu cho các tính năng được thêm vào ở đây: http://youtrack.jetbrains.com/issue/IDEA-95780
Trong khi đó, bạn có thể suy nghĩ về gói lớp Android Đăng nhập để thêm một hậu tố/prefix mà bạn sau đó có thể lọc theo. Giống như sau:
/**
* Wrapper for the Android {@link Log} class.
* <br><br>
* The primary reason for doing this is to add a unique prefix to all tags for easier filtering
* in IntelliJ IDEA (since in v12 there is no way to filter by application).
*
* @author gloesch
*/
public class Logger {
private static final String FILTER = "(MY APP) ";
public static void d(String tag, String message) {
Log.d(tag.concat(FILTER), message);
}
public static void i(String tag, String message) {
Log.i(tag.concat(FILTER), message);
}
public static void v(String tag, String message) {
Log.v(tag.concat(FILTER), message);
}
public static void e(String tag, String message) {
Log.e(tag.concat(FILTER), message);
}
public static void w(String tag, String message) {
Log.w(tag.concat(FILTER), message);
}
public static void wtf(String tag, String message) {
Log.wtf(tag.concat(FILTER), message);
}
}
Vote cho tính năng ở đây: http://youtrack.jetbrains.com/issue/IDEA-95780 – loeschg