intellij-gdscript icon indicating copy to clipboard operation
intellij-gdscript copied to clipboard

Inject GDScript language into scenes

Open DatL4g opened this issue 5 years ago • 3 comments

Feature Request

Please Support Build-In Scripts

Script is located in scene file e.g. Game.tscn Packed in script/source = " ... "

DatL4g avatar Feb 06 '20 22:02 DatL4g

Thanks @DATL4G for noticing this. Shaders are broken too.

I'll fix it.

exigow avatar Feb 08 '20 19:02 exigow

Multiline strings should now be parsed correctly.

However, there is still no syntax highlighting (it's just a string).

exigow avatar Feb 08 '20 20:02 exigow

How To:

  • <multiHostInjector implementation="org.intellij.jflex.psi.impl.JFlexJavaCodeInjector"/>
  • https://github.com/JetBrains/Grammar-Kit/blob/master/src/org/intellij/jflex/psi/impl/JFlexJavaCodeInjectionHostImpl.java

exigow avatar Aug 24 '21 22:08 exigow