Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding GLSL syntax highlighting to Eclipse [closed]

Tags:

eclipse

glsl

Is there an Eclipse plugin that adds support for GLSL files? I found something old on Google, but I couldn't get it to work.

like image 717
Yaron Tausky Avatar asked Dec 08 '11 16:12

Yaron Tausky


3 Answers

The Eclipse Shaders plugin mentioned by Gilbert Le Blanc works for me with Eclipse Juno.

Place the contents of the "plugins" folder in your Eclipse plugins folder, and place the contents of the "features" folder in your Eclipse features folder. Then restart Eclipse.

You might need to name your shaders with the extension ".glsl", or else right click the shader file in Eclipse, ->"Open With"->"GLSL Editor"

like image 194
Christopher Bruns Avatar answered Oct 18 '22 11:10

Christopher Bruns


If you're looking for GLSL ES syntax highlighting, I've just published an eclipse plugin here.

like image 21
petrbroz Avatar answered Oct 18 '22 13:10

petrbroz


Assuming you mean the OpenGL Shading Language, the Eclipse CDT plugin might work well enough.

Edited to add: I probably found the same Eclipse Shaders project on SourceForge that you found.

It appears that there is not a GLSL plugin for Eclipse.

like image 39
Gilbert Le Blanc Avatar answered Oct 18 '22 13:10

Gilbert Le Blanc