@@ -300,12 +300,51 @@ public void Update(
300
300
}
301
301
}
302
302
303
- public class LanguageServerSettingsWrapper
304
- {
305
- // NOTE: This property is capitalized as 'Powershell' because the
306
- // mode name sent from the client is written as 'powershell' and
307
- // JSON.net is using camelCasing.
303
+ /// <summary>
304
+ /// Additional settings from the Language Client that affect Language Server operations but
305
+ /// do not exist under the 'powershell' section
306
+ /// </summary>
307
+ public class EditorFileSettings
308
+ {
309
+ /// <summary>
310
+ /// Exclude files globs consists of hashtable with the key as the glob and a boolean value to indicate if the
311
+ /// the glob is in effect.
312
+ /// </summary>
313
+ public System . Collections . Generic . Dictionary < string , Boolean > Exclude { get ; set ; }
314
+ }
308
315
309
- public LanguageServerSettings Powershell { get ; set ; }
310
- }
316
+ /// <summary>
317
+ /// Additional settings from the Language Client that affect Language Server operations but
318
+ /// do not exist under the 'powershell' section
319
+ /// </summary>
320
+ public class EditorSearchSettings
321
+ {
322
+ /// <summary>
323
+ /// Exclude files globs consists of hashtable with the key as the glob and a boolean value to indicate if the
324
+ /// the glob is in effect.
325
+ /// </summary>
326
+ public System . Collections . Generic . Dictionary < string , Boolean > Exclude { get ; set ; }
327
+ /// <summary>
328
+ /// Whether to follow symlinks when searching
329
+ /// </summary>
330
+ public bool FollowSymlinks { get ; set ; } = true ;
331
+ }
332
+
333
+ public class LanguageServerSettingsWrapper
334
+ {
335
+ // NOTE: This property is capitalized as 'Powershell' because the
336
+ // mode name sent from the client is written as 'powershell' and
337
+ // JSON.net is using camelCasing.
338
+ public LanguageServerSettings Powershell { get ; set ; }
339
+
340
+ // NOTE: This property is capitalized as 'Files' because the
341
+ // mode name sent from the client is written as 'files' and
342
+ // JSON.net is using camelCasing.
343
+ public EditorFileSettings Files { get ; set ; }
344
+
345
+ // NOTE: This property is capitalized as 'Search' because the
346
+ // mode name sent from the client is written as 'search' and
347
+ // JSON.net is using camelCasing.
348
+ public EditorSearchSettings Search { get ; set ; }
311
349
}
350
+ }
0 commit comments