A powerful VS Code extension for quickly creating files and folders with intelligent path suggestions. Stop navigating through the file explorer - create files and folders anywhere in your workspace with just a few keystrokes!
Features
Smart Path Completion: Type "/" to navigate through folders with intellisense-like suggestions
Quick Creation: Instantly create files and folders from a simple command palette interface
Context-Aware: Creates files in the current directory by default when appropriate
Path Navigation: Easily drill down through your folder structure
File Extension Detection: Automatically determines if you're creating a file or folder based on input
Workspace Integration: Creates files and folders anywhere in your workspace
Nested Creation: Automatically creates parent directories if they don't exist
Path Suggestions: Shows a list of existing directories to choose from
Current Directory Support: Creates files in the directory of the currently active file with a simple option
Path Normalization: Works with both forward slashes (/) and backslashes (\)
Installation
Open VS Code
Go to Extensions (Ctrl+Shift+X)
Search for "Quick File & Folder Creator"
Click Install
Usage
Press Ctrl+N (or Cmd+N on Mac) to activate the Create File/Folder Quickly command
Start typing:
Just a name: Creates in the workspace root or current directory
Path/name: Creates in the specified path (parent directories created automatically)
Select from suggested folders to navigate there first
Creating Files
Type a name with an extension (e.g., app.js, styles.css) to create a file
Use prefix file: for files without extensions (e.g., file:makefile, file:dockerfile)
Special files like .gitignore, .env are automatically recognized as files
If created, the file will automatically open in the editor
Creating Folders
Type a name without an extension (e.g., components, utils) to create a folder
Use prefix folder: if you want to force folder creation for names that might be detected as files
The folder will be revealed in the Explorer after creation
Navigating Paths
Type a partial path like src/components/ and see suggestions
Select a folder from suggestions to navigate to it
Keep building your path with further typing
Creating Nested Structures
Type something like components/ui/Button.js to create both directories and the file
All necessary parent directories will be created automatically
Keyboard Shortcuts
Ctrl+N (Windows/Linux)
Cmd+N (macOS)
To customize the keyboard shortcut:
Open the Keyboard Shortcuts editor (Ctrl+K then Ctrl+S)
Search for "Create File/Folder Quickly"
Click the pencil icon and define your preferred shortcut
Extension Settings
This extension has no settings that require configuration.
Known Issues
When creating files with the same name in different directories in quick succession, the wrong file might open
Deep folder traversal may experience slight performance delays
Release Notes
1.0.0
Initial release with core file and folder creation functionality
Path suggestions and intelligent path navigation
Support for creating nested directories automatically
Contributing
Contributions are welcome! Feel free to submit a Pull Request.
Fork the repository
Create your feature branch: git checkout -b my-new-feature
Commit your changes: git commit -am 'Add some feature'
Push to the branch: git push origin my-new-feature