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:
@ -451,8 +451,10 @@ description: Result of parsing parametric_with_tan_arc.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "end"
|
||||
"end": 301,
|
||||
"name": "end",
|
||||
"start": 298,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"elements": [
|
||||
@ -567,8 +569,10 @@ description: Result of parsing parametric_with_tan_arc.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "end"
|
||||
"end": 391,
|
||||
"name": "end",
|
||||
"start": 388,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"elements": [
|
||||
@ -622,8 +626,10 @@ description: Result of parsing parametric_with_tan_arc.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "end"
|
||||
"end": 426,
|
||||
"name": "end",
|
||||
"start": 423,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"elements": [
|
||||
@ -677,8 +683,10 @@ description: Result of parsing parametric_with_tan_arc.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "end"
|
||||
"end": 459,
|
||||
"name": "end",
|
||||
"start": 456,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"elements": [
|
||||
@ -814,8 +822,10 @@ description: Result of parsing parametric_with_tan_arc.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "end"
|
||||
"end": 582,
|
||||
"name": "end",
|
||||
"start": 579,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"elements": [
|
||||
@ -889,8 +899,10 @@ description: Result of parsing parametric_with_tan_arc.kcl
|
||||
{
|
||||
"type": "LabeledArg",
|
||||
"label": {
|
||||
"type": "Identifier",
|
||||
"name": "length"
|
||||
"end": 636,
|
||||
"name": "length",
|
||||
"start": 630,
|
||||
"type": "Identifier"
|
||||
},
|
||||
"arg": {
|
||||
"end": 644,
|
||||
|
||||
Reference in New Issue
Block a user