### Install Node.js and npm on Ubuntu Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Installs Node.js and npm. If the version is too old, it provides instructions to install from NodeSource. ```bash # Install Node.js and npm sudo apt update sudo apt install nodejs npm # Verify installation node --version npm --version # If version is too old, install from NodeSource curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt install -y nodejs ``` -------------------------------- ### Clone Repository and Install Dependencies Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Clone the diffmanifests repository and install development dependencies using pip. This is the initial setup step for contributing or developing the project. ```bash # Clone the repository git clone https://github.com/craftslab/diffmanifests.git cd diffmanifests # Install development dependencies pip install -e .[dev] ``` -------------------------------- ### Install VS Code Extension Dependencies and Package Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Navigate to the extension directory, install Node.js dependencies, compile the extension, and package it for installation. ```bash # Navigate to extension directory cd vscode # Install dependencies and build npm install npm run compile # Package extension vsce package # Install in VS Code code --install-extension diffmanifests-1.0.0.vsix ``` -------------------------------- ### Install npm Packages Locally (Ubuntu) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Resolve 'Permission denied' errors during npm install on Ubuntu by installing packages locally using --prefix or configuring a global npm directory. ```bash # Use --prefix to install locally npm install --prefix ~/.npm-global # Or change npm default directory mkdir ~/.npm-global npm config set prefix '~/.npm-global' export PATH=~/.npm-global/bin:$PATH ``` -------------------------------- ### Install Python and Pip on Ubuntu Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Installs Python 3 and pip on Ubuntu systems if the version is less than 3.7 or not installed. ```bash # If not installed or version < 3.7 sudo apt update sudo apt install python3 python3-pip # Verify installation python3 --version pip3 --version ``` -------------------------------- ### Install diffmanifests from Source Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Follow these steps to clone the repository and install the diffmanifests package in editable mode. ```bash git clone https://github.com/craftslab/diffmanifests.git cd diffmanifests pip install -e . ``` -------------------------------- ### Example Configuration File (config.json) Source: https://github.com/craftslab/diffmanifests/blob/master/skill/SKILL.md An example JSON configuration file for diffmanifests, specifying connection details for Gerrit and Gitiles instances. This file is essential for authenticating and connecting to the respective services. ```json { "gerrit": { "url": "https://android-review.googlesource.com", "user": "", "pass": "", "query": { "option": ["CURRENT_REVISION"] } }, "gitiles": { "url": "https://android.googlesource.com", "user": "", "pass": "", "retry": 1, "timeout": -1 } } ``` -------------------------------- ### Install diffmanifests Source: https://github.com/craftslab/diffmanifests/blob/master/skill/SKILL.md Install the diffmanifests package using pip. This command is used to get the latest version of the tool. ```bash pip install diffmanifests ``` -------------------------------- ### Check Python Installation (Windows) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Verifies if Python is installed on the system. If not, it directs the user to download Python and ensure it's added to the system's PATH during installation. ```powershell # Check if Python is installed python --version # If not installed, download from https://www.python.org/downloads/ # During installation, make sure to check "Add Python to PATH" ``` -------------------------------- ### Install pip on Ubuntu/Linux Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Install the pip package manager for Python 3 on Ubuntu/Linux if it is not already available. ```bash sudo apt install python3-pip ``` -------------------------------- ### Verify Extension Installation (Command Line) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Check if the diffmanifests extension is installed using the command line. This is a common troubleshooting step. ```bash code --list-extensions ``` -------------------------------- ### JSON Output Structure Example Source: https://github.com/craftslab/diffmanifests/blob/master/README.md This is an example of the structured JSON output format. It details the fields included for each manifest comparison. ```json { "author": "Developer Name ", "branch": "master", "change": "https://gerrit.example.com/c/12345", "commit": "abc123def456789...", "committer": "Developer Name ", "date": "2025-08-20 12:00:00 +0000", "diff": "ADD COMMIT", "hashtags": ["security", "cve", "bugfix"], "message": "Fix security vulnerability CVE-2025-1234", "repo": "platform/frameworks/base", "topic": "security-fix", "url": "https://android.googlesource.com/platform/frameworks/base/+/abc123def456789" } ``` -------------------------------- ### Example Diff Manifests Configuration Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md This JSON object shows an example configuration for the Diff Manifests extension, which can be added to your VS Code `settings.json` file. It demonstrates how to set various options like Python path, Gerrit and Gitiles URLs, output format, and auto-install preferences. ```json { "diffmanifests.pythonPath": "python3", "diffmanifests.packagePath": "", "diffmanifests.gerrit.url": "https://android-review.googlesource.com", "diffmanifests.gerrit.user": "your-username", "diffmanifests.gerrit.password": "your-password-or-token", "diffmanifests.gerrit.queryOptions": ["CURRENT_REVISION"], "diffmanifests.gitiles.url": "https://android.googlesource.com", "diffmanifests.gitiles.user": "", "diffmanifests.gitiles.password": "", "diffmanifests.gitiles.timeout": -1, "diffmanifests.gitiles.retry": 1, "diffmanifests.outputFormat": ".json", "diffmanifests.autoInstall": true, "diffmanifests.showOutputPanel": true } ``` -------------------------------- ### Install diffmanifests Package (Windows) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Installs the diffmanifests Python package using pip and verifies the installation. ```powershell # Install via pip pip install diffmanifests # Verify installation pip show diffmanifests ``` -------------------------------- ### List Installed Extensions Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Verify if the diffmanifests extension is installed by listing all extensions and filtering for 'diffmanifests'. ```bash code --list-extensions | grep diffmanifests ``` -------------------------------- ### Install diffmanifests Package (Ubuntu/Linux) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Use pip3 to install the diffmanifests Python package on Ubuntu/Linux. Use the --user flag if permission is denied. Verify the installation using 'pip3 show'. ```bash pip3 install diffmanifests # Or with --user flag if permission denied pip3 install --user diffmanifests pip3 show diffmanifests # Verify installation ``` -------------------------------- ### Install diffmanifests Package in a Virtual Environment (Linux) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Commands to create and activate a Python virtual environment on Ubuntu/Linux, then install the diffmanifests package within it. ```bash python3 -m venv venv source venv/bin/activate pip install diffmanifests ``` -------------------------------- ### Install VS Code Extension from VSIX (Windows) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Installs a VS Code extension from a .vsix file using the command line. ```powershell # Install via command line code --install-extension diffmanifests-1.0.0.vsix ``` -------------------------------- ### Install diffmanifests with User Flag (Windows) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Resolve 'Permission denied' errors during pip install on Windows by running pip with administrator privileges or using the --user flag. ```powershell # Run as administrator or use --user flag pip install --user diffmanifests ``` -------------------------------- ### Basic diffmanifests CLI Usage Source: https://github.com/craftslab/diffmanifests/blob/master/skill/SKILL.md Example of how to run the diffmanifests CLI tool to compare two manifest files and output the results. Ensure the config file path and manifest file paths are correctly specified. ```bash diffmanifests \ --config-file config.json \ --manifest1-file path/to/older.xml \ --manifest2-file path/to/newer.xml \ --output-file path/to/output.json ``` -------------------------------- ### Install pip for Python 3 (Ubuntu) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Troubleshoot 'pip not found' errors on Ubuntu by installing pip for Python 3 using apt. ```bash # Install pip for Python 3 sudo apt install python3-pip ``` -------------------------------- ### Project Scripts Overview Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Lists the available shell scripts in the script/ directory for common development tasks such as cleaning, building, installing, running, and testing the project. ```bash # `clean.sh` - Clean build artifacts and cache files # `dist.sh` - Build distribution packages # `install.sh` - Install the package locally # `run.sh` - Run the tool with test data # `test.sh` - Execute test suite ``` -------------------------------- ### Install diffmanifests Package (macOS) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Use pip3 to install the diffmanifests Python package on macOS. Verify the installation using 'pip3 show'. ```bash pip3 install diffmanifests pip3 show diffmanifests # Verify installation ``` -------------------------------- ### Install VS Code Extension Dependencies Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Installs the necessary Node.js dependencies for the VS Code extension development. ```bash cd vscode npm install ``` -------------------------------- ### Install diffmanifests Python Package (Ubuntu/Linux) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Installs the diffmanifests Python package using pip3 on Ubuntu/Linux. ```bash pip3 install diffmanifests ``` -------------------------------- ### Verify Python Package Installation Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Checks if the diffmanifests Python package is installed. ```bash pip show diffmanifests # Windows pip3 show diffmanifests # Ubuntu/Linux ``` -------------------------------- ### Verify diffmanifests Package Installation (Linux) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Command to verify the installation of the diffmanifests Python package on Ubuntu/Linux using the 'pip3 show' command. ```bash pip3 show diffmanifests ``` -------------------------------- ### Build VS Code Extension (Local) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Builds the VS Code extension locally by installing dependencies, compiling, and packaging. ```bash cd vscode npm install npm run compile vsce package ``` -------------------------------- ### Verify diffmanifests Package Installation (Windows) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Command to verify the installation of the diffmanifests Python package on Windows using the 'pip show' command with the 'python -m' prefix. ```bash python -m pip show diffmanifests ``` -------------------------------- ### Package VS Code Extension Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Installs the packaging tool and packages the VS Code extension for distribution. ```bash npm install -g @vscode/vsce vsce package ``` -------------------------------- ### Verify diffmanifests Package Installation (Linux with python -m) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Command to verify the installation of the diffmanifests Python package on Ubuntu/Linux using the 'python -m pip show' command. ```bash python3 -m pip show diffmanifests ``` -------------------------------- ### Check Python Version Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Verifies the installed Python 3 version. ```bash # Check Python version python3 --version ``` -------------------------------- ### Clear npm Cache and Reinstall (Windows) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Troubleshoot 'npm install fails' errors on Windows by clearing the npm cache and attempting to reinstall. ```powershell # Clear npm cache npm cache clean --force # Try again npm install ``` -------------------------------- ### Package VS Code Extension Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Installs the vsce tool globally and packages the extension into a .vsix file. ```bash # Install vsce globally sudo npm install -g @vscode/vsce # Or without sudo npm install -g @vscode/vsce # Package the extension vsce package # This creates a .vsix file ``` -------------------------------- ### Install diffmanifests Package with --user Flag (Windows) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Command to install the diffmanifests Python package on Windows using pip, with the '--user' flag to avoid permission errors when running as a standard user. ```powershell pip install --user diffmanifests ``` -------------------------------- ### Build VS Code Extension Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Navigates to the VS Code directory, installs dependencies, and compiles TypeScript or uses a build script. ```bash # Navigate to vscode directory cd /path/to/diffmanifests/vscode # Install dependencies npm install # Compile TypeScript npm run compile # OR use the build script chmod +x build.sh ./build.sh ``` -------------------------------- ### Check Python and diffmanifests Version (Ubuntu) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Check the installed Python 3 version and the diffmanifests package details on Ubuntu. ```bash python3 --version pip3 show diffmanifests ``` -------------------------------- ### Install diffmanifests Package with --user Flag (Linux) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Command to install the diffmanifests Python package on Ubuntu/Linux using pip3, with the '--user' flag to avoid permission errors. ```bash pip3 install --user diffmanifests ``` -------------------------------- ### Reinstall Dependencies and Package (Ubuntu) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Troubleshoot 'vsce package fails' errors on Ubuntu by ensuring all npm dependencies are installed and then retrying the package command. ```bash # Make sure all dependencies are installed npm install # Try again vsce package ``` -------------------------------- ### Check Python and diffmanifests Version (Windows) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Check the installed Python version and the diffmanifests package details on Windows. ```powershell python --version pip show diffmanifests ``` -------------------------------- ### Build VS Code Extension from Source (Windows) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Navigates to the VS Code extension directory, installs Node.js dependencies, and compiles the TypeScript code or uses a build script. ```powershell # Navigate to vscode directory cd C:\path\to\diffmanifests\vscode # Install dependencies npm install # Compile TypeScript npm run compile # OR use the build script .\build.bat ``` -------------------------------- ### Package VS Code Extension (Windows) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Installs the 'vsce' tool globally and packages the VS Code extension into a .vsix file. ```powershell # Install vsce globally npm install -g @vscode/vsce # Package the extension vsce package # This creates a .vsix file ``` -------------------------------- ### Add Python to PATH (Windows) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Troubleshoot 'Python not found' errors on Windows by manually adding the Python installation directory to the system's PATH environment variable. ```powershell # Add Python to PATH manually # 1. Find Python installation: C:\Users\\AppData\Local\Programs\Python\Python3X # 2. Add to System Environment Variables > Path # 3. Restart VS Code ``` -------------------------------- ### Manifest Comparison with Alternative Output Formats Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Demonstrates how to output manifest comparison results in plain text or Excel formats. Specify the desired output file extension to select the format. ```bash # Plain text format diffmanifests \ --config-file ./config/config.json \ --manifest1-file ./data/android-11.xml \ --manifest2-file ./data/android-12.xml \ --output-file ./results/diff-output.txt ``` ```bash # Excel format diffmanifests \ --config-file ./config/config.json \ --manifest1-file ./data/android-11.xml \ --manifest2-file ./data/android-12.xml \ --output-file ./results/diff-output.xlsx ``` -------------------------------- ### Manifest Comparison with Custom Configuration Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Shows how to use a custom configuration file for the diffmanifests tool, including Gerrit and Gitiles connection details. The configuration file should be in JSON format. ```json # config.json { "gerrit": { "url": "https://android-review.googlesource.com", "user": "developer", "pass": "your-token" }, "gitiles": { "url": "https://android-googlesource.com", "user": "developer", "pass": "your-token", "retry": 5, "timeout": 60 } } ``` ```bash # Run comparison diffmanifests \ --config-file config.json \ --manifest1-file old-manifest.xml \ --manifest2-file new-manifest.xml \ --output-file changes.json ``` -------------------------------- ### Run diffmanifests with basic arguments Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Execute the diffmanifests command with essential configuration and file paths. Ensure all required arguments are provided. ```bash diffmanifests \ --config-file config.json \ --manifest1-file manifest1.xml \ --manifest2-file manifest2.xml \ --output-file output.json ``` -------------------------------- ### Use python3 instead of python on Linux Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Instructions for using 'python3' instead of 'python' on Ubuntu/Linux systems and updating extension settings accordingly. ```bash # Use python3 instead of python # Update extension settings to use python3 python3 --version ``` -------------------------------- ### Basic Manifest Comparison to JSON Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Compares two Android manifest files and outputs the differences in JSON format. Ensure you have a configuration file and the manifest files available. ```bash diffmanifests \ --config-file ./config/config.json \ --manifest1-file ./data/android-11.xml \ --manifest2-file ./data/android-12.xml \ --output-file ./results/diff-output.json ``` -------------------------------- ### Test Running diffmanifests Command (Linux) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Command to test running the diffmanifests Python module directly with the '--help' flag on Ubuntu/Linux. ```bash python3 -m diffmanifests --help ``` -------------------------------- ### Launch VS Code Extension in Development Mode Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Opens the VS Code extension's source folder and launches an Extension Development Host window for testing. ```powershell # Open the `vscode` folder in VS Code # Press `F5` to launch Extension Development Host # Test the extension in the new window ``` -------------------------------- ### Test Running diffmanifests Command (Windows) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Command to test running the diffmanifests Python module directly with the '--help' flag on Windows. ```bash python -m diffmanifests --help ``` -------------------------------- ### Build and Package VS Code Extension (Ubuntu/Linux) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Builds and packages the VS Code extension from source on Ubuntu/Linux using npm and vsce. ```bash cd /path/to/diffmanifests/vscode npm install npm run compile npm install -g @vscode/vsce vsce package ``` -------------------------------- ### Configuration file structure for diffmanifests Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Define connection details for Gerrit and Gitiles instances in a JSON configuration file. This structure is used for authentication and request parameters. ```json { "gerrit": { "url": "https://your-gerrit-instance.com", "user": "your-username", "pass": "your-password-or-token" }, "gitiles": { "url": "https://your-gitiles-instance.com", "user": "your-username", "pass": "your-password-or-token", "retry": 3, "timeout": 30 } } ``` -------------------------------- ### Test diffmanifests Command Execution Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Verify that the diffmanifests Python package can be executed directly from the command line, checking for help output. ```bash python -m diffmanifests --help # or python3 -m diffmanifests --help ``` -------------------------------- ### Set Default Config File Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Configure the default configuration file path for the diffmanifests extension. ```json { "diffmanifests.configFile": "/path/to/your/config.json" } ``` -------------------------------- ### Analyzing Manifest Comparison Output with Python Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Loads a JSON output file from diffmanifests and filters changes related to security or CVEs. This script requires the output to be in JSON format. ```python import json # Load the output with open('output.json', 'r') as f: changes = json.load(f) # Filter security-related changes security_changes = [ c for c in changes if 'security' in c.get('hashtags', []) or 'cve' in c.get('hashtags', []) ] print(f"Found {len(security_changes)} security-related changes") ``` -------------------------------- ### Configure Python Path (Ubuntu) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Set the Python 3 path in VS Code settings for Ubuntu. This is used by the diffmanifests extension. ```json { "diffmanifests.pythonPath": "python3" } ``` -------------------------------- ### Build and Package VS Code Extension (Windows) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Builds and packages the VS Code extension from source on Windows using npm and vsce. ```powershell cd C:\path\to\diffmanifests\vscode npm install npm run compile npm install -g @vscode/vsce vsce package ``` -------------------------------- ### Run All Tests Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Execute all tests in the project using the pytest framework. This is a standard command to ensure the project's stability. ```bash # Run all tests pytest ``` -------------------------------- ### Run Tests with Verbose Output Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Execute tests with verbose output enabled, providing more detailed information about the test execution process. This can be helpful for debugging. ```bash # Run with verbose output pytest -v ``` -------------------------------- ### Configure Python Path (Windows) Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Set the Python path in VS Code settings for Windows. This is used by the diffmanifests extension. ```json { "diffmanifests.pythonPath": "python" } ``` -------------------------------- ### Run Specific Test Module Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Execute tests from a specific module within the tests directory. This is useful for focusing on a particular area of functionality. ```bash # Run specific test module pytest tests/differ/test_differ.py ``` -------------------------------- ### Compile VS Code Extension Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Compiles the VS Code extension source code. ```bash npm run compile ``` -------------------------------- ### Run Tests with Coverage Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Execute tests using pytest and generate a coverage report to assess code coverage. This helps in identifying areas of the code that are not being tested. ```bash # Run tests pytest tests/ # Run tests with coverage coverage run -m pytest tests/ coverage report ``` -------------------------------- ### Uninstall VS Code Extension via Command Line Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Use this command to uninstall the Diff Manifests VS Code extension using the command line. ```bash code --uninstall-extension craftslab.diffmanifests ``` -------------------------------- ### Run Tests with Coverage Flag Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Execute tests and generate a coverage report directly using pytest's coverage plugin. This command integrates coverage reporting into the test execution. ```bash # Run with coverage report pytest --cov=diffmanifests tests/ ``` -------------------------------- ### Uninstall Python Package on Ubuntu Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Use this command to uninstall the diffmanifests Python package on Ubuntu. ```bash pip3 uninstall diffmanifests ``` -------------------------------- ### Uninstall Python Package on Windows Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/INSTALL.md Use this command to uninstall the diffmanifests Python package on Windows. ```powershell pip uninstall diffmanifests ``` -------------------------------- ### Create Feature Branch Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Create a new branch for developing a specific feature. This is a standard Git command for isolating feature development. ```bash git checkout -b feature/amazing-feature ``` -------------------------------- ### Upgrade diffmanifests Source: https://github.com/craftslab/diffmanifests/blob/master/skill/SKILL.md Upgrade the diffmanifests package to the latest version using pip. This ensures you have the most recent features and bug fixes. ```bash pip install diffmanifests --upgrade ``` -------------------------------- ### Watch for Changes During VS Code Extension Development Source: https://github.com/craftslab/diffmanifests/blob/master/vscode/README.md Enables watch mode to automatically recompile the VS Code extension upon detecting file changes. ```bash npm run watch ``` -------------------------------- ### Commit Changes Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Stage and commit changes to the current branch. This is a fundamental Git command for saving work. ```bash git commit -m 'Add some amazing feature' ``` -------------------------------- ### Push Changes to Remote Source: https://github.com/craftslab/diffmanifests/blob/master/README.md Push committed changes from the local branch to the remote repository. This makes the changes available for collaboration or deployment. ```bash git push origin feature/amazing-feature ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.