Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法指定在 Android Studio 中使用 Eclipse Formatter 插件时不应格式化这些行?
//@formatter:off//@formatter:on不要为我工作
//@formatter:off
//@formatter:on
不确定 Studio 中的 Eclipse 格式化程序插件,但您可以通过转到 文件 -> 设置 -> 代码样式 -> 常规来启用这些标签,在底部您会找到“在注释中启用格式化程序标记”