效果图
操作步骤
打开External Tool
File-Setting-Tools-External Tool
点击新增, 配置如下
| 名称 | 填入的值 |
|---|---|
| Name | OpenClassInExplorer 或 随意 |
| Description | 随意 |
| Program | explorer.exe |
| Arguments | /select,"O u t p u t P a t h OutputPathOutputPath$FileDirRelativeToSourcepath$$FileNameWithoutExtension$.class" |
| Working directory | P r o j e c t F i l e D i r ProjectFileDirProjectFileDir |
注意: Advanced Options 里面两个都需要取消勾选
最终效果如下图
参考
https://stackoverflow.com/questions/56746044/how-to-show-class-file-in-explorer-in-idea
到此这篇关于IDEA 打开java文件对应的class路径的文章就介绍到这了,更多相关idea 打开class路径内容请搜索考高分网以前的文章或继续浏览下面的相关文章希望大家以后多多支持考高分网!



