Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using links to open files in the main editor #19

Open
dex-2020 opened this issue Feb 3, 2021 · 2 comments
Open

Using links to open files in the main editor #19

dex-2020 opened this issue Feb 3, 2021 · 2 comments

Comments

@dex-2020
Copy link

dex-2020 commented Feb 3, 2021

Thank you for this - I love this extension! Simple idea, huge possibilities.

One thing that I'd really like to use it for, but cant get to work, is having links that open files in my project in the main edit window of VS Code when they are clicked.

The idea being that I could have a tiny piece of markdown that would hold a list of the files I most frequently use, instead of using the Explorer to find them all the time.

Unfortunately I cant get any of the links I'm using to do anything, though the same markdown works within a normal markdown preview window in VS Code and will open the selected file. My markdown looks something like this, where the files referenced exist within my current project:

# My Files
[Startup File](/src/startup.js)
[Configuration](/cfg/my_config.json)
[Read Me](/readme.md)

I understand nothing about how extensions work, so it might be impossible to get this working, but I'm hoping that maybe it's just the way I'm configuring it?

@AssisrMatheus
Copy link
Owner

Hello! Thank you for using the extension!

I think it's possible to do that, but until I don't add that(I'm not working on the extension too much), you can try using the "pin" option by right-clicking a vscode tab, that way you can have this functionality. You open the files you use the most and pin them, now they can't be closed and can easily be accessed!

image

@dex-2020
Copy link
Author

dex-2020 commented Feb 4, 2021

Thanks for the speedy reply.

Regarding the "pin" suggestion, I think my simple example was a bit misleading. In reality my "frequently" used file list is nearer fifteen to twenty files (though this fluctuates), and whilst pinning would be a solution for a small amount of files, it becomes impractical once this number begins to increase.

Leaving links aside, I do however see many uses for the extension - it is fast becoming a favorite of mine and many thanks again for creating it.

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

No branches or pull requests

2 participants