Skip to content

Commit

Permalink
Merge pull request #653 from ckipp01/autoImport
Browse files Browse the repository at this point in the history
feat: add in new autoImportBuild setting
  • Loading branch information
ckipp01 authored Feb 22, 2024
2 parents dd1b4be + e46682c commit 9e16c36
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/metals.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ All available settings:

_ones that are sent and used by the server_
* |ammoniteJvmProperties|
* |autoImportBuild|
* |bloopSbtAlreadyInstalled|
* |bloopVersion|
* |enableSemanticHighlighting|
Expand Down Expand Up @@ -219,6 +220,19 @@ property needs to be a separate item. >
{"-Xmx1G", "-Xms100M"}
<

autoImportBuild *autoImportBuild*

Type: string ~
Default: "off" ~

Automatically import your build instead of recieving a prompt to ask you.

"initial" means that your build will only be automatically be imported upon
first opening a project.

"all" means that your build will just always be automatically imported or
reloaded upon detected changes.

bloopSbtAlreadyInstalled *bloopSbtAlreadyInstalled*

Type: boolean ~
Expand Down
1 change: 1 addition & 0 deletions lua/metals/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ local metals_init_options = {
-- so they are just passed along.
local valid_metals_settings = {
"ammoniteJvmProperties",
"autoImportBuild",
"bloopSbtAlreadyInstalled",
"bloopVersion",
"enableSemanticHighlighting",
Expand Down

0 comments on commit 9e16c36

Please sign in to comment.