Cannot make elm-format work in Sublime 2
- Dominant language
- Haskell
- Stars
- 1.3k
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
Not sure this is the right place for this question, but here goes:
I think I have followed all the instruction steps, including putting elm-format on my Mac (it is in my PATH)
But when I try to run elm-format from Sublime 2.
The console gives the following error:
```
File "./sublime_plugin.py", line 362, in run_
File "./elm_format.py", line 26, in run
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 623, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
```
Anyone have any idea how to fix this?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with elm_format.py at line 26 and the Sublime 2 console traceback, then check how the plugin invokes elm-format despite it being on PATH. Reproduce the command from Sublime 2 and verify that formatting completes without the reported OSError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100