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.
如果有任何 eclipse 扩展通过单击 eclipse 的警告在 Strings.xml 中生成字符串?因为它非常乏味:/
或者也许还有其他方法可以导出字符串?
在 Eclipse 中,您可以按 alt + shift + a 然后按 s 来提取选定的字符串。
或者,正如 user1920666 在菜单中的帖子中所指出的那样:Refractor -> Android -> Extract Android String
选择你的字符串
Eclipse 选项卡上的折射器 -> Android -> 提取 Android 字符串
或者
Alt + SHFT + A 然后是 S