Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start dune utop on OCaml: Evaluate selection #1613

Open
ponyatov opened this issue Oct 6, 2024 · 2 comments
Open

start dune utop on OCaml: Evaluate selection #1613

ponyatov opened this issue Oct 6, 2024 · 2 comments

Comments

@ponyatov
Copy link

ponyatov commented Oct 6, 2024

    "ocaml.repl.useUtop": false,
    "ocaml.repl.path": "${userHome}/.opam/default/bin/dune",
    "ocaml.repl.args": ["utop"],

I can't force plugin to run dune utop with custom ${workspaceFolder}/.ocamlinit in terminal on pressing Evaluate selecton

@ponyatov
Copy link
Author

ponyatov commented Oct 6, 2024

${userHome} not evaluated in config string -- works with replaced by rel path ../

@ponyatov
Copy link
Author

ponyatov commented Oct 6, 2024

This works, without ${var}s in settings.json:

    "ocaml.repl.useUtop": false,
    "ocaml.repl.path": "../.opam/default/bin/dune",
    "ocaml.repl.args": ["utop"],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants