https://kotlinlang.org logo
#intellij
Title
# intellij
a

Adam S

12/10/2023, 10:05 AM
I'm sure that language injection for C used to work. Am I missing something? Do I need to add a particular IntelliJ plugin? I'm using IntelliJ IDEA 2023.3.
it doesn't work in K/N .def files either, but it used to...
s

sindrenm

12/10/2023, 4:37 PM
I'm not at all familiar with this, but according to https://www.jetbrains.com/help/idea/using-language-injections.html you would need the IntelliLang plugin enabled.
Make sure that the IntelliLang plugin is enabled before you start working with language injections.
(It might be enabled by default, but I don't have IntelliJ available in front of me right now to check.)
b

Ben Woodworth

12/10/2023, 5:18 PM
I think I noticed the same with Regex("...") not being highlighted for Kotlin a couple weeks ago, but didn't think much of it. Maybe it's a broader issue with language injection. Or maybe I have to make sure the IntelliLang plug-in is actually installed 🤷‍♂️
a

Adam S

12/10/2023, 6:41 PM
Ah maybe there's a problem with IntelliLang https://plugins.jetbrains.com/plugin/13374-intellilang - it says "Not compatible with the version of your running IDE (IntelliJ IDEA 2023.3)"
👀 1
t

twisterrob

12/12/2023, 8:49 AM
they also removed some plugins that were pre-bundled before, e.g. Android, this might be similar (still available, but you have to install it manually after upgrade)
(Note: since Android has NDK support, maybe it also contained C support?)
4 Views