EmmyLua / IntelliJ-EmmyLua

Lua IDE/Debugger Plugin for IntelliJ IDEA
https://emmylua.github.io
Apache License 2.0
1.73k stars 290 forks source link

@language injection does not support language names with spaces in the name #462

Closed varon closed 1 year ago

varon commented 2 years ago

lang-fail

Language injection does not parse languages correctly with a space in the name. This makes it impossible to inject Shell Script into a string in EmmyLua, which would help a lot to have!

I have tried the following workarounds:

--- @language 'Shell Script'
--- @language "Shell Script"
--- @language [Shell Script]

They do not work and throw parse errors.

Any other comments?(其它说明)

This is hugely important - I'd be happy to donate to the project to get this sorted out if you guys are accepting bug bounties!

is there a workaround for this?

ApeaSuperz commented 1 year ago

Need it too