Skip to content

Commit

Permalink
Bump version to 7.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
baronfel committed Feb 26, 2023
1 parent 1b5bf5f commit feb7e06
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 13 deletions.
7 changes: 6 additions & 1 deletion release/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
### 7.5.0 - 20.02.2023

* Update FSAC to 0.59.0 to get support for F# 7
* Update FSAC to 0.59.1 to get support for F# 7 and other fixes
* Introduce new config option `FSharp.inlineValues.[enabled, prefix]` to migrate from `FSharp.pipelineHints.[enabled, prefix]`
* Add support for OpenTelemetry-based tracing of the LSP and compiler service usages - set `"FSharp.openTelemetry.enabled"` to `true` and start up a collector (setting the `OTEL_EXPORTER_OTLP_ENDPOINT` ahead of time if necessary) and it all should just light up!
* Add a new flag `FSharp.fsac.conserveMemory` that if set will tell the compiler to be more aggressive about reclaiming memory. Trades off lower memory use for increase CPU use.
* Fix an error that was uncaught when some configuration settings changed (thanks @vain0x!)
* Add a new flag `FSharp.fsac.parallelReferenceResolution` to control if FSAC will use the new-in-F# 7 parallel reference resolution features. Should provide a speed up of project load times.
* For the FSI watcher use Inline Values APIs instead of rolling our own decorations

### 7.4.2 - 10.02.2023

Expand Down
16 changes: 9 additions & 7 deletions release/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -530,10 +530,10 @@
"scope": "machine-overridable",
"type": "string"
},
"FSharp.fsac.parallelReferenceResolution" : {
"default" : false,
"FSharp.fsac.parallelReferenceResolution": {
"default": false,
"description": "EXPERIMENTAL: Speed up analyzing of projects in parallel. Requires restart.",
"type" : "boolean"
"type": "boolean"
},
"FSharp.fsac.silencedLogs": {
"default": [],
Expand Down Expand Up @@ -675,16 +675,18 @@
"FSharp.notifications.trace": {
"default": false,
"description": "Enables more verbose notifications using System.Diagnostics.Activity to view traces from FSharp.Compiler.Service.",
"type" : "boolean"
"type": "boolean"
},
"FSharp.notifications.traceNamespaces": {
"default": [
"BoundModel.TypeCheck",
"BackgroundCompiler."
],
"description": "The set of System.Diagnostics.Activity names to watch.",
"type" : "array",
"required": ["FSharp.notifications.trace"]
"type": "array",
"required": [
"FSharp.notifications.trace"
]
},
"FSharp.openTelemetry.enabled": {
"default": false,
Expand Down Expand Up @@ -1633,4 +1635,4 @@
"url": "https://github.com/ionide/ionide-vscode-fsharp.git"
},
"version": "7.5.0"
}
}
13 changes: 10 additions & 3 deletions src/Components/Fsi.fs
Original file line number Diff line number Diff line change
Expand Up @@ -280,19 +280,26 @@ module Fsi =
symbols
|> Seq.choose (fun s ->
match values |> List.tryFind (fun (name, _) -> name = s.name) with
| Some (_, value) -> Some (s, value)
| Some(_, value) -> Some(s, value)
| None -> None)

let hints =
symbolsWithValues
|> Seq.map (fun (s, value) ->
let line = document.lineAt s.range.``start``.line
let hint = vscode.InlayHint.Create (line.range.``end``, !!(" == " + value), InlayHintKind.Parameter)

let hint =
vscode.InlayHint.Create(
line.range.``end``,
!!(" == " + value),
InlayHintKind.Parameter
)

hint.paddingLeft <- Some true
hint)
|> ResizeArray

logger.Debug ("Hints", hints)
logger.Debug("Hints", hints)
return hints
}
|> unbox
Expand Down
3 changes: 1 addition & 2 deletions src/Core/LanguageService.fs
Original file line number Diff line number Diff line change
Expand Up @@ -677,8 +677,7 @@ Consider:
let enableAdaptiveLspServer =
"FSharp.enableAdaptiveLspServer" |> Configuration.get false

let openTelemetryEnabled =
"FSharp.openTelemetry.enabled" |> Configuration.get false
let openTelemetryEnabled = "FSharp.openTelemetry.enabled" |> Configuration.get false

let enableProjectGraph =
"FSharp.enableMSBuildProjectGraph" |> Configuration.get false
Expand Down

0 comments on commit feb7e06

Please sign in to comment.