
Resurrected OpenSCAD plugin for IntelliJ
This is a fork of the original OpenSCAD IntelliJ plugin that became orphaned (https://github.com/ldenisey/idea-openscad)
My fork can be found here: https://github.com/mjparme/idea-openscad
Plugin requires IntelliJ 2026.x and can be installed from Plugins in the Settings. Don't need an IntelliJ license to use it.
https://plugins.jetbrains.com/plugin/33582-openscad-support/edit/versions/stable/1140844
Changes:
- Can now rename modules, functions, and variables from both declarations and call sites. Renames follow
useandincludepaths - Go to declaration works
- The plugin can parse the bosl2 library (brought in PR https://github.com/ldenisey/idea-openscad/pull/109 from
icavenfrom the original that had been sitting unmerged since 2024) - Completions for modules, functions, variables, language keywords, and file paths for use and include. Completion candidates follow use and include paths. Can complete modules with or without parameter names. If you complete with parameters any parameter defaults are completed as well.
- Completion of inner modules works
- Completion of modules when the caret is before the declaration works
- Completion of global libraries (hit ctrl-space again to get global libaries added to completion candidates)
- Old plugin only used lexer tokens for highlighting which meant most everything was an "identifier". It now uses the parser for semantic help and now modules, functions, variables, and parameters can now be giving their own color in the Color Scheme
- Default color scheme available in Default, Darcula, and Islands Dark editor themes
- Default color scheme gives different color to modules, functions, variables, and parameters
- Gave OpenSCAD its own live template group associated with .scad files and added starter live templates.
- Plugin updated to a IntellJ Platform 2.x plugin, upgraded build
- Fixed some issues with the preview on startup
- Fixed several issues with actions not being on the EDT
Basically it is actually usable now. Open an Issue on github if you run into problems (or open a PR).
More info in the README: https://github.com/mjparme/idea-openscad/blob/master/README.md
Known Issue:
The preview doesn't reliably update when the file saves (sometimes it does). I am working on this. Actually I am working on bringing openscad-wasm in so an executable isn't needed for the preview (will still be needed for "open in openscad" and "export").