Create new file dialog

Is there something like "create new file" dialog in intellij openapi? ..or even non-openapi? I need to provide the ability to create a new file within the scope of a given module or project (solely under their respective content roots).

0

Should have searched the forum before posting this.. ;)
The answer is FileChooser. It provides a quite flexible way to select directories for a restricted scope (e.g. module or project content roots).

0

请先登录再写评论。