more see https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_semanticTokens
| 838 | |
| 839 | //more see https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_semanticTokens |
| 840 | QJsonObject documentSemanticTokensFull(const QString &filePath) |
| 841 | { |
| 842 | QJsonObject textDocument { |
| 843 | { K_URI, QUrl::fromLocalFile(filePath).toString() } |
| 844 | }; |
| 845 | |
| 846 | QJsonObject params { |
| 847 | { K_TEXTDOCUMENT, textDocument } |
| 848 | }; |
| 849 | |
| 850 | return params; |
| 851 | } |
| 852 | |
| 853 | QJsonObject documentSemanticTokensRange(const QString &filePath, Range range) |
| 854 | { |
no test coverage detected