Skip to content

A GLSL language plugin for IntelliJ IDEA

License

Notifications You must be signed in to change notification settings

Zoodinger/glsl4idea

This branch is 64 commits behind Darkyenus/glsl4idea:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7ed100a · Oct 21, 2019
Oct 21, 2019
Jun 26, 2015
Dec 14, 2015
Oct 21, 2019
Dec 22, 2015
Dec 19, 2015
Feb 12, 2019
Jun 26, 2015
Jul 8, 2015
Jun 26, 2015
Jun 26, 2015
Dec 12, 2015

Repository files navigation

glsl4idea

A language plugin for IntelliJ IDEA that provides basic support for GLSL language.

Current features:

  • Syntax highlighting
  • Grammar checking
  • Support for all basic GLSL constructs, including structs and GLSL ES precision statements
  • Basic support for preprocessor statements

Original code made by Yngve Devik Hammersland and Jean-Paul Balabanian.
Originally hosted on https://code.google.com/p/glsl4idea/
Changes made with permissions from original authors by Jan Polák (Darkyen).

Licensed under GNU LGPL, see license file.

How to use

  1. Get the plugin
  1. Install plugin (Tested on IntelliJ CE 14, similar versions may work) (Preferences -> Plugins -> Install plugin from disk)
  2. Create .glsl file and enjoy

Development

Compiling

  1. Clone (or download) this repository
  2. Create Intellij project in this directory with Plugin module (Make sure you have official Plugin DevKit installed)
  • Easiest way might be to first create an empty project in glsl4idea folder and then create a Intellij Platform Plugin module from same folder
  1. File -> Project Structure -> Modules -> Right-click the resources directory -> Mark as Resources
  2. Build -> Prepare plugin for deployment -> You will be notified with plugin jar path

Testing

To test changes, there are some testing files in testfiles directory. You can also test on piglit, run DownloadPiglit.sh to download and sort shaders for testing.

About

A GLSL language plugin for IntelliJ IDEA

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 91.9%
  • GLSL 5.8%
  • Lex 1.9%
  • Other 0.4%