Skip to content

Commit 95d6092

Browse files
committed
Bump version to 7.21.2
1 parent 2de6103 commit 95d6092

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

release/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### 7.21.2 - 21.09.2024
2+
3+
* FIXED: [Fix Find References in CodeLens](https://github.com/ionide/ionide-vscode-fsharp/pull/2042) from @PaigeM80
4+
15
### 7.21.1 - 07.09.2024
26

37
* Updated to FSAC 0.74.1. This release includes fixes for the floating codelens issue users have reported, updates to the Fantomas integration to allow usage with the global-tool installation of fantomas, and an enhancement to the 'generate cases' code action for DU matches that allows it to generate cases even when no matches have been entered.

release/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1812,5 +1812,5 @@
18121812
"type": "git",
18131813
"url": "https://github.com/ionide/ionide-vscode-fsharp.git"
18141814
},
1815-
"version": "7.21.1"
1815+
"version": "7.21.2"
18161816
}

src/Components/CodeLensHelpers.fs

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,18 @@ module CodeLensHelpers =
1111

1212
type LspUri = string
1313

14-
type LspPosition = {
15-
line : uint32
16-
character : uint32
17-
}
14+
type LspPosition = { line: uint32; character: uint32 }
1815

19-
type LspRange = {
20-
start : LspPosition
21-
``end`` : LspPosition
22-
}
16+
type LspRange =
17+
{ start: LspPosition
18+
``end``: LspPosition }
2319

24-
type LspLocation = {
25-
uri : string
26-
range : LspRange
27-
}
20+
type LspLocation = { uri: string; range: LspRange }
2821

2922
type CustomIExports =
3023
abstract registerCommand:
31-
command: string * callback: (LspUri -> LspPosition -> LspLocation seq -> obj option) * ?thisArg: obj -> Disposable
24+
command: string * callback: (LspUri -> LspPosition -> LspLocation seq -> obj option) * ?thisArg: obj ->
25+
Disposable
3226

3327
let showReferences (uri: LspUri) (args2: LspPosition) (args3: LspLocation seq) =
3428
let uri = vscode.Uri.parse !!uri
@@ -54,5 +48,8 @@ module CodeLensHelpers =
5448

5549
let activate (context: ExtensionContext) =
5650
(unbox<CustomIExports> commands)
57-
.registerCommand ("fsharp.showReferences", unbox<(LspUri -> LspPosition -> LspLocation seq -> obj option)> (showReferences))
51+
.registerCommand (
52+
"fsharp.showReferences",
53+
unbox<(LspUri -> LspPosition -> LspLocation seq -> obj option)> (showReferences)
54+
)
5855
|> context.Subscribe

0 commit comments

Comments
 (0)