Skip to content

Commit fc1aeb1

Browse files
authored
Fix URL scheme for code actions (#748)
* fix URL scheme for code actions * fix conflict
1 parent 8b34be1 commit fc1aeb1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616

1717
- Docstring template Code Action. https://github.com/rescript-lang/rescript-vscode/pull/764
1818

19+
#### :bug: Bug Fix
20+
21+
- Fix URL scheme for Code Action. https://github.com/rescript-lang/rescript-vscode/pull/748
22+
1923
## 1.16.0
2024

2125
#### :rocket: New Feature

analysis/src/CodeActions.ml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ let stringifyCodeActions codeActions =
66
(codeActions |> List.map Protocol.stringifyCodeAction |> Protocol.array)
77

88
let make ~title ~kind ~uri ~newText ~range =
9+
let uri = uri |> Uri.fromPath |> Uri.toString in
910
{
1011
Protocol.title;
1112
codeActionKind = kind;

0 commit comments

Comments
 (0)