vscode-markdown-notes
vscode-markdown-notes copied to clipboard
Intellisense isn't working
When I type in double square brackets, nothing happens. Also, tags are not clickable.
I have these extensions enabled. Maybe they have something to do with it.
(Anyway, this is awesome work. I've been dreaming of a tool like Roam (but with MD files in a folder) for years and thought about building it myself, but I suck at programming and it would take me years.)
Re: intellisense upon double brackets -- you need to type at least 1 character and then trigger intellisense with the shortcut (^Space
is the default) or you can have "[markdown]": { "editor.quickSuggestions": true,
in your settings.json
.
But the key is you need to type the first letter that matches the first letter of a file in your workspace (not just the double brackets) to start getting suggestions. So here, I had to type "i" rather than just double brackets:
Re: clickable links. The links were not intended to be clickable. Instead, they use the editor.action.revealDefinition
functionality. The default keybinding for this is F12
.
It would be cool to make the wiki links and tags clickable, but I rarely use the mouse so this was not in scope for me. If anyone wants to submit a PR to do this, it would be a cool feature add.
Lmk if this stuff helps and if you have any other issues.
And thanks for the kind words.
Lmk if this stuff helps and if you have any other issues.
And thanks for the kind words.
Yep! Those settings did the trick. 👍
I'll snoop around in your code, take a couple of weeks (months?) to understand it, and then maybe try a few things:
- remove the .md extension from [[links]]
- make things clickable
- add an automated list of backlinks somewhere (like note-link-janitor)
- automatically link expressions that match existing note titles. OK, maybe I'm stretching.
Cheers!
Re: clickable links: for me links are actually clickable. Just CMD+click and off you go! 🚀
I just installed this extension and had the same confusion - why are not intellisense suggestions showing up? I had even added "editor.quickSuggestions": true,
to my Workspace settings.json
manually, but it didn't help.
The comment above to add it under the [markdown]
section did the trick.
Perhaps this should be added to the documentation? Or to your web post which is also very useful.
Edit: I got annoyed by the suggestions on words and snippets when writing normal text. These settings gave me a sane experience:
"[markdown]": {
"editor.quickSuggestions": true,
"editor.snippetSuggestions": "none",
"editor.wordBasedSuggestions": false,
},
Edit2: I now noticed it is in fact mentioned in the README. Once I got to the screenshots I thought there was no more text to follow and stopped scrolling.
great extension, but i have the same problem as the members above vscode markdown notes ver. 0.0.21, i also tried the older version (0.0.19) without success
problem:
when I type in double square brackets -> nothing happens, when i type ctrl+space -> suggestions are displayed.
standard markdown links work fine, when i type double parentheses -> suggestions are displayed
i made a short video -> yt video link
seetings.json
"editor.quickSuggestions": true,
"[markdown]": {
"editor.quickSuggestions": true,
"editor.wordBasedSuggestions": false,
"editor.snippetSuggestions": "none",
"editor.defaultFormatter": "yzhang.markdown-all-in-one",
},
Hmm, it looks like the editor.quickSuggestions
interface changed from boolean to mapping at some point, and I am working on debugging this, but still not figuring it out...
Here is a stackoverflow: https://stackoverflow.com/questions/65874102/vscode-is-not-respecting-editor-quicksuggestions-setttings - it seems this issue may be outside the scope of the extension code, which does know the correct suggestions to return.