Giter Site home page Giter Site logo

knoblul / glsl4idea Goto Github PK

View Code? Open in Web Editor NEW

This project forked from darkyenus/glsl4idea

0.0 0.0 0.0 1.44 MB

A GLSL language plugin for IntelliJ IDEA

License: GNU Lesser General Public License v3.0

Shell 0.13% Java 74.94% Kotlin 2.52% HTML 0.11% GLSL 20.79% Lex 1.52%

glsl4idea's Introduction

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 or use language injections to treat a string literal as GLSL code.

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.

glsl4idea's People

Contributors

darkyenus avatar abigailbuccaneer avatar wyozi avatar knoblul avatar davidgilbertson avatar jameshiew avatar ra4king avatar tasemo avatar marcoaaguiar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.