atom-community / atom-community/atom-script
Cannot find OCaml option in language list
- Dominant language
- JavaScript
- Stars
- 730
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I'm trying to compile and run OCaml through Script. I've typed a basic OCaml file and run, but it gives the error `You must select a language in the lower right, or save the file with an appropriate extension.` I looked in the lower right, I see a number of languages, but not OCaml. I installed OCaml through OPAM just a few months ago and it's up to date. When I type `which ocaml` it produces
`/home/user/.opam/4.07.1/bin/ocaml`
I also tried to put in the run configuration the command `ocamlc -o test test.ml` but there's no change in the behavior. I can confirm that this produces the correct result when run from the terminal.
I'm working on Linux Mint.
Contributor guide
Research direction
Start by reproducing the report in Atom Script with the OCaml file described as test.ml and the `ocamlc -o test test.ml` run configuration. Trace how the lower-right language list is populated and verify that OCaml appears there and can run successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100