Skip to content

Always freezes when I try to do :"something_#{justlike}_this" #1562

Open
@sikanrong

Description

@sikanrong

Elixir 1.8.2 (compiled with Erlang/OTP 21)
intellij-elixir: 11.0.1

Basically as I edit a text file and the plugin has to query Elixir for all sorts of stuff pertaining to syntax-highlighting, the IDE is very prone to freezing/crashing. Also the behavior is really repeatable; if the plugin doesn't like some particular piece of code it'll dependably crash every time.

The specific thing it seems to really hate is this:

:"my_dynamic@#{name}_atom"

Note that this is basically the syntax to dynamically create an atom based on a string with other vars being injected into the string. The intellij-elixir plugin hates this. If I select this atom, try to delete it or edit it in some way in the code editor, the IDE will freeze. Restarting the IDE also does nothing to help.

WebStorm 2019.2.1
Build #WS-192.6262.59, built on August 20, 2019
Runtime version: 11.0.3+12-b304.39 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 12
Registry:
Non-Bundled Plugins: DBN, GLSL, io.protostuff.protostuff-jetbrains-plugin, org.elixir_lang, BashSupport, com.intellij.kubernetes

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions