TranslationPlugin icon indicating copy to clipboard operation
TranslationPlugin copied to clipboard

希望适配新版本 AndroidStudio 的 logcat,现在新版本 logcat 的上下文菜单没有翻译选项

Open xiaoyvyv opened this issue 1 year ago • 6 comments

需求/建议描述

希望适配新版本的 logcat,现在新版本 logcat 的上下文菜单没有翻译选项

建议的解决方案

希望适配新版本的 logcat,现在新版本 logcat 的上下文菜单没有翻译选项

附加信息

No response

xiaoyvyv avatar Mar 20 '23 16:03 xiaoyvyv

请问你的IDE产品和版本分别是什么?

YiiGuxing avatar Mar 24 '23 03:03 YiiGuxing

我的 Android studio 是最新的长颈鹿预览版 canary 10

但是这个 logcat 前面好几个AS的稳定版版本就已经换成新的 logcat 了。右键上下文没有有翻译菜单

xiaoyvyv avatar Mar 24 '23 03:03 xiaoyvyv

图片

图片

Android Studio Giraffe | 2022.3.1 Canary 8 Build #AI-223.8617.56.2231.9687552, built on March 4, 2023 Runtime version: 17.0.6+0-17.0.6b802.4-9586694 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 13.2.1 GC: G1 Young Generation, G1 Old Generation Memory: 2048M Cores: 8 Metal Rendering is ON Registry: external.system.auto.import.disabled=true debugger.new.tool.window.layout=true ide.text.editor.with.preview.show.floating.toolbar=false ide.experimental.ui=true

Non-Bundled Plugins: ASM Bytecode Viewer Support Kotlin (1.1) wu.seal.tool.jsontokotlin (3.7.4) idea.plugin.protoeditor (223.8214.6) name.kropp.intellij.makefile (223.8214.6) com.developerphil.adbidea (1.6.8) cn.yiiguxing.plugin.translate (3.4.2)

xiaoyvyv avatar Mar 25 '23 14:03 xiaoyvyv

AS 的 logcat 组件貌似并没有提供拓展点,应该无法在它的上下文菜单上添加菜单项,不过选择文本后是可以通过快捷键进行翻译的。

YiiGuxing avatar Mar 25 '23 17:03 YiiGuxing

图片 我的图片上传的有问题,就是选中文本没有翻译的菜单

xiaoyvyv avatar Mar 25 '23 17:03 xiaoyvyv

不过可以使用快捷键 ^ shift u,进行选中翻译

xiaoyvyv avatar Mar 25 '23 17:03 xiaoyvyv