[英]Java decompiler, open jar excecutable file in eclipse and see source code
[英]How to open *.class files with decompiler by default in Eclipse?
在 Eclipse 中打開 *.class 文件時,使用默認Class File Viewer
編輯器顯示 ZADCBB142F2ED4F8EB402 的非編碼器友好視圖
在我的 Eclipse 實例上安裝了幾個反編譯器后,我可以“手動”使用它們打開我的 *.class 文件,以便它顯示在Class Decompiler Viewer
編輯器中。
What I would like though is to change the default editor from Class File Viewer
to Class Decompiler Viewer
so when I open a *.class file (eg by double-clicking it in the Package Explorer
view or via the Open Type...
dialog)它直接在右視圖中打開。
目前 *.class 文件始終在Class File Viewer
編輯器中打開,無論我的設置如何。 I have to go back to the Package Explorer
view, right-click the *.class file and select the desired decompiler explicitely in the Open Class With
option to get it open in the Class Decompiler Viewer
editor.
I have set the Class Decompiler Viewer
editor as the default one for *.class files, applied, restarted Eclipse even, but still all the *.class files I open are coming through the Class File Viewer
by default.
反編譯器首選項還有一個選項可以將 himslef 設置為 *.class 文件的默認編輯器,但我這邊沒有成功:
有什么解決方案可以將默認的 *.class 文件編輯器強制為Class File Viewer
之外的其他東西嗎? 我是否在我的設置中遺漏了一些明顯的東西?
在“ .class”下面的文件關聯中,您會發現另一個“ .class without source”。 將您的反編譯器設置為默認值。 Class 文件現在應該在反編譯器中打開。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.