@@ -110,12 +110,16 @@ export default class AutoLanguageClient {
110
110
rootPath : projectPath ,
111
111
rootUri : Convert . pathToUri ( projectPath ) ,
112
112
workspaceFolders : null ,
113
+ // The capabilities supported.
114
+ // TODO the capabilities set to false/undefined are TODO. See {ls.ServerCapabilities} for a full list.
113
115
capabilities : {
114
116
workspace : {
115
117
applyEdit : true ,
116
118
configuration : false ,
117
119
workspaceEdit : {
118
120
documentChanges : true ,
121
+ normalizesLineEndings : false ,
122
+ changeAnnotationSupport : undefined ,
119
123
} ,
120
124
workspaceFolders : false ,
121
125
didChangeConfiguration : {
@@ -124,12 +128,23 @@ export default class AutoLanguageClient {
124
128
didChangeWatchedFiles : {
125
129
dynamicRegistration : false ,
126
130
} ,
131
+ // BLOCKED: on atom/symbols-view
127
132
symbol : {
128
133
dynamicRegistration : false ,
129
134
} ,
130
135
executeCommand : {
131
136
dynamicRegistration : false ,
132
137
} ,
138
+ semanticTokens : undefined ,
139
+ codeLens : undefined ,
140
+ fileOperations : {
141
+ // BLOCKED: on tree-view not providing hooks for "before file/dir created"
142
+ willCreate : false ,
143
+ // BLOCKED: on tree-view not providing hooks for "before file/dir renamed"
144
+ willRename : false ,
145
+ // BLOCKED: on tree-view not providing hooks for "before file/dir deleted"
146
+ willDelete : false ,
147
+ } ,
133
148
} ,
134
149
textDocument : {
135
150
synchronization : {
@@ -152,6 +167,7 @@ export default class AutoLanguageClient {
152
167
signatureHelp : {
153
168
dynamicRegistration : false ,
154
169
} ,
170
+ declaration : undefined ,
155
171
references : {
156
172
dynamicRegistration : false ,
157
173
} ,
@@ -189,13 +205,28 @@ export default class AutoLanguageClient {
189
205
moniker : {
190
206
dynamicRegistration : false ,
191
207
} ,
192
-
193
- // We do not support these features yet.
194
- // Need to set to undefined to appease TypeScript weak type detection.
208
+ publishDiagnostics : {
209
+ relatedInformation : true ,
210
+ tagSupport : {
211
+ // BLOCKED: on steelbrain/linter supporting ways of denoting useless code and deprecated symbols
212
+ valueSet : [ ] ,
213
+ } ,
214
+ versionSupport : false ,
215
+ codeDescriptionSupport : true ,
216
+ dataSupport : true ,
217
+ } ,
195
218
implementation : undefined ,
196
219
typeDefinition : undefined ,
197
220
colorProvider : undefined ,
198
221
foldingRange : undefined ,
222
+ selectionRange : undefined ,
223
+ linkedEditingRange : undefined ,
224
+ callHierarchy : undefined ,
225
+ semanticTokens : undefined ,
226
+ } ,
227
+ general : {
228
+ regularExpressions : undefined ,
229
+ markdown : undefined ,
199
230
} ,
200
231
experimental : { } ,
201
232
} ,
0 commit comments