Contributing

Contributions to the Custom CSS and JS Loader are welcome! Whether it's reporting a bug, suggesting a feature, or submitting a pull request, your help is appreciated.

Reporting Issues

If you encounter a bug or have a feature request, please open an issue on the GitHub repository. Provide as much detail as possible, including:

  • Your operating system and VS Code version.
  • The steps to reproduce the issue.
  • Any relevant error messages from the logs (Help > Toggle Developer Tools).

Issue Management

Please note that this project uses an automated stale issue manager. As configured in .github/workflows/stale.yml, issues that have been open for 60 days with no activity will be marked as stale. If there is no further activity within 15 days, the issue will be automatically closed. This helps keep the issue tracker focused on active development.

Setting Up the Development Environment

To contribute code, you'll need to set up a local development environment.

  1. Fork and Clone: Fork the repository on GitHub, then clone your fork locally.

    git clone https://github.com/YOUR_USERNAME/vscode-custom-css.git
    cd vscode-custom-css

  2. Install Dependencies: The project uses npm to manage dependencies.

    npm install

Code Style

The project uses ESLint and Prettier to maintain a consistent code style. The configuration can be found in the .eslintrc.json and .prettierrc.yaml files. Before submitting a pull request, please ensure your code conforms to these standards by running the linter.

Submitting Pull Requests

  1. Create a new branch for your feature or bug fix.
  2. Make your changes and commit them with a clear, descriptive message.
  3. Push the branch to your fork on GitHub.
  4. Open a pull request from your branch to the master branch of the original repository.
  5. Clearly describe the changes you've made and why.