When contributing to this repository, please first discuss the change you wish to make via an issue, maintainers of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
git clone https://github.com/stevensona/shader-toy.git
cd shader-toy
npm install
npm run webpack
Open the project folder in Visual Studio Code. Now you can run the extension via the Run Extension
button or pressing F5
. However if you previously built via webpack you can not set breakpoints. If you wish to set breakpoints instead do the following:
- Go into
package.json
and change themain
field to point toout/src/extension.js
, - open a new terminal in Visual Studio Code and execute
npm run watch
, - now when running the extension you can set breakpoints and changes will rebuild automatically.
The rough process for PRs should be as follows:
- Update README.md with examples for your new feature and one or more notes in the changelog,
- make sure that the
main
field ofpackage.json
points todist/extension.js
, - remove any leftover debugging code or notes from the code,
- make sure all files you touched are formatted,
- give the maintainers some time to respond to your PR and please notify them if you can not or do not want to continue working the PR,
- maintainers will merge your PR once any outstanding issues were resolved.