glsl4idea
glsl4idea copied to clipboard
A GLSL language plugin for IntelliJ IDEA
**Describe the bug** I have come across a shader that causes a crash in the GLSL parser of this plugin, which makes it impossible to edit the shader (when I...
Running on IJ 241, you get this error: ``` #glslplugin.actions.GLSLDeduceExpressionTypeAction - `ActionUpdateThread.OLD_EDT` is deprecated and going to be removed soon. 'glslplugin.actions.GLSLDeduceExpressionTypeAction' must override `getActionUpdateThread` and chose EDT or BGT. See...
## Unable to correctly trigger highlighted code block in layout uniform variables.   I got a .vert file like this ```glsl #version 460 core layout (location =...
GL_NV_shader_buffer_load lets you use bindless buffers with C-like syntax, including casting uint64_t to any* (float*, vec3*, SomeStruct*).    It's an OpenGL specific nvidia extension, not widely used.
**Is your feature request related to a problem? Please describe.** SKSL is a close derivative of GLSL and shouldn't take much effort to support. **Describe the solution you'd like** Support...
**Is your feature request related to a problem? Please describe.** Currently, when editing a raytracing shader, some raytracing-specific keywords such as `rayPayloadEXT` and `hitAttributeEXT` are unknown to this plugin, which...
## Multi-line call, aka. continuation indent in IDEA setting Before: ``` vec3( 1.0, 2.0, 3.0 ) ``` After, with continuation indent of 8 (default): ``` vec3( 1.0, 2.0, 3.0, )...
Exception is sometimes thrown when typing `;`. `commitDocument() left PSI inconsistent: not committed document` **To Reproduce** ```glsl #version 430 layout (location = 0) in vec3 aPos; layout (location = 1)...
**Describe the bug** When a variable is defined multiple times in a file the first definition seems to be used for type checking. This can be a problem if multiple...
**Describe the bug** The IDE is complaining about exceptions with the GLSL plugin. ``` com.intellij.diagnostic.PluginException: Element: class glslplugin.lang.parser.GLSLFile #GLSL because: different providers: com.intellij.psi.SingleRootFileViewProvider{vFile=jar:///home/funpro/.local/share/JetBrains/IdeaIC2023.1/GLSL4Idea/lib/GLSL4Idea-1.24.jar!/glsl/builtin.glsl, vFileId=1267040, content=VirtualFileContent{size=97756}, eventSystemEnabled=true}(5ee6b4b3); com.intellij.psi.SingleRootFileViewProvider{vFile=jar:///home/funpro/.local/share/JetBrains/IdeaIC2023.1/GLSL4Idea/lib/GLSL4Idea-1.24.jar!/glsl/builtin.glsl, vFileId=1267040, content=VirtualFileContent{size=97756}, eventSystemEnabled=true}(765a03b5)...