A VS Code extension that receives file and folder creation requests
from a backend and creates them inside the currently opened workspace.
Features
Create files
Create folders
Create nested folders automatically
Optional file content
Backend integration
Workspace path validation
Prevents paths outside the workspace
Development
Install dependencies:
npm install
Compile the extension:
npm run compile
Run it in VS Code:
Open this project folder in VS Code.
Press F5 or choose Run File Creator Extension from the Run and Debug view.
In the new Extension Development Host window, open a workspace.
Run File Creator: Create File or Folder from the Command Palette.
The extension polls http://localhost:8000 by default. Configure fileCreator.backendUrl in the Extension Development Host window when the backend uses another URL.