OpenSCAD/Notepad++ Language File (including useage guide) (Q59037)
Jump to navigation
Jump to search
No description defined
Language | Label | Description | Also known as |
---|---|---|---|
English |
OpenSCAD/Notepad++ Language File (including useage guide)
|
No description defined
|
Statements
www.thingiverse.com
0 references
thingiverse.com
0 references
https://spdx.org/licenses/CC-BY-SA-4.0
0 references
auto
0 references
Justblair
0 references
1.0.0
0 references
en
0 references
This guide is for Windows Users. I am growing to love OpenSCAD as a creative tool for 3D design but I do find that it's text editor lacks many of the basic features that I appreciate when writing code... Namely: Auto-Completion Syntax Highlighting Collapsible Outline levels Line Numbering Automatic Tabbing Search and Replace Block Tabbing using the tab key. I was pleased to discover however that you don't need to put up with the standard text editor. There is a feature that allows you to conveniently use the text editor of your choice with OpenSCAD. My editor of choice is Notepad++ a fast well featured open source text editor. You can download it from http://notepad-plus-plus.org/ Notepad++ supports many different programming languages but not unfortunately OpenSCAD. It does however have the facility that allows you to create your own language file which I have included here. This is definitely a work in progress as I have had to make a few compromises due to the limitations of Notepad++'s language editor. I dare say other more experienced coders opinions will differ as to how best to syntax code the OpenSCAD language. I am currently working on adding auto-complete functionality to notepad++ as we speak. I have included a working though not complete file called openscad_removethisbitandcopy.xml. Currently most if not all functions will auto-complete, what is going to take me longer is adding call-tips to all the functions which would be nice though is not critical. **** Edits ***** 13/5/2012 Added extension type to openscad.xml so that Notepad++ will now automatically detect language when .scad files are opened. Thankyou CrazyJaw, saved me some time there.
0 references