Skip to content

Commit

Permalink
Default RoslynSourceText (#1938)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAngryByrd authored Sep 28, 2023
1 parent 627a4a3 commit e8228f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions release/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,8 @@
"type": "string"
},
"FSharp.fsac.sourceTextImplementation": {
"default": "NamedText",
"description": "EXPERIMENTAL. Enables the use of a new source text implementation. This may have better memory characteristics. Requires restart.",
"default": "RoslynSourceText",
"description": "Enables the use of a new source text implementation. This may have better memory characteristics. Requires restart.",
"enum": [
"NamedText",
"RoslynSourceText"
Expand Down Expand Up @@ -1759,4 +1759,4 @@
"url": "https://github.com/ionide/ionide-vscode-fsharp.git"
},
"version": "7.12.3"
}
}
2 changes: 1 addition & 1 deletion src/Core/LanguageService.fs
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ Consider:
let verbose = "FSharp.verboseLogging" |> Configuration.get false

let sourceText =
"FSharp.fsac.sourceTextImplementation" |> Configuration.get "NamedText"
"FSharp.fsac.sourceTextImplementation" |> Configuration.get "RoslynSourceText"

/// given a set of tfms and a target tfm, find the first of the set that satisfies the target.
/// if no target is found, use the 'latest' tfm
Expand Down

0 comments on commit e8228f5

Please sign in to comment.