Skip to content

Instantly share code, notes, and snippets.

@aldur
Created October 9, 2024 14:46
Show Gist options
  • Save aldur/65a9ead3cb7bf1e1ee0c50f986c97670 to your computer and use it in GitHub Desktop.
Save aldur/65a9ead3cb7bf1e1ee0c50f986c97670 to your computer and use it in GitHub Desktop.
Initial LSP request to clarinet
{
"method": "initialize",
"id": 1,
"jsonrpc": "2.0",
"params": {
"workspaceFolders": [
{
"name": "/Users/aldur/Work/stacks/upgradable-fungible-token-concept",
"uri": "file:///Users/aldur/Work/stacks/upgradable-fungible-token-concept"
}
],
"processId": 73111,
"clientInfo": {
"name": "Neovim",
"version": "0.10.2"
},
"capabilities": {
"general": {
"positionEncodings": [
"utf-16"
]
},
"workspace": {
"workspaceFolders": true,
"applyEdit": true,
"workspaceEdit": {
"resourceOperations": [
"rename",
"create",
"delete"
]
},
"didChangeWatchedFiles": {
"dynamicRegistration": true,
"relativePatternSupport": true
},
"inlayHint": {
"refreshSupport": true
},
"symbol": {
"dynamicRegistration": false,
"symbolKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
]
}
},
"semanticTokens": {
"refreshSupport": true
},
"configuration": true,
"didChangeConfiguration": {
"dynamicRegistration": false
}
},
"textDocument": {
"rangeFormatting": {
"dynamicRegistration": true
},
"diagnostic": {
"dynamicRegistration": false
},
"rename": {
"dynamicRegistration": true,
"prepareSupport": true
},
"completion": {
"completionItemKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25
]
},
"completionList": {
"itemDefaults": [
"commitCharacters",
"editRange",
"insertTextFormat",
"insertTextMode",
"data"
]
},
"completionItem": {
"insertReplaceSupport": true,
"insertTextModeSupport": {
"valueSet": [
1,
2
]
},
"snippetSupport": true,
"commitCharactersSupport": true,
"preselectSupport": true,
"deprecatedSupport": true,
"documentationFormat": [
"markdown",
"plaintext"
],
"resolveSupport": {
"properties": [
"documentation",
"detail",
"additionalTextEdits",
"sortText",
"filterText",
"insertText",
"textEdit",
"insertTextFormat",
"insertTextMode"
]
},
"tagSupport": {
"valueSet": [
1
]
},
"labelDetailsSupport": true
},
"contextSupport": true,
"dynamicRegistration": false,
"insertTextMode": 1
},
"declaration": {
"linkSupport": true
},
"definition": {
"dynamicRegistration": true,
"linkSupport": true
},
"typeDefinition": {
"linkSupport": true
},
"hover": {
"dynamicRegistration": true,
"contentFormat": [
"markdown",
"plaintext"
]
},
"references": {
"dynamicRegistration": false
},
"documentHighlight": {
"dynamicRegistration": false
},
"documentSymbol": {
"dynamicRegistration": false,
"symbolKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
]
},
"hierarchicalDocumentSymbolSupport": true
},
"inlayHint": {
"dynamicRegistration": true,
"resolveSupport": {
"properties": [
"textEdits",
"tooltip",
"location",
"command"
]
}
},
"synchronization": {
"willSave": true,
"willSaveWaitUntil": true,
"dynamicRegistration": false,
"didSave": true
},
"publishDiagnostics": {
"dataSupport": true,
"relatedInformation": true,
"tagSupport": {
"valueSet": [
1,
2
]
}
},
"semanticTokens": {
"formats": [
"relative"
],
"requests": {
"range": false,
"full": {
"delta": true
}
},
"overlappingTokenSupport": true,
"multilineTokenSupport": false,
"serverCancelSupport": false,
"dynamicRegistration": false,
"tokenModifiers": [
"declaration",
"definition",
"readonly",
"static",
"deprecated",
"abstract",
"async",
"modification",
"documentation",
"defaultLibrary"
],
"tokenTypes": [
"namespace",
"type",
"class",
"enum",
"interface",
"struct",
"typeParameter",
"parameter",
"variable",
"property",
"enumMember",
"event",
"function",
"method",
"macro",
"keyword",
"modifier",
"comment",
"string",
"number",
"regexp",
"operator",
"decorator"
],
"augmentsSyntaxTokens": true
},
"codeAction": {
"dataSupport": true,
"codeActionLiteralSupport": {
"codeActionKind": {
"valueSet": [
"",
"quickfix",
"refactor",
"refactor.extract",
"refactor.inline",
"refactor.rewrite",
"source",
"source.organizeImports"
]
}
},
"resolveSupport": {
"properties": [
"edit"
]
},
"dynamicRegistration": true,
"isPreferredSupport": true
},
"callHierarchy": {
"dynamicRegistration": false
},
"implementation": {
"linkSupport": true
},
"signatureHelp": {
"dynamicRegistration": false,
"signatureInformation": {
"activeParameterSupport": true,
"parameterInformation": {
"labelOffsetSupport": true
},
"documentationFormat": [
"markdown",
"plaintjq: parse error: Invalid numeric literal at line 1, column 4233
ext"
]
}
},
"formatting": {
"dynamicRegistration": true
}
},
"window": {
"workDoneProgress": true,
"showMessage": {
"messageActionItem": {
"additionalPropertiesSupport": false
}
},
"showDocument": {
"support": true
}
}
},
"rootUri": "file:///Users/aldur/Work/stacks/upgradable-fungible-token-concept",
"initializationOptions": {},
"workDoneToken": "1",
"trace": "off",
"rootPath": "/Users/aldur/Work/stacks/upgradable-fungible-token-concept"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment