Loading

OpenSCAD/kate syntax file

by nerd256, published

OpenSCAD/kate syntax file by nerd256 Aug 30, 2012

Contents

Liked By

View All

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

4241Views 1100Downloads Found in 3D Printing

Summary

For those Linux users. Adds syntax highlighting for OpenSCAD files in the kate (and thus kwrite, among others) editors.

Instructions

Install openscad.xml into your kate syntax file directory. For me (Kubuntu), this is:

~/.kde/share/apps/katepart/syntax

Note: You must re-open kate/kwrite to recognize the new file. You may also have to manually set the highlighting via "Tools->Mode->Other->OpenSCAD"

Adapted from the notepad++ syntax file and the povray.xml syntax file which came with kate.

More from 3D Printing

view more

All Apps

Upgrade this Thing with Thingiverse Apps


No results.

Hi, thank you for this.

Is possible to you upload the file on github? For things that are code is easier to improve and contribute!

Hello Nerd and others,

In KDE 5 the location for the syntax file has changend!

You need to put it in here now:

.local/share/katepart5/syntax/

If that does not help, make sure to "Download Highlighting" in the kate settings.

PS: Nerd does the highlighting needs updating for the new openscad version ?

NIce addition crunch. I didn't really have any problem uploading my file but the interface has probably changed since then.

Nov 30, 2014 - Modified Nov 30, 2014

Hi

Many thanks for your work with syntax higlighting, without you i would have never used openscad (as i dont like the build in editor)!

So i made a little "code completion" addon for kate to make it easyer for me to code.

Check out my kate openscad snippet colletion for added fun in creating stuff with kate and openscad: http://www.thingiverse.com/thing:570634

PS: how did you get around the upload a 3d objekt as a file ?

Thanks

OpenSCAD Kate Snippets - Code completion and more

Exactly what I was looking for, thanks!

Very useful! Thanks :-)

Top