Formatter not working
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
Research direction
Start with mix_format_file.py at the failing subprocess call and compare the package's formatter invocation with the reported Sublime Text environment. Reproduce the save action, verify how the mix executable is discovered, and consider the issue done when format_on_save runs without the reported FileNotFoundError.
Written by the indexing model from the issue text.
Description
I'm using Sublime Text 3.1 and I cannot get my formatter to work.
I've enabled format_on_save in my package settings but whenever I save i get the following message in the ST console:
no such context .nest_curly_and_self in Packages/Elixir/Syntaxes/Elixir.tmLanguage
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1072, in run_
return self.run(edit)
File "/Users/johan/Library/Application Support/Sublime Text 3/Installed Packages/Elixir.sublime-package/mix_format_file.py", line 49, in run
File "./python3.3/subprocess.py", line 819, in __init__
File "./python3.3/subprocess.py", line 1448, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'mix'
Do I need to configure anything in particular in order to get the formatter to work?
- Dominant language
- Python
- Stars
- 262
- Forks
- 64
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from elixir-editors/elixir-tmbundle
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
elixir-editors/elixir-tmbundle#184 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
elixir-editors/elixir-tmbundle#183 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
elixir-editors/elixir-tmbundle#180 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in elixir-editors/elixir-tmbundle
Similar issues
-
area: harness bug status: needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Human-Agent-Society/reef#625 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
learningequality/kolibri#15351 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Name consistency Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
eellak/triplestore#65 · 1 comment ·