Add a vscode setting for "disable autorebuild"

Open Beginner friendly
#171 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
ocaml, vscode
Domain
devtools

Research direction

Start in src/lsp/NotificationHandlers.re at the workspace/didChangeConfiguration handler and inspect the settings record, then update editor-extensions/vscode/package.json. The change is done when autoRebuild can be configured through the VS Code setting and defaults to true.

Written by the indexing model from the issue text.

Description

For people that like to run bsb outside of rls.
There's already a setting in rls autoRebuild, but there's no way to set it through vscode at the moment.

  • in NotificationHandlers.re, "workspace/didChangeConfiguration", parse out an autoRebuild parameter and add it to the settings record.
  • in the vscode plugin's package.json add a reason_language_server.autoRebuild setting, defaulted to true.

cc @rusty-key

Dominant language
OCaml
Stars
649
Forks
85
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jaredly/reason-language-server

All issues in jaredly/reason-language-server

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.