Skip to content
This repository has been archived by the owner on May 27, 2022. It is now read-only.

Highlight files and folders in the explorer window when clicking on local links #29

Open
martin-braun opened this issue Feb 17, 2021 · 5 comments

Comments

@martin-braun
Copy link

Lets say I have a local link that points to a file:

[*myFile.json*](./myFile.json)

Or a local link that points to a folder:

[*myFolder/mySubFolder*](./myFolder/mySubFolder)

The default behavior of VSCode is to try to highlight the file in the file explorer. It would be nice if this editor extension would be able to do the same.

@TobiasTao
Copy link
Owner

Sorry, I didn't quite catch your meaning

Do you have screenshots?

image

highlight Upload-Image.md?

@martin-braun
Copy link
Author

Hi @TobiasTao, no problem.

Basically, I think it should be possible to follow the link in the editor mode of the markdown editor. Here, I would like to Ctrl + Click / Cmd + Click (macOS) to follow the link for local files/folders and websites:

Screen Shot 2021-02-20 at 19 46 04

Right now I have to go into Preview mode to click on links.

The screenshot you shared is exactly what I wish to have for your editor in default editor mode. I think it would be a good feature.

@TobiasTao
Copy link
Owner

hi, @martin-braun

i just do not know what is highlight the file in the file explorer.

is there any screenshots ?

@TobiasTao
Copy link
Owner

Hi @TobiasTao, no problem.

Basically, I think it should be possible to follow the link in the editor mode of the markdown editor. Here, I would like to Ctrl + Click / Cmd + Click (macOS) to follow the link for local files/folders and websites:

Screen Shot 2021-02-20 at 19 46 04

Right now I have to go into Preview mode to click on links.

The screenshot you shared is exactly what I wish to have for your editor in default editor mode. I think it would be a good feature.

It will be resolved when i close #28

@martin-braun
Copy link
Author

martin-braun commented Feb 23, 2021

@TobiasTao Thank you, yes sorry I mixed both issues up. Regarding the missing highlighting functionality, please inspect the behavior on the default editor to see what I mean:

2021-02-23 01 34 10

This functionality is missing (even in Preview mode). Only website links are functional. A local link to a file should also open it in a new tab.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants