Skip to content

Releases: kortina/vscode-markdown-notes

Add CompletionItem.documentation to provide more details about completion options.

24 Aug 01:38
Compare
Choose a tag to compare

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
    • Add vscodeMarkdownNotes.compileSuggestionDetails setting, which determines whether to render the markdown in the CompletionItem.documentation
      • true: true
      • false: false

Diff:

https://github.com/kortina/vscode-markdown-notes/compare/fa011bb64c363a05231a043f39f800e7497617a9..271cf75cc2311a120eabd08f060270f927c0e401

add vscodeMarkdownNotes.newNoteDirectory

22 Aug 04:16
Compare
Choose a tag to compare

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:

https://github.com/kortina/vscode-markdown-notes/compare/808af92c40676ab2a9ae1d1de3611a930c6c5818..fa011bb64c363a05231a043f39f800e7497617a9

Fix bug where `vscodeMarkdownNotes.triggerSuggestOnReplacement` was not registering. Tx @Gh0u1L5 for #78.

18 Aug 15:27
Compare
Choose a tag to compare

Fixes:

Fix bug where vscodeMarkdownNotes.triggerSuggestOnReplacement was not registering.

Tx @Gh0u1L5 for #78.

Support `[[piped-wiki-links|with a description]]` and bugfixes.

16 Aug 19:56
Compare
Choose a tag to compare

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

Fixes:

  • Add support for unicode filenames. Tx @Gh0u1L5 for #69
    • also adds feature triggerSuggestOnReplacement (which I made a setting in #76)
  • Bump lodash from 4.17.15 to 4.17.19 #64

Diff:

https://github.com/kortina/vscode-markdown-notes/compare/2cb1262cca8fa218fe6d38256a64fc3146983722..13b2464983b64a51ee58832759b1b9ec11a48ed8

Fix #58: auto-complete for wiki links all the time

17 Jul 00:29
Compare
Choose a tag to compare

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.

12 Jul 17:21
Compare
Choose a tag to compare

Enhancements:

  • Adds new config, vscodeMarkdownNotes.newNoteTemplate: Template for auto-created note files. Available tokens: ${noteName}, ${timestamp}. Timestamp is inserted in ISO format, i.e. 2020-07-09T05:29:00.541Z.

Tx @qbikez for #49 closes #48

Fixes for more consistent slugifyTitle (note-filename from link text) behavior

09 Jul 05:18
Compare
Choose a tag to compare

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 namec link-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:

https://github.com/kortina/vscode-markdown-notes/compare/4af718ecf037791507d0d67d59f97ee5b961cccb..43ca88c91653136330c18450fb0ad51698e7decf

Major refactor that should dramatically improve performance by caching results of parsing files in workspace

01 Jul 06:32
4af718e
Compare
Choose a tag to compare

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 and fountain files and new config vscodeMarkdownNotes.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:

Major Refactor with regexes allowing wiki links w spaces and w/o extensions. Basic backlinks

31 May 22:42
3d11507
Compare
Choose a tag to compare

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. in relativePaths 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 the wordPattern
  • 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

28 May 06:23
7bae149
Compare
Choose a tag to compare
  • #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.