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.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "endAbsolute"
|
||||
"end": 255,
|
||||
"name": "endAbsolute",
|
||||
"start": 244,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"end": 260,
|
||||
@ -531,8 +533,10 @@ description: Result of parsing cube.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "endAbsolute"
|
||||
"end": 285,
|
||||
"name": "endAbsolute",
|
||||
"start": 274,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"end": 290,
|
||||
@ -560,8 +564,10 @@ description: Result of parsing cube.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "endAbsolute"
|
||||
"end": 315,
|
||||
"name": "endAbsolute",
|
||||
"start": 304,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"end": 320,
|
||||
@ -589,8 +595,10 @@ description: Result of parsing cube.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "endAbsolute"
|
||||
"end": 345,
|
||||
"name": "endAbsolute",
|
||||
"start": 334,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"end": 350,
|
||||
@ -631,8 +639,10 @@ description: Result of parsing cube.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "length"
|
||||
"end": 388,
|
||||
"name": "length",
|
||||
"start": 382,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"end": 401,
|
||||
@ -733,8 +743,10 @@ description: Result of parsing cube.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "sideLength"
|
||||
"end": 430,
|
||||
"name": "sideLength",
|
||||
"start": 420,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"end": 435,
|
||||
@ -751,8 +763,10 @@ description: Result of parsing cube.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "center"
|
||||
"end": 443,
|
||||
"name": "center",
|
||||
"start": 437,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"elements": [
|
||||
|
||||
Reference in New Issue
Block a user