Various hover improvements (#5617)
* Show more info on hover for variables Signed-off-by: Nick Cameron <nrc@ncameron.org> * Move hover impls to lsp module Signed-off-by: Nick Cameron <nrc@ncameron.org> * Make hover work on names inside calls, fix doc line breaking, trim docs in tool tips Signed-off-by: Nick Cameron <nrc@ncameron.org> * Test the new hovers; fix signature syntax Signed-off-by: Nick Cameron <nrc@ncameron.org> * Hover tips for kwargs Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
@ -502,8 +502,10 @@ description: Result of parsing cube_with_error.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "endAbsolute"
|
||||
"end": 247,
|
||||
"name": "endAbsolute",
|
||||
"start": 236,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"end": 252,
|
||||
@ -531,8 +533,10 @@ description: Result of parsing cube_with_error.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "endAbsolute"
|
||||
"end": 277,
|
||||
"name": "endAbsolute",
|
||||
"start": 266,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"end": 282,
|
||||
@ -560,8 +564,10 @@ description: Result of parsing cube_with_error.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "endAbsolute"
|
||||
"end": 307,
|
||||
"name": "endAbsolute",
|
||||
"start": 296,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"end": 312,
|
||||
@ -589,8 +595,10 @@ description: Result of parsing cube_with_error.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "endAbsolute"
|
||||
"end": 337,
|
||||
"name": "endAbsolute",
|
||||
"start": 326,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"end": 342,
|
||||
@ -631,8 +639,10 @@ description: Result of parsing cube_with_error.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "length"
|
||||
"end": 380,
|
||||
"name": "length",
|
||||
"start": 374,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"end": 389,
|
||||
|
||||
Reference in New Issue
Block a user