Strange popup on creating files outside of plugin's directory (WebStorm 9)

Hello. Similar to scratch plugin - https://github.com/dkandalov/scratch - I create files in PATH_TO_IDEA_CONFIGS/config/plugins/my_plugin/ directory. It was ok. I tested my plugin with Webstorm 9. Now Webstorm prints strange popup - http://ge.tt/3Yupek22/v/0?c

1. How can I prevent this popup?
2. What's the correct way to store custom plugin's files (which can be creted by user's actions)

0
6 comments

Ok, I looked into it and I have no idea how to use this thing either.
Those static methods are very confusing....

0

These static methods are not supposed to be used directly; you should override NonProjectFileWritingAccessExtension instead

0

WebStorm 9 SDK doesn't have this class (I found it in IDEA 14 SDK).

1. How can I solve this problem in WebStrorm 9 and IDEA 14?
2. How do you think is it ok that you change API so frequently?

0

Fedor,
1) This class is available in WebStorm 9 as well (webstorm.jar)
2) This API is not public yet

0

Please sign in to leave a comment.