How to find .class file?

Answered

Hi,

 

I have a project with Place.java file.

After compilation in /target folder I have Place.class file.

 

a) What I need to do to see class file when I type "ctrl + shift + n" ?

b) What I need to do to search only for class files?

1
8 comments

By default, the IntelliJ IDEA marks the target folder as excluded for better performance. You can try to change the settings of the target folder in Project Settings to be able to search the files inside it.

You can also create a custom scope that includes only the necessary files that will be searched. Please follow the links below for more information:

0
Avatar
Permanently deleted user

The IntelliJ IDEA - every day transforming to very stupid Idea ! ... 

I changed by your recommendation, but anyway it doesn't work. Why before worked without any changes and now no ?

0

Hello victor. Is there some problem with the excluded directory? Could you please clarify what exactly does not work, so that could better understand the problem and try to fix it? Thank you.

0
Avatar
Permanently deleted user

When I tried to find something from any places, Intellij Idea finds nothing, but if I open the xxx.class file I find what we are looking for.
Another "smart idea"  - if you want to put char "  always put twice - it will be ok if you write a new text, but if text exist ???
Old Intelij Idea it is worked more better than 2020, 2021 versions. I don't know about next licence !? 

I am afraid to put your last version 2022 !!!
I see no reason to extend the license if things get worse and worse.


0

class file if there are not compiler errors. You can usually find this file in the bin subdirectory of your project. In particular, it will be in bin/org/odata4j/tomcat because you have declared your class to belong to the org.

Nordstrom Card Services

 

 

0

>When I tried to find something from any places, Intellij Idea finds nothing, but if I open the xxx.class file I find what we are looking for.

Note that IDE does not look into the compiled .class files when searching text across files in the project. If you want to search in library sources, please check that the library has source files.

0
Avatar
Permanently deleted user

The class file is my library files.

0

To search n a library you will need to attach sources to it.

Please vote for a related request: IDEA-152935 find(ctrl+shift+f) in .class file

0

Please sign in to leave a comment.