Creating an unsaved file in INtelliJ ( save later option)

Hello All,

Is it possible to create a file without saving to the file system ( Unsaved file) ? Please advise.

 

Best Regards

Manoj K Nair

0
4 comments

Depends. What do you need it for?

0
Avatar
Permanently deleted user

I am creating my custom virtual file and during the opening, I am asking the user whether he want to save it. If he says "Later", I have to open file in IDE without saving it in project path. This unsaved files should be able to saved later.

0

Looks like LightVirtualFile will suit your needs.

0
Avatar
Permanently deleted user

Thanks Roman!

0

Please sign in to leave a comment.