We welcome contributions, but please read first! To ensure a smooth process and that your valuable work aligns with our roadmap, please keep the following in mind to help manage expectations:
Before undertaking any changes or new features, please discuss your plans with us. This helps align on scope, design, technical approach, and priority.
Even bug fixes can have unforeseen impacts or alternative solutions better suited for the codebase, so please ask first, we will be happy to discuss.
Please raise a request with support. (Snyk employees, use #ask-ide)
Consider whether your proposed change should be implemented within the IDE extension(s) or in the shared Language Server and related stack.
If your change is applicable to other Snyk IDE plugins as well, we may expect you to submit similar PRs for the other relevant IDE repositories after your initial PR has been reviewed and approved, as they will usually need to be merged all at once or not at all.
All changes must be thoroughly manually tested by you.
For visual changes the PR template asks for screenshots, so this is a good opportunity to snap them.
Any user-facing changes will require documentation changes, which you will need to prepare. If you do not have access to our content management system (you are not a Snyk employee), please add the documentation changes required (including new wording and screenshots) to the PR description.
We can instruct you on what to add to the CHANGELOG.md, so please ask.
In order to get started, you need to install PDE from the eclipse marketplace.
- Open Eclipse IDE
- Go to Help > Install New Software
- In the install window, select The Eclipse Project Updates
- In the list, select Eclipse Plugin Development Tools
- Proceed with the license terms and click Finish.
If you import the parent project as a maven project, eclipse should take care of everything.
If you encounter some issues with dependencies keep on reading.
If org.eclipse.* dependencies are causing compilation errors, open /target-platform/target-platform.target and click in the top right corner (Reload Target Platform).
If external dependencies are not picked up:
- run
./mvnw packageto fetch all required jars in the repo root, - reload Eclipse (F5 in
plugin) - and add as external dependencies the jars under
/plugin/target/dependency
Sometimes Java build path is incorrectly set when you import project into Eclipse.
-
Make sure you have source folder set to
src/main/javaforio.snyk.eclipse.pluginandsrc/test/javaforio.snyk.eclipse.plugin.tests.Navigate to
Project > Properties > Java Build Path > Sourceand make sure the correct folder is selected for both projects.
-
Make sure "Plug-in dependencies" and "Maven managed dependencies" are also on the Classpath.
Navigate to
Project > Properties > Java Build Path > Libraries. Select "Classpath" and "Add Library...", then select "Plug-in dependencies" and "Finish". Perform the same steps for "Maven managed dependencies".
In order to run Eclipse with the plugin, double-click plugin.xml
and click the overview tab. From there you can run a new instance of
eclipse by clicking "Launch an Eclipse application".



