Welcome to the Start VSCode extension! This extension is designed to simplify your development workflow by automatically running commands from a .start
file located in your project's root folder whenever you open VSCode.
- Automatic Command Execution: This extension automatically creates new terminals and runs commands specified in a
.start
file as soon as VSCode is fully opened. - Multiple Commands: Supports running multiple commands separated by commas, each in a new terminal.
- Easy Setup: Easily set up and start your project without manually executing repetitive commands.
- Open the VSCode Extension Marketplace by pressing
Ctrl+Shift+P
(Windows/Linux) orCmd+Shift+P
(Mac). - Search for "Start" and click the "Install" button.
- After installation, the extension will be ready to use.
- Create a
.start
File: In the root folder of your project, create a.start
file (or multiple.startYourProjectName
files if preferred). - Add Commands: Inside the
.start
or.startYourProjectName
files, list the commands you want to run. Prefix each command line with\t
to signify a new terminal. For example:\t cd server, source venv/bin/activate, python app.py
- Start Projects: Open your project in VSCode. The extension will automatically detect the
.start
file and execute the commands when VSCode finishes loading.
\d
: If a file have first line\d
, the commands on this file will be marked as default. These commands will be executed automatically as soon as VSCode fully opens.\c
: Lines starting with\c
are comments and will be ignored.\t
: Lines starting with\t
signify commands to be run in a new terminal. You can separate multiple commands with commas.
\t python -m venv venv
\t source venv/bin/activate, pip install -r requirements.txt
\t python app.py
In this example, each command will run in its own terminal, starting with setting up a Python virtual environment, installing dependencies, and finally running the application.
Currently, this extension does not support any configurable options.
We welcome your feedback, suggestions, and contributions. Please visit our GitHub repository to get involved.
This extension is licensed under the MIT License.