Releases: kortina/vscode-markdown-notes
Add CompletionItem.documentation to provide more details about completion options.
Add CompletionItem.documentation
to provide more details about completion options.
Enhancements:
- Set
CompletionItem.documentation
to the file contents, giving more detail to disambiguate between long / similar filenames. Closes #38. Tx @ahazxm
Diff:
add vscodeMarkdownNotes.newNoteDirectory
add setting vscodeMarkdownNotes.newNoteDirectory
Enhancements:
- add setting
vscodeMarkdownNotes.newNoteDirectory
, can be set to:SAME_AS_ACTIVE_NOTE
WORKSPACE_ROOT
- or
subdirectory/path
in workspace root
- resolves #74
An example workspace config you might want to use to manage _posts
on a jekyll blog:
{
"vscodeMarkdownNotes.newNoteDirectory": "_posts",
"vscodeMarkdownNotes.newNoteTemplate": "---\nlayout: post\ntitle: '${noteName}'\nauthor: kortina\n---\n\n"
}
Diff:
Fix bug where `vscodeMarkdownNotes.triggerSuggestOnReplacement` was not registering. Tx @Gh0u1L5 for #78.
Support `[[piped-wiki-links|with a description]]` and bugfixes.
Support [[piped-wiki-links|with a description]]
and bugfixes.
Enhancements:
- Support a "piped wiki link" in either the MediaWiki (
[[file-name|Link Text]]
) or Github Wiki ([[Link Text|file-name]]
) style.- See the new settings:
vscodeMarkdownNotes.allowPipedWikiLinks
vscodeMarkdownNotes.pipedWikiLinksSyntax
vscodeMarkdownNotes.pipedWikiLinksSeparator
- Tx to @thomaskoppelaar for #73
- See the new settings:
Fixes:
- Add support for unicode filenames. Tx @Gh0u1L5 for #69
- also adds feature
triggerSuggestOnReplacement
(which I made a setting in #76)
- also adds feature
- Bump lodash from 4.17.15 to 4.17.19 #64
Diff:
Fix #58: auto-complete for wiki links all the time
Bugfix.
Fixes:
Fix #58
when using Go to Reference
outside [[]]
, the NULL_REF.type
will set to RefType.WikiLink
, which causes the auto-complete for wiki links all the time. /tx @ahazxm
Configurable template for new notes.
Fixes for more consistent slugifyTitle (note-filename from link text) behavior
Many bugfixes from foam community.
Fixes:
- fix bug where extension functionality would not work when editing files with language
mdx
. #51 closes #45 - fix bug where
[[Link/Topic]]
would not correctly find note nameclink-topic.md
. tx to @eBerdnA for #52 closes #50 - fix bug where all non-ASCII word characters would be replaced with
-
characters. tx to @digiguru for #53 closes #47
Diff:
Major refactor that should dramatically improve performance by caching results of parsing files in workspace
Major refactor that should dramatically improve performance by caching results of parsing files in workspace for [[wiki-links]]
and #tags
(instead of re-parsing just-in-time, every time we want suggestions.)
Enhancements:
- cache results of parsing files in workspace. Closes #31
- support for
mdx
andfountain
files and new configvscodeMarkdownNotes.defaultFileExtension
allows you to set the extension that gets appended upon note creation. Closes #44 /ht @andermerwed
Fixes:
- newly created tags will be registered for auto-completion (once they file they are in is saved to disk). Closes #36 /ht @b3u
- line numbers are no longer off by one. Closes #35 /ht @b3u
Cleanup:
- remove unused
RemarkParser
stuff ( left in branch https://github.com/kortina/vscode-markdown-notes/tree/ak-remark-parser ) - renames for clarity:
ReferenceSearch
toNoteParser
ContextWord
toRef
- cleanup / dry-up errant references to file extension match regexes, now at
_rxFileExtensions
Major Refactor with regexes allowing wiki links w spaces and w/o extensions. Basic backlinks
Feature Updates
- allow spaces in filename #12 /ht @lukakemperle @b3u @lukesmurray
- add configurable slug character: '-' or '_' or 'NONE' #17 /ht @jli
- add a very basic Backlinks Panel #13 /tx @pomdtr @b3u @lukesmurray
- add a config option to complete wiki-links without the file-extension
- add a config option to complete wiki-links with spaces
Other Improvements
- try new wikilink regex a la
\[\[^\]]+\]
- change file parsing from line/word loops to line/regex loop
- switch from mocha e2e testing to jest headless testing
- write regex tests
- remove old mocha e2e test harness into new branch since it's not working w jest
- determine if
wordPattern
mod is nec - this still seems to be the case. inrelativePaths
mode, you can type.
and then trigger intellisense w the keyboard shortcut and get completions, but you don't get the completions automatically without modifying thewordPattern
- tests for
something#tag and https://example.com/#tag and something[[link]]
- create adapter interface wrapping
vscode.getConfiguration
to enable test mocking
v0.0.8
- #4 - gets References and Definitions working for
[[links-with-no-extension]]
Thanks @b3u for comments / code snippets. Also thanks to @quickfold @lukesmurray @jay-pee for discussion on this thread- NB: will still need to add a setting where you can get completions without the extension, but this should be easy to do
- #23 - major code cleanup, moving most code out of
extension.ts
into smaller files. Tx @b3u - #24 - add
LICENSE.md
. Tx @kolloch @b3u - #28 - fixes bug with New Note command on Windows. Thanks @davovscapcom
- spikes out using
remark
to parse AST for markdown files, but was a little slow (tx @lukesmurray for this idea). Did not end up using it in this release, BUT I do have an idea for how to update the workspace note parser that I think will (1) dramatically simplify things and (2) hopefully enable support for wiki links with space characters
Tx all for being part of discussion leading up to this release.