Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit64c7323

Browse files
authored
fix 2999 (#3001)
1 parent9c75634 commit64c7323

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎vsintegration/src/FSharp.Editor/QuickInfo/Navigation.fs‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@ type internal QuickInfoNavigation
2222
solution.TryGetDocumentIdFromFSharpRange(range, initialDoc.Project.Id)|> Option.isSome
2323

2424
member__.RelativePath(range:range)=
25-
lettargetUri= Uri(range.FileName)
26-
Uri(solution.FilePath).MakeRelativeUri(targetUri).ToString()
27-
|> Uri.UnescapeDataString
25+
letrelativePathEscaped=
26+
match solution.FilePathwith
27+
|null-> range.FileName
28+
| sfp->
29+
lettargetUri= Uri(range.FileName)
30+
Uri(sfp).MakeRelativeUri(targetUri).ToString()
31+
relativePathEscaped|> Uri.UnescapeDataString
2832

2933
member__.NavigateTo(range:range)=
3034
asyncMaybe{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp