The GLSL plugin doesn't seem to like it if I use a Kotlin variable and insert that variable in the GLSL code. I do that to generate variations of the GLSL code (to avoid duplication) and to ensure I make no mistakes in uniform names.
To Reproduce
class A {
private val v = "err"
@Language("GLSL")
private val glsl = """
uniform float $v;
"""
}
Expected behavior
Ideally the code would not be highlighted as an error.
Screenshots
Versions
IDE: IntelliJ IDEA 2023.1 (Community Edition), Build #IC-231.8109.175, built on March 29, 2023, Runtime version: 17.0.7+7 amd64
Describe the bug
The GLSL plugin doesn't seem to like it if I use a Kotlin variable and insert that variable in the GLSL code. I do that to generate variations of the GLSL code (to avoid duplication) and to ensure I make no mistakes in uniform names.
To Reproduce
Expected behavior Ideally the code would not be highlighted as an error.
Screenshots![image](https://user-images.githubusercontent.com/108264/234550292-083f9cdb-bbaf-41e3-94cb-3412175d98cc.png)
Versions