Replies: 2 comments 4 replies
-
|
Hey @Lowband21 , thanks for starting this discussion. I think this feature makes sense! Could you please explain what Is its possible to start with a reasonably good defaults so we don't need any new config parameters? |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
Released 🎉 Big thanks to @Lowband21 for the contribution! |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Feature request: LSP hover preview for linked notes
Problem
When editing notes with wiki/markdown links, I want to preview the linked note’s contents from the current note.
Currently, to preview what a note contains, I jump to the file with the
go to definitionaction, then navigate back.This is quick, but opens an extra buffer.
In Helix,
space+ktriggers LSP hover, but IWE LSP server does not currently advertise hover capability.Proposed solution
Add LSP
textDocument/hoversupport to IWE:Fit with project goals
IWE already provides editor-assist features via LSP (completion, go-to-definition, references, rename, formatting, code actions).
Hover preview is a standard LSP feature that complements link navigation and improves workflows across editors (Helix, Neovim, VS Code, etc.) without adding editor-specific code.
Implementation approach
preview_lengthandinclude_frontmatter.ServerCapabilities(hoverProvider = Some(...))."textDocument/hover"routing in the LSP router to a new server handler.parser.url_at(position)).Test plan
Add Rust tests similar to existing LSP tests to assert:
None.None.I would be happy to put together a quick PR for this feature if it's aligned with the project goals.
Beta Was this translation helpful? Give feedback.
All reactions