Skip to content

Some problems when open link file #38577

@zhengxiaoyao0716

Description

@zhengxiaoyao0716
  • VSCode Version: November 2017 (version 1.19)
  • OS Version: Win10

Reproduces without extensions: Yes / No


forks from Could not open link file with absolute path

@mjbvz I open this new issue as your suggest, take a look, thanks.

image
image

[test](./test#L10) # relative, pass, L10 only works with preview (if in source, it can jump to the filr, but stays in first line, so I think L10 don't work with source, but at least, it not throw error)

[test](/test#L10) # worksapce absolue, pass with source, failed with preview (failed means throw an error and could not jump to the file)

[test](E:\MyProject\Project\sd\test#L10) # system absolute, pass with preview, failed with source, L10 only works with preview

<link rel="stylesheet" href="./test#L10"> pass, L10 works well

<link rel="stylesheet" href="/test#L10"> failed.

<link rel="stylesheet" href="/test"> pass. it means line jump only support for relative path.

<link rel="stylesheet" href="E:\MyProject\Project\sd\test"> no provider, it means system absolute path doesn't work with html

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)markdownMarkdown support issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions