Cairo extension for Visual Studio Code is actively developed and open for contributions!
Want to get started?
Grab any unassigned issue labelled with
help wanted
!
Looking for some easy warmup tasks?
Check out issues labelled with
good first issue
!
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
You might also want to check out the CairoLS contributing guidelines.
There are three ways you can develop and run the extension.
-
Open this repository in VS Code and press
F5
to start debugging. Everything should be already set up in the.vscode
directory. -
If you happen to make the most of your development in your editor of choice (like IntelliJ or Helix), you can run the VS Code Extension Host from the command line, like this:
# Build the extension. $ npm run compile # Run the extension in the VS Code Extension Host. # This npm script uses the --wait and --verbose arguments. $ npm run code
-
This technique is useful if you are not interested in developing the extension itself, but you need some unreleased changes when working on the Cairo compiler overall.
# Install vsce. $ npm install -g vsce # Or, if you're using macOS. $ brew install vsce # Package the extension. $ vsce package # Install the extension in your VS Code installation. # The `<version>` part will vary depending on the HEAD you are working on. $ code --install-extension cairo1-<version>.vsix
Try to make small PRs that could be squashed into a single commit. For larger work, try to make your commits small, self-contained, and well-described. Each commit should pass lints and tests. Then, set up a stack of pull requests, separate PR for each commit, and pointing to the previous one.
While your PR is being reviewed on, you can push merge commits and use
git commit --fixup
to push further changes to your commits.
Our policy is to not accept PRs that only fix typos in the documentation and code. We appreciate your effort, but we encourage you to focus on bugs and features instead.
Thanks! ❤️ ❤️ ❤️
CairoLS Team