Skip to content

Commit

Permalink
Fix vscode extension file open on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
djblue committed Dec 16, 2024
1 parent 253a8bb commit 058f77f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/portal/extensions/vs_code.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
(defn- open-file* [{:keys [file line column]}]
(a/let [document (.openTextDocument
vscode/workspace
(.parse vscode/Uri file))
(.file vscode/Uri file))
^js editor (.showTextDocument vscode/window document 1 false)
^js position (vscode/Position. (dec line) (dec column))
^js range (vscode/Range. position position)]
Expand Down

0 comments on commit 058f77f

Please sign in to comment.