Steps
- Right-click a folder in the Explorer and open MokoNav ▸ New File (type path)…
- Type a full relative path, e.g.
src/components/Button/index.ts. - MokoNav creates every intermediate folder (
src,components,Button) and opens the new file.
New Folder… works the same way for nested directories, and Duplicate… copies an existing file/folder with a new name.
Tip
Pair it with MokoNav ▸ Open Terminal Here to drop straight into a shell in the folder you just made. Part of the Moko VS Code suite.