KronicDeth / intellij-elixir

Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)
Other
1.83k stars 153 forks source link

HTML Code Completion (emmet, etc) in .eex files #1756

Open TomGrozev opened 4 years ago

TomGrozev commented 4 years ago

Describe the bug HTML indentation and code completion does not work in .html.eex files.

To Reproduce Steps to reproduce the behavior:

  1. Try writing html in .html.eex files, using emmet or any code completion
  2. Syntax highlighting works but indentation and emmet does not

Expected behavior Should be able to type "div" and press tab to get opening and closing div tags. Typing "class" and pressing tab does not create class property. Typing an opening quote doesn't automatically add the closing quote. And other code suggestions and completion does not work for the HTML part of .html.eex files.

Desktop:

Erlang:

Elixir:

Plugin:

rdlu commented 4 years ago

Hi, same here fot emmet.

In my case zen/emmet is working for eex, but the indentation of the close tag is not.

For .leex is not working at all, only syntax highlight.

Version 11.6.0 from store

IntelliJ IDEA 2020.1 (Ultimate Edition)
Build #IU-201.6668.121, built on April 8, 2020
Runtime version: 11.0.6+8-b765.25 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.6.10-3-manjaro
GC: ParNew, ConcurrentMarkSweep
Memory: 841M
Cores: 4
Non-Bundled Plugins: org.elixir_lang
Current Desktop: GNOME
Erlang/OTP 22 [erts-10.6.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]

Elixir 1.10.1 (compiled with Erlang/OTP 22)

Thanks for the awesome plugin btw :D

rdlu commented 4 years ago

Weird, today is not working for .eex also. Yesterday was working.

I wil try a clean reinstall later.

HandOfGod94 commented 3 years ago

Faced same issue today. Couple of restarts and it goes away. One thing I have noticed though, if emmet works, then the elixir snippets doesn't appears as the first level suggestion while typing.

When emmet doesn't work: image

When emmet works: image

cjmaxik commented 3 years ago

Any update on this issue?