Skip to main content
We appreciate your interest in contributing to View Exports SVG! Contributions are essential to improving and growing this extension.

Reporting Issues

If you encounter a bug or have an idea for a new feature, please create an issue in our repository.
Be sure to provide all necessary information, such as details about the problem or the new functionality you’re suggesting. Include:
  • Steps to reproduce the issue
  • Expected vs actual behavior
  • Screenshots or error messages if applicable
  • Your VS Code version and extension version

Contributing Code

If you want to contribute code, follow these steps:
Fork the ‘View Exports SVG’ repository to your GitHub account.
Clone your fork to your local machine:
git clone https://github.com/YOUR_USERNAME/JT-View-Exports-SVG.git
Create a branch for your contribution:
git checkout -b feature/<my-contribution>
Use descriptive branch names:
  • feature/ for new features
  • fix/ for bug fixes
  • docs/ for documentation updates
  • refactor/ for code refactoring
Make your changes and ensure you follow the project’s coding style and best practices.Coding Standards:
  • The project uses Biome for linting and formatting (replaces ESLint and Prettier)
  • Follow the existing code style and conventions
  • Write clear, descriptive commit messages
  • Add comments for complex logic
  • Ensure your code is compatible with the minimum VSCode version (^1.109.0)
Commit your changes with a descriptive message:
git commit -m "Add my contribution"
Commit Message Guidelines:
  • Use the imperative mood (“Add feature” not “Added feature”)
  • Be concise but descriptive
  • Reference issue numbers when applicable
Push your changes to your fork:
git push origin my-contribution
Open a Pull Request in our main repository.PR Guidelines:
  • Describe your changes in detail
  • Provide context for your contribution
  • Link to any related issues
  • Include screenshots or videos for UI changes
  • Ensure all tests pass

Local Development

If you want to run the extension in your local environment to test your changes, follow these steps:

Setup

git clone https://github.com/JairTorres1003/JT-View-Exports-SVG.git
npm run install:all
This will install all necessary dependencies for both the extension and the webview UI.
npm run client:build
The project now uses Vite instead of Webpack for significantly faster builds.
npm run compile
Press F5 to start a new instance of Visual Studio Code with the extension loaded.

Development Scripts

  • npm run biome:format - Auto-format code using Biome
  • npm run biome:lint - Run linter
  • npm run client:dev - Start Vite dev server with HMR
  • npm run client:build - Build webview UI for production
  • npm run compile - Compile the extension
Development Requirements:
  • Node.js 22.x (recommended)
  • VS Code ^1.109.0 or higher
  • Understanding of TypeScript and React

Contribution Guidelines

Code Quality

  • Follow the project’s coding style (enforced by Biome)
  • Write clean, maintainable code
  • Add appropriate comments and documentation
  • Test your changes thoroughly

Compatibility

  • Ensure changes are compatible with the minimum VSCode version
  • Test on multiple platforms if possible (Windows, macOS, Linux)
  • Maintain backward compatibility when possible

Development Workflow

  • Keep pull requests focused on a single feature or fix
  • Write meaningful commit messages
  • Update documentation when adding new features
  • Follow the project’s branching strategy

Testing

  • Test your changes in a development VS Code instance
  • Verify the extension works with different file types and project structures
  • Check for performance impacts
  • Ensure no regressions in existing functionality

Getting Help

If you need help or have questions:
  • Check the official documentation
  • Open an issue with the “question” tag
  • Join discussions in existing issues and pull requests

Code of Conduct

Please note that this project follows our Code of Conduct. By participating, you are expected to uphold this code.
Thank you for contributing to View Exports SVG! Your efforts help make this extension better for everyone.

Build docs developers (and LLMs) love