-
Notifications
You must be signed in to change notification settings - Fork 56
Added hover support for inline snippets on render tags
#1073
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: render-autocomplete-inline-snippet
Are you sure you want to change the base?
Added hover support for inline snippets on render tags
#1073
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
render tags
d26549c to
e89192e
Compare
e89192e to
af0f9a4
Compare
122e6f8 to
1751d79
Compare
af0f9a4 to
98f6aa6
Compare
1751d79 to
4467ee0
Compare
98f6aa6 to
d989d25
Compare
5b21535 to
e008de5
Compare
166922f to
9da05d3
Compare
5f6220f to
cef145f
Compare
1ed0dff to
c9b69b4
Compare
cef145f to
50eaabe
Compare
c9b69b4 to
701117c
Compare
50eaabe to
aa24f09
Compare
| const rootNode = ancestors[0]; | ||
| const snippetNode = findInlineSnippet(rootNode, snippetName); | ||
| if (snippetNode) { | ||
| docDefinition = extractDocDefinition(params.textDocument.uri, snippetNode); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran into this with the arg completion: since visit grabs all the doc params (even nested), maybe we could re-use the helper function from the other branch we talked about (as I think it grabs the immediate doc tag params)
701117c to
f85fea2
Compare
aa24f09 to
85ae0e5
Compare
f85fea2 to
304145e
Compare
ba844e6 to
3886acb
Compare
542ee58 to
45efc77
Compare
3886acb to
59eb787
Compare
45efc77 to
95f6e1e
Compare
59eb787 to
791ddf5
Compare


What are you adding in this PR?
Solves #829
Added hover support for
renderhandle and named arguments for inline snippets.What's next? Any followup issues?
changeset