Skip to content

Formatting does not work on clean install if this is the only package installed #53

Closed
@benonymus

Description

@benonymus

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:

 File "/Users/xxx/Library/Application Support/Sublime Text/Installed Packages/ElixirSyntax.sublime-package/commands/hex_packages.py", line 6, in <module>
ImportError: No module named 'pathlib'

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:

Package Control: The dependency 'pathlib' is not currently installed; installing...
Package Control: The dependency 'pathlib' has successfully been installed or updated

I think this should be fixed in this package as per the comment.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions