LSP Should report Not found as a warning and allow you to create the note as a code action #370
Closed
MarcCoquand
started this conversation in
Ideas
Replies: 2 comments
-
There already is a configuration option for dead links, so you can set it to warning yourself: An LSP Action to create a new note would be a good improvement. I'll put in a Feature Request. We aren't adding new features as of right now (see README), but I would definitely want this in the next minor release. |
Beta Was this translation helpful? Give feedback.
0 replies
-
There already is a configuration option for dead links, so you can set it to warning yourself:
https://github.com/zk-org/zk/blob/main/docs/config-lsp.md#diagnostics
Ah I didn't see this, thank you for sharing the link.
An LSP Action to create a new note would be a good improvement. I'll put in a Feature Request. We aren't adding new features as of right now (see [README](https://github.com/zk-org/zk/blob/main/README.md#news-we-are-in-maintenance-mode)), but I would definitely want this in the next minor release.
Great!
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Verify
Share your idea or feature request
Heya!
Oftentimes when I write notes, I will often link to notes that I know don't exist so I can go back and create them later. In Obsidian, linking to a note that doesn't exist will lead to a gray link which when pressed would create the note.
I think it'd be cool if the LSP didn't report a note missing as an error but rather a warning, and that there was an LSP code action for creating a new note with the name.
Beta Was this translation helpful? Give feedback.
All reactions