IMPORTANT
Quick suggestions are NOT enabled by default in Markdown, so to get suggestions, you have to manually triggerSuggest (⌃Space by default) OR put this in settings.json:
"[markdown]": {
"editor.quickSuggestions": true
}
See the RECOMMENDED-SETTINGS doc.
Before filing a new issue, please try to verify if this is a workspace / configuration issue, or an extension / os issue:
- Checkout the repo:
git clone git@github.com:kortina/vscode-markdown-notes.git - Open the test notebook directory:
cd vscode-markdown-notes/test && code . - Open
top.mdin the test workspace in VS Code - typing
[[t, triggerSuggest (⌃Spaceby default) gives completions:test.md,top.md - typing
[[s, triggerSuggest (⌃Spaceby default) gives completions:sub.md,sub2.md - typing
#a, triggerSuggest (⌃Spaceby default) gives completions:#another_tag,#tag - typing
[[test.md]], moving cursor over this word, peekDefinition (⌥F12by default) opens Peek Definition window - Did your bug occur in the test directory?
- Yes
- No
New Note works only when you are in a workspace. Look here for more information on workspaces in VS Code.
If you wish to turn off the syntax highlighting for pandoc-style citations which use the same syntax as @username handles (e.g. GitHub or Twitter), you can do so by overriding the color in your settings:
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "support.function.text.markdown.notes.bibtex.key",
"settings": {
"foreground": "#ffffff"
}
},
],
}- The
ctrl+oVSCodeVim jumplist shortcut does not return you to the correct place after using "Go to Definition" (ctrl+]): VSCodeVim/Vim#3277 (The VSCodeGo Backcommand (ctrl+-) does work, however.) - This extension sets the
wordPatternfor 'markdown' in order to (1) enable proper completion of relative paths and (2) make it such that if youcmd+shift+fon a#tagthe search will prefill with "#tag" and not just "tag":vscode.languages.setLanguageConfiguration('markdown', { wordPattern: /([\#\.\/\\\w_]+)/ });