Skip to content

Commit 12a1372

Browse files
committed
release notes and FSAC update for 7.5.2
1 parent 93e2f63 commit 12a1372

File tree

4 files changed

+24
-35
lines changed

4 files changed

+24
-35
lines changed

RELEASE_NOTES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
### 7.5.2 - 19.03.2023
2+
3+
* 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.
4+
* Update Test Explorer feature to detect more kinds of test cases, and to nest them more reliably. Thanks @kojo12228 for digging into that!
5+
* Ionide should now support running on the .NET 8 previews, if you have those installed.
6+
* 'Related files' are now nested underneath their source files. By default this means that .fsi, .fs.js, and .fs.js.map files will be grouped with their matching .fs file in the tree, as will .fsi and .fs files with .fsl files, and .fsi and .fsi files with .fsy files. If you'd like to expand on this, check out the `explorer.fileNesting.patterns` setting! Thanks to @MangelMaxime for the work here!
7+
* Adding and removing files can now be done on folders, not just files. It can also be done from the Solution Explorer in a more correct way. Thanks again to @MangelMaxime for taking that on!
8+
* Also relating to file management - if there are errors doing this you'll now see them in a pop up notification, again courtesy of @MangelMaxime. @MangelMaxime for President!
9+
* @TheAngryByrd added support for for the `FSharp.fsac.cachedTypeCheckCount` property, which you can use to help control how much memory is dedicated to keeping typecheck results around. This defaults to 200, which _should_ be good for small-to-medium sized projects.
10+
111
### 7.5.1 - 26.02.2023
212

313
Same as 7.5.0, but republished to fix an issue with publishing.

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.2)
245+
fsautocomplete (0.59.4)

src/Components/SolutionExplorer.fs

Lines changed: 12 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ module SolutionExplorer =
681681
///
682682
/// <c>None</c> otherwise.
683683
/// </returns>
684-
let rec private tryFindParentProject (model : Model) =
684+
let rec private tryFindParentProject (model: Model) =
685685
match model with
686686
| Project _ -> Some model
687687
| File(parent, _, _, _, _) ->
@@ -777,7 +777,7 @@ module SolutionExplorer =
777777
| None -> window.showErrorMessage ("No open folder.") |> ignore
778778
}
779779

780-
let private cleanTextEditorsDecorations (filePath : string) =
780+
let private cleanTextEditorsDecorations (filePath: string) =
781781

782782
// VSCode seems to used Unix style paths
783783
let normalizedPath = filePath.Replace("\\", "/")
@@ -887,15 +887,10 @@ module SolutionExplorer =
887887
| None -> ()
888888

889889
return null
890-
}
891-
)
892-
|> Promise.catchEnd (fun error ->
893-
window.showErrorMessage error.Message
894-
|> ignore
895-
)
890+
})
891+
|> Promise.catchEnd (fun error -> window.showErrorMessage error.Message |> ignore)
896892
| _ -> undefined
897-
| _ ->
898-
undefined
893+
| _ -> undefined
899894
| _ -> undefined
900895
|> ignore
901896

@@ -920,15 +915,10 @@ module SolutionExplorer =
920915
let file' = handleUntitled file
921916
FsProjEdit.addFileAbove proj virtPath file'
922917
| None -> Promise.empty)
923-
|> Promise.catchEnd (fun error ->
924-
window.showErrorMessage error.Message
925-
|> ignore
926-
)
918+
|> Promise.catchEnd (fun error -> window.showErrorMessage error.Message |> ignore)
927919
| _ -> undefined
928-
| _ ->
929-
undefined
930-
| _ ->
931-
undefined)
920+
| _ -> undefined
921+
| _ -> undefined)
932922
)
933923
|> context.Subscribe
934924

@@ -949,10 +939,7 @@ module SolutionExplorer =
949939
let file' = handleUntitled file
950940
FsProjEdit.addFileBelow proj virtPath file'
951941
| None -> Promise.empty)
952-
|> Promise.catchEnd (fun error ->
953-
window.showErrorMessage error.Message
954-
|> ignore
955-
)
942+
|> Promise.catchEnd (fun error -> window.showErrorMessage error.Message |> ignore)
956943
| _ -> undefined
957944
| _ -> undefined
958945

@@ -972,12 +959,8 @@ module SolutionExplorer =
972959
| Some file ->
973960
let file' = handleUntitled file
974961
FsProjEdit.addFile proj file'
975-
| None -> Promise.empty
976-
)
977-
|> Promise.catchEnd (fun error ->
978-
window.showErrorMessage error.Message
979-
|> ignore
980-
)
962+
| None -> Promise.empty)
963+
|> Promise.catchEnd (fun error -> window.showErrorMessage error.Message |> ignore)
981964
| _ -> undefined)
982965
)
983966
|> context.Subscribe
@@ -1008,10 +991,7 @@ module SolutionExplorer =
1008991
else
1009992
Promise.empty
1010993
| None -> Promise.empty)
1011-
|> Promise.catchEnd (fun error ->
1012-
window.showErrorMessage error.Message
1013-
|> ignore
1014-
)
994+
|> Promise.catchEnd (fun error -> window.showErrorMessage error.Message |> ignore)
1015995
| _ -> undefined)
1016996
)
1017997
|> context.Subscribe

src/Core/LanguageService.fs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,7 @@ Consider:
449449
OldFileVirtualPath = file
450450
NewFileName = newFile }
451451

452-
cl.sendRequest ("fsproj/renameFile", req)
453-
|> Promise.map ignore
452+
cl.sendRequest ("fsproj/renameFile", req) |> Promise.map ignore
454453

455454
let fsprojRemoveFile (fsproj: string) (file: string) =
456455
match client with

0 commit comments

Comments
 (0)