A sample OpenSCAD editor with the basic features of a code editor, like syntax highlighting and autocompletion.
- Available on Linux, Mac OSX and Windows
- Autoformatting, Block Comment/Uncomment
- Code folding
- Syntax highlighting (In progress)
- Find & Replace (In progress)
- Autocomplete (Implementation only)
This editor requires node-webkit >= v0.3.0
-
Download one of the node-webkit prebuilt binaries (v0.4.0 — Jan 18, 2013):
-
Windows: win32
-
Mac: 32bit, 10.7+
-
Open/Install OpenSCAD and in the menu select
View -> Hide Editor
andDesign -> Automatic Reload and Compile
-
unzip the node-webkit binary and cut/copy the
nw.exe
andnw.pak
files into the OpenSCAD editor folder -
Run
nw.exe
and open a .scad file in both the editor AND in OpenSCAD itself -
Whenever you make changes in the editor press
F5
orCtrl-S
and OpenSCAD will render the changes
node-webkit
's code uses the MIT license, see their LICENSE
file.