intellij-elixir
intellij-elixir copied to clipboard
Syntax highlighting doesn't work with IntelliJ Remote Development
Describe the bug Some features of the Elixir plugin do not work with IntelliJ Remote Development.
One of the features that doesn't work is syntax highlighting.
As you can see, there's no syntax highlighting here. However if I try to use the "Go to" option, it does work and navigate to the file where the module/aliases are defined.
To Reproduce Steps to reproduce the behavior:
- Use IntelliJ 2023.2 Ultimate IDE with remote development
- Open any elixir project, with elixir plugin installed (16.0.0) as a "Host" plugin.
- Check for syntax highlighting
Expected behavior The symbols should be colored/highlighted appropriately in the file, like in the local IntelliJ
Screenshots
Logs If reporting a hang or other performance issue, please attach the thread dumps.
There don't seem to be any plugin specific logs either on the client side or server side. Checked thread dumps but no sign of anything elixir plugin related.
Desktop:
- OS: Mac OS Jetbrains Client, Jetbrains IDE/server running on Ubuntu 20
Erlang:
- Installer [source]
- Version [22.0.7]
Elixir:
- Installer [source]
- Version [1.8.2]
Plugin:
- Version [16.0.0]
Additional context I'm not quite sure if this plugin is fully supported with remote development as of yet, and any clarification is appreciated. Many of the other community plugins do work as host plugins.
This issues also happens with Remote Development with IntelliJ 2023.1.5 and Elixir Plugin 15.x versions.
I've never specifically added support for Remote Development. All I can think of is that a lot of the syntax highlighting in the plugin is annotations and not lexer syntax because the Elixir syntax doesn't know that def and defmacro are special. All the kernel and type stuff is annotations. Maybe annotations work differently remotely.