Auto new create file have no show?

Answered

I run the code, it auto create a file, but no show in the left catalog.

How to show it?

 

0
6 comments

Hello,

Does it help to run "File | Synchronize"?

0

no work.

I click File - Synchronize, but it doesn't work.

 

0

Is it shown after reopening the project?

0

No shown even reopening the project.

I think it is a bug.

You can use this java code, and make VM Args,you will see the bug.

It will out a java_pid80613.hprof in the project path, but you can't see it in idea, you only can see it in your system path.

 

/**
* VM Args:-Xms20m -Xmx20m -XX:+HeapDumpOnOutOfMemoryError
*/
public class T_2_3_HeapOOM {

static class OOMObject {
}

public static void main(String[] args) {
List<OOMObject> list = new ArrayList<OOMObject>();

while (true) {
list.add(new OOMObject());
}
}
0

Lee,

"*.hprof" is added to ignored files by default. You could remove them from ignore list in "Settings | Editor | File Types".

0

Ok, I see, thank you ^_^

0

Please sign in to leave a comment.