-
Notifications
You must be signed in to change notification settings - Fork 332
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
Auto completion for links to headings / sections in other files #894
Comments
We need to somehow unify vscode-markdown/src/completion.ts Lines 534 to 537 in 51ed4fb
and vscode-markdown/src/completion.ts Lines 578 to 581 in 51ed4fb
|
We have no idea about how target rendering system understands URIs. There is no uniform practice. I remember to see similar requests before. IMHO, as an ordinary text editor (not a specialized one), features, of course including path completion, should only work for globally accepted conventions. An alternative solution is adding another section ( |
I think this feature can be useful (although I don't think it will be done in a near future). |
it seems there is an extension that does that - https://marketplace.visualstudio.com/items?itemName=TomasHubelbauer.vscode-markdown-link-suggestions. Maybe that will help? And I also miss this functionality very much, as cross-file cross-heading links are part of any decent documentation |
Proposal
When adding a link to a local file autocomplete should be implemented on section headers. This currently works within files but not across files.
The autocomplete on section would appear only after the "#" was typed.
This is similar to other add-ons that autocomplete functions from other files if those files are included. By virtue of getting to this point below the file could be considered included within the link scope and the section headers listed.
The text was updated successfully, but these errors were encountered: