Notepad++ Autocomplete file for OpenScad

by garyacrowellsr, published

Notepad++ Autocomplete file for OpenScad by garyacrowellsr Jul 9, 2012

Use This Project

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag

Thing Statistics

3857Views 683Downloads


The ancestor thing is fabulous, allowing the Notepad++ editor to be used in place of the marginal OpenScad editor. That thing includes an autocomplete file, which I have expanded here a little bit. Depending upon your preferences you may or may not like it, but I have included some additional keywords, and included the opening brackets for most functions. It works for me, YMMV. To do this I had to remove the calltip functions, but there were only a few of those.

Updated 10/3/13 to add additional autocomplete keywords, including colors and combinations of keywords that I use often, e.g:
"translate ([0, 0, 0]) cylinder (h = "


If you haven't done so, first you must go to http://www.thingiverse.com/thing:15363 and install the language file. Then you can add this autocomplete file.

Just like the ancestor thing, copy this .xml file into c:/Program Files/Notepad++/plugins/APIs (Windows 32bit) or C:/Program Files x86)/Notepad++/plugins/APIs (Windows 64bit).

To enable, go to settings, preferences, and select the backup/auto-completion tab, and set the options there.

All Apps

No results.

This works great except 'Save' is now grayed out in Notepad++. Any ideas?

'fraid I have no idea. Ctl-s works and that's what I always use.

Doesn't show up in Languages menu, any ideas?

I assume you've installed the language file from thing 15363? I initially had trouble with it showing up too, but I don't recall the specifics. Close
amp; restart Notepad perhaps. I also seem to recall that when I loaded a .scad file it recognized the extension and worked, even though it didn't show up on the language list initially.