Created by Husham Ghalib Senan with help from TABNINE AI
Overview
The Zig Project Generator is a Visual Studio Code extension that simplifies the process of creating new Zig projects and setting up the necessary VS Code configuration files. This extension provides two main functionalities:
Create a new Zig project and set up VS Code files
Create only VS Code configuration files for an existing Zig project
Features
Initialize a new Zig project using zig init
Create VS Code configuration files (tasks.json and launch.json)
Streamline the setup process for Zig development in VS Code
Requirements
Visual Studio Code 1.60.0 or higher
Zig compiler installed and accessible in your system's PATH
Installation
Open Visual Studio Code
Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS)
Search for "Zig Project Generator"
Click Install
Usage
Creating a New Zig Project with VS Code Files
Open a folder where you want to create your Zig project
Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS)
Type and select "Zig Project Generator: Create Project and VSCode Files"
The extension will run zig init and create the necessary VS Code files
Creating Only VS Code Files for an Existing Zig Project
Open your existing Zig project folder in VS Code
Open the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS)
Type and select "Zig Project Generator: Create Only VSCode Files"
The extension will create the VS Code configuration files in your project
Extension Settings
This extension does not add any VS Code settings.
Known Issues
[List any known issues or limitations here]
Release Notes
1.0.0
Initial release of Zig Project Generator
Add command to create new Zig project with VS Code files
Add command to create only VS Code files for existing projects
Contributing
Contributions to the Zig Project Generator are welcome! Please feel free to submit a Pull Request.