Simple New File
Inspired by the great extension for Atom.
Creating new files via the sidebar can get quite tedious. This extension aims to make creating files or directories as simple as possible via the command palette. Has autocompletion and also works with multiple workspaces!
Before installing make sure you are running a version of VSCode >= 1.29.0 as this extension uses the QuickPick Extension API shipped with 1.29.0.
The recommended way of installing is
And that's it, you're done!
Creating files / directories
Pressing CTRL+ALT+N brings up a prompt where you can enter a path to a file. The file will be opened if it already exists otherwise a new file will be created along with all its parent directories.
Paths can also have relative parts:
Paths are being treated as relative to the current open file. You can also specify an absolute path by beginning with
You can also create directories by putting a
By selecting a directory from the list, the extension does autocomplete the input for you. Beware however, as this does not work by pressing TAB, the process is more like "selecting an item and pressing RETURN". This is due to limitations from the VSCode Extension API and may be improved in future versions of this extensions as the Extension API is expanded.
Starting with version