File tree 4 files changed +5
-9
lines changed
4 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 17
17
- Fix highlighting of other languages being affected by rescript-vscode. https://github.com/rescript-lang/rescript-vscode/pull/973
18
18
- Use canonicalized URIs/paths for jump to definition. https://github.com/rescript-lang/rescript-vscode/pull/982
19
19
- Fix JSX prop special case in end of JSX element. https://github.com/rescript-lang/rescript-vscode/pull/984
20
+ - preserve URI format in canonicalizeUri. https://github.com/rescript-lang/rescript-vscode/pull/990
21
+ - Remove workaround for canonicalize function in tests https://github.com/rescript-lang/rescript-vscode/pull/992
20
22
21
23
#### :nail_care : Polish
22
24
Original file line number Diff line number Diff line change @@ -191,9 +191,7 @@ let main () =
191
191
(Json. escape (CreateInterface. command ~path ~cmi File))
192
192
| [_; " format" ; path] ->
193
193
Printf. printf " \" %s\" " (Json. escape (Commands. format ~path ))
194
- | [_; " test" ; path] ->
195
- Cfg. isTestMode := true ;
196
- Commands. test ~path
194
+ | [_; " test" ; path] -> Commands. test ~path
197
195
| args when List. mem " -h" args || List. mem " --help" args -> prerr_endline help
198
196
| _ ->
199
197
prerr_endline help;
Original file line number Diff line number Diff line change 1
1
let debugFollowCtxPath = ref false
2
2
3
3
let isDocGenFromCompiler = ref false
4
-
5
- let isTestMode = ref false
Original file line number Diff line number Diff line change @@ -104,7 +104,5 @@ let classifySourceFile path =
104
104
else Other
105
105
106
106
let canonicalizeUri uri =
107
- if Cfg. isTestMode.contents then uri |> Uri. toString
108
- else
109
- let path = Uri. toPath uri in
110
- path |> Unix. realpath |> Uri. fromPath |> Uri. toString
107
+ let path = Uri. toPath uri in
108
+ path |> Unix. realpath |> Uri. fromPath |> Uri. toString
You can’t perform that action at this time.
0 commit comments