elixir-editors / elixir-tmbundle

A TextMate and Sublime Text Bundle for the Elixir programming language
https://elixir-lang.org/
Other
263 stars 61 forks source link

Sublime Text 4 crashes due to saving Elixir files #189

Closed liveforeverx closed 3 years ago

liveforeverx commented 3 years ago

I have fresh new installation of Sublime Text 4 (to verify, that it happens with Elixir plugin - so I'm not sure, it is problem of a plugin). The only package is installed is - Elixir.

Whenever I try to save any .ex File (doesn't happen with other files) - the Sublime crashes. I saw the same behaviour on fully installed Sublime and again only on Elixir files, so I tried to replicate with a fresh installation.

I do not know, how to retrieve logs to understand it more. Does anybody else has the same problem? Does anybody knows, how to debug it?

josevalim commented 3 years ago

Do you have format on save or similar? It may be related to #166.

liveforeverx commented 3 years ago

@josevalim That was the first thing, which I tried, I disabled in old installation, but it happens without format on save.

Now, I have installed package additionally manually, to try to find the error, and I have this lines added:

Screenshot 2021-06-05 at 17 36 36

For existing files I see this:

Screenshot 2021-06-05 at 17 37 11

So, it it isn't enabled.

liveforeverx commented 3 years ago

I tried to install some non-standard syntax highlighting (for example: Julia) - saving new files with .jl extension doesn't crash Sublime. My suspension is - if the Sublime 4 may be broke something in custom syntax highlighting.

liveforeverx commented 3 years ago

I could reproduce it with other files (it just happens not always). So, it isn't related to Elixir.

Sorry for bothering! I'm closing it now. Thank you for very quick answer!

Will try to open by Sublime.