Skip to content

Commit b915e61

Browse files
committed
changelog for the next version
1 parent 31a02a8 commit b915e61

File tree

4 files changed

+34
-29
lines changed

4 files changed

+34
-29
lines changed

RELEASE_NOTES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
### 7.5.3 - 21.04.2023
2+
3+
* Update to FSAC 0.59.6 to get all the delightful new features and fixes. You can check the release notes for [0.59.6](https://github.com/fsharp/FsAutoComplete/releases/tag/v0.59.5).
4+
* Default to Adaptive LSP server!
5+
* Support using locally-built FSAC binaries more easily.
6+
* Don't overload FSAC with signature request. (thanks @TheAngryByrd)
7+
* Add a bunch of code snippets for F# (thanks @TheAngryByrd!)
8+
* Enhance how examples are shown in tooltips, and include command links that open Info Panel (thanks @MaximeMangel!)
9+
110
### 7.5.2 - 19.03.2023
211

312
* Update to FSAC 0.59.4 to get all the delightful new features and fixes. You can check the release notes for [0.59.2](https://github.com/fsharp/FsAutoComplete/releases/tag/v0.59.2), [0.59.3](https://github.com/fsharp/FsAutoComplete/releases/tag/v0.59.3) and [0.59.4](https://github.com/fsharp/FsAutoComplete/releases/tag/v0.59.4) for more details.

paket.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,4 +242,4 @@ STORAGE: PACKAGES
242242
RESTRICTION: == netstandard2.0
243243
NUGET
244244
remote: https://api.nuget.org/v3/index.json
245-
fsautocomplete (0.59.4)
245+
fsautocomplete (0.59.6)

src/Components/InfoPanel.fs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ module InfoPanel =
9292

9393
let commentContent = res.Comment
9494

95-
let footerContent =
96-
res.FooterLines
97-
|> String.concat "\n\n"
95+
let footerContent = res.FooterLines |> String.concat "\n\n"
9896

9997
let ctors =
10098
res.Constructors
@@ -268,8 +266,7 @@ module InfoPanel =
268266
promise {
269267
match Panel.panel with
270268
| Some _ -> ()
271-
| None ->
272-
do! openPanel ()
269+
| None -> do! openPanel ()
273270

274271
do! Panel.updateOnLink !!o?XmlDocSig !!o?AssemblyName
275272
}

src/Core/LanguageService.fs

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -614,10 +614,7 @@ Consider:
614614
opts.revealOutputChannelOn <- Some Client.RevealOutputChannelOn.Never
615615

616616
opts.initializationOptions <- Some !^(Some initOpts)
617-
opts?markdown <- createObj [
618-
"isTrusted" ==> true
619-
"supportHtml" ==> true
620-
]
617+
opts?markdown <- createObj [ "isTrusted" ==> true; "supportHtml" ==> true ]
621618

622619
opts
623620

@@ -680,8 +677,7 @@ Consider:
680677

681678
let probePathForTFMs (basePath: string) (tfm: string) =
682679
let availableTFMs =
683-
node.fs.readdirSync (!!basePath)
684-
|> Seq.filter (fun p -> p.StartsWith "net") // there are loose files in the basePath, ignore those
680+
node.fs.readdirSync (!!basePath) |> Seq.filter (fun p -> p.StartsWith "net") // there are loose files in the basePath, ignore those
685681

686682
printfn $"Available FSAC TFMs: %A{availableTFMs}"
687683

@@ -696,32 +692,35 @@ Consider:
696692
let isNetFolder (folder: string) =
697693
printfn $"checking folder %s{folder}"
698694
let baseName = node.path.basename folder
695+
699696
baseName.StartsWith("net")
700-
&&
701-
let stat = node.fs.statSync(!!folder)
702-
stat.isDirectory()
697+
&& let stat = node.fs.statSync (!!folder) in
698+
stat.isDirectory ()
703699

704700
let fsacPathForTfm (tfm: string) =
705701
match fsacNetcorePath with
706-
| null | "" ->
702+
| null
703+
| "" ->
707704
// user didn't specify a path, so use FSAC from our extension
708705
let binPath = node.path.join (VSCodeExtension.ionidePluginPath (), "bin")
709706
probePathForTFMs binPath tfm
710707
| userSpecified ->
711-
if userSpecified.EndsWith ".dll" then userSpecified else
712-
// if dir has tfm folders, probe
713-
let filesAndFolders =
714-
node.fs.readdirSync (!!userSpecified)
715-
|> Seq.map (fun child -> node.path.join( [| userSpecified; child |]))
716-
717-
printfn $"candidates: %A{filesAndFolders}"
718-
if filesAndFolders |> Seq.exists isNetFolder
719-
then
720-
// tfm directories found, probe this directory like we would our own bin path
721-
probePathForTFMs userSpecified tfm
708+
if userSpecified.EndsWith ".dll" then
709+
userSpecified
722710
else
723-
// no tfm paths, try to use `fsautocomplete.dll` from this directory
724-
node.path.join (userSpecified, "fsautocomplete.dll")
711+
// if dir has tfm folders, probe
712+
let filesAndFolders =
713+
node.fs.readdirSync (!!userSpecified)
714+
|> Seq.map (fun child -> node.path.join ([| userSpecified; child |]))
715+
716+
printfn $"candidates: %A{filesAndFolders}"
717+
718+
if filesAndFolders |> Seq.exists isNetFolder then
719+
// tfm directories found, probe this directory like we would our own bin path
720+
probePathForTFMs userSpecified tfm
721+
else
722+
// no tfm paths, try to use `fsautocomplete.dll` from this directory
723+
node.path.join (userSpecified, "fsautocomplete.dll")
725724

726725
let tfmForSdkVersion (v: SemVer) =
727726
match int v.major, int v.minor with

0 commit comments

Comments
 (0)