Create HTML file by content

I add the HTML file to the project with code below:

Seems, I can use this API to add the file to the project (the file is created and I can see in the project tree). Or is there a better way?

I have a problem: IDE doesn't propose to add created file to SVN (like for file created by new action).
Do I need additional code to add the file to SVN or IDE watches for new files and I need call some method to refresh new files list?

Please sign in to leave a comment.