v0.0.22 (2021-01-24)
Fixes:
- #117 - add collapse all button to backlinks view - tx @MCluck90
- #119 - improve tag recognition, Chinese character support using
\p{L}
instead of\w
- tx @thomaskoppelaar, @frankreporting. Closes #114, #115. - upgrade
jest
deps to resolve depandabot alerts - #122 - return all suggestions on 'empty'
#
and[[
. Closes #99. - #123 - allow linking to
txt
files - tx @thomaskoppelaar. Closes #107.
Diff:
https://github.com/kortina/vscode-markdown-notes/compare/311dda9..b7660f6
v0.0.21 (2020-12-01)
Enhancements:
- #96 option to disable lower-casing of file names - tx @mgmeyers
- #95
vscodeMarkdownNotes.newNoteFromSelection
which will "cut" the selected text from the current document, prompt for a note name, create a new note with that name, and insert the new text into that note. tx @mgmeyers
Fixes:
- #104 package missing markdown it dependency in production build - tx @Lemmingh
Diff:
https://github.com/kortina/vscode-markdown-notes/compare/431084c..4d315eb
v0.0.20 (2020-09-22)
Fixes:
- improve perf by respecting search.exclude, files.exclude, AND .gitignore
- addresses #90
- via microsoft/vscode#48674
Diff:
v0.0.19 (2020-09-17)
Enhancements:
- merge #85 - add setting
vscodeMarkdownNotes.slugifyMethod
- "classic" supports some options specific to Markdown Notes. "github-slugger" uses https://github.com/Flet/github-slugger and is compatible with foam, addresses: foambubble/foam#240 - merge #87 - add
API.ts
with a 'beta' public API (subject to change), one example function:
let notes = await vscode.commands.executeCommand('vscodeMarkdownNotes.notesForWikiLink', 'demo');
- add a sync version of
filesForWikiLinkRef
,filesForWikiLinkRefFromCache
- merge #86 from @thomaskoppelaar (🙏🏿 🙏🏿 🙏🏿), with...
markdownItPlugins
rendering of wiki-links- add setting:
vscodeMarkdownNotes.previewShowFileExtension
- Specifies whether or not to show the linked file's extension in the preview - add setting:
vscodeMarkdownNotes.previewLabelStyling
- Changes how the link to a file should be shown, either with or without brackets
Fixes:
- (#88) fix bug with
jest-focused.sh
test runner and fixtest-at-line.ts
so it can parse typescript files
Cleanup:
- cleanup jest tests
- add
setConfig
helper to jest tests
Diff:
v0.0.18 (2020-08-24)
Add $date
var for use in vscodeMarkdownNotes.newNoteTemplate
.
Enhancements:
- New
$date
template var will expand toYYYY-MM-DD
format date.
Diff:
v0.0.17 (2020-08-23)
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:
v0.0.16 (2020-08-21)
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:
v0.0.15 (2020-08-18)
Fixes:
Fix bug where vscodeMarkdownNotes.triggerSuggestOnReplacement
was not registering.
Tx @Gh0u1L5 for #78.
v0.0.14 (2020-08-16)
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:
v0.0.13 (2020-07-16)
Bugfix.
Fixes:
Fix kortina#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
v0.0.12 (2020-07-12)
Configurable template for new notes.
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
v0.0.11 (2020-07-08)
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 namelink-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:
v0.0.10 (2020-06-30)
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
v0.0.9 (2020-05-31)
Major Refactor with regexes allowing wiki links w spaces and w/o extensions. Basic backlinks.
Enhancements:
- 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
Cleanup:
- 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 (2020-05-27)
Fixes:
- #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
- #28 - fixes bug with New Note command on Windows. Thanks @davovscapcom
Cleanup:
- #23 - major code cleanup, moving most code out of
extension.ts
into smaller files. Tx @b3u - #24 - add
LICENSE.md
. Tx @kolloch @b3u - 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.
v0.0.7 (2020-05-17)
Fixes:
- Fix Windows Bugs with Tag Reference Lookups, #22
v0.0.6 (2020-05-15)
Enhancements:
- add configuration for #15: auto-create notes when using go to definition on missing wikilink and merge in
- add
MarkdownReferenceProvider implements vscode.ReferenceProvider
for Peek / Go To References - implement: #### Create New Note On Missing Go To Definition
- implement: #### Peek References to
[[wiki-link]]
- implement: Find All Reference to
[[wiki-link]]
- implement: Peek References to
#tag
- implement: Find All References to
#tag
Cleanup:
- add mocha test runner
v0.0.5 (2020-05-11)
Fixes:
- add range to each CompletionItem returned
- fixes known issue: "Filename completion seems to be triggering when not in the
[[
context." - hopefully will resolve intermittent bug where no
#tag
suggestions are returned (when there should be). - fix typos in README
Cleanup:
- upgrade to vsce 1.75.0
v0.0.4 (2020-04-18)
Enhancements:
- Scan all files in workspace for
#tag
words to provide autocomplete options for tags.
v0.0.3 (2020-04-14)
Fixes:
- typo misspelling markdown was causing extension not to work for
.markdown
files (it would only work for.md
files).
v0.0.2 (2020-02-22)
Enhancements:
- add command for quickly creating a new note
{
"key": "alt+n",
"command": "vscodeMarkdownNotes.newNote",
},
v0.0.1 (2020-02-13)
- Initial Release