-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formatting does not work on clean install if this is the only package installed #53
Comments
Actually formatting is best done through LSP. My recommendation would be to install LSP and LSP-elixir. What's your sublime version BTW? |
So I guess we need a Apparently I never ran into this issue because PackageDev was always installed the whole time I worked on this package. Thanks for pointing this out! I guess it doesn't matter which version of ST4 it is? I assume you're using the latest version? |
How do you use it? From the context menu? Or did you set a keyboard shortcut for formatting with LSP? I thought |
LSP has format on save, too. LSP directly invokes the formatter code, so it bypasses the commandline. |
It does everything |
Correct, I am using the latest version. |
While LSP does format nicely, I dislike the additional baggage it brings. This package is more or less an all in one for my use case, with some custom snippets. |
Okay, so I tested this myself with a clean config. I couldn't test by installing the ElixirSyntax package but I put a symlink to the repository (with the I installed Package Control, restarted and got these console logs:
So it timed out while trying to download
I checked almost every palette command and everything worked fine. 👍 |
A restart is acceptable |
Hey,
For context I am in the process of transitioning from another editor and running into the following case:
When I only install this package and add the config to format on save, I see no formatting.
If I check the console in Sublime when I save an elixir file, I see the following:
I found this thread to be helpful: https://forum.sublimetext.com/t/pathlib-not-found-in-purchased-version/49978/2
I can confirm if I install PackageDev (and restart Sublime) the formatting works.
When I install it I can see this:
I think this should be fixed in this package as per the comment.
The text was updated successfully, but these errors were encountered: