how to create groovy file in scratches and console directory

Answered

Hi,

I am developing a plug-in, I have some config need to save, can I create and read groovy file in user's idea scratches and console directory?

and how should I do?

or is there any alternative?

Thanks!

1 comment
Comment actions Permalink

Hi,

See com.intellij.ide.scratch.ScratchRootType.getInstance.createScratchFile().

0

Please sign in to leave a comment.