You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a follow up on the original PR that adds support for OCaml
Attempting to beautify the file in Windows 10 results in the following:
See ocp-indent installation instructions at https://github.com/Glavin001/atom-beautify#beautifiers or go to https://www.typerex.org/ocp-indent.html
Your program is properly installed if running 'where.exe ocp-indent' in your CMD prompt returns an absolute path to the executable.
Hide Stack Trace
Error: Could not find 'ocp-indent'. The program may not be installed.
at Function.Executable.commandNotFoundError (file:///C:/Users/[user]/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:276:14)
at HybridExecutable.Executable.commandNotFoundError (file:///C:/Users/[user]/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:268:18)
at file:///C:/Users/[user]/.atom/packages/atom-beautify/src/beautifiers/executable.coffee:196:22
at tryCatcher (C:\Users\[user]\.atom\packages\atom-beautify\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Users\[user]\.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (C:\Users\[user]\.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:569:18)
at Promise._settlePromise0 (C:\Users\[user]\.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:614:10)
at Promise._settlePromises (C:\Users\[user]\.atom\packages\atom-beautify\node_modules\bluebird\js\release\promise.js:689:18)
at Async._drainQueue (C:\Users\[user]\.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:133:16)
at Async._drainQueues (C:\Users\[user]\.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:143:10)
at Async.drainQueues (C:\Users\[user]\.atom\packages\atom-beautify\node_modules\bluebird\js\release\async.js:17:14)
at process._tickCallback (internal/process/next_tick.js:103:7)
This is expected, as
where.exe ocp-indent
Does not find anything.
I've installed ocp-indent successfully through opam, but it is located in C:\OCaml64\home\[user]\.opam\4.03.0+mingw64\bin and can only be accessed through the OCaml64 terminal.
Checklist
I have:
Tried uninstalling and reinstalling Atom Beautify to ensure it installed properly
Reloaded (or restarted) Atom to ensure it is not a caching issue
I'm trying to get the docker image up and running for ocp-indent. I need to test it out on Windows, but if it works it should be an easy install and run out of the box. I'll provide an update soon.
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please add a comment. It will be closed if no further activity occurs. Thank you for your contributions.
This is a follow up on the original PR that adds support for OCaml
Attempting to beautify the file in Windows 10 results in the following:
This is expected, as
Does not find anything.
I've installed
ocp-indent
successfully throughopam
, but it is located inC:\OCaml64\home\[user]\.opam\4.03.0+mingw64\bin
and can only be accessed through the OCaml64 terminal.Checklist
I have:
so I know this is not a duplicate issue
Atom Beautify: Help Debug Editor
command in Atom and added link fordebug.md
Gist to this issueThe text was updated successfully, but these errors were encountered: