1
1
import { BehaviorSubject , Observable , Subject , Subscription , SubscriptionLike , Unsubscribable } from 'rxjs'
2
2
import { distinctUntilChanged , filter , map } from 'rxjs/operators'
3
3
import { Client , ClientOptions } from '../client/client'
4
- import { ExecuteCommandFeature } from '../client/features/commands '
4
+ import { ExecuteCommandFeature } from '../client/features/command '
5
5
import {
6
- ConfigurationChangeNotificationsFeature ,
6
+ ConfigurationChangeNotificationFeature ,
7
7
ConfigurationFeature ,
8
8
ConfigurationUpdateFeature ,
9
9
} from '../client/features/configuration'
10
10
import {
11
11
TextDocumentDynamicDecorationsFeature ,
12
12
TextDocumentStaticDecorationsFeature ,
13
- } from '../client/features/decorations '
13
+ } from '../client/features/decoration '
14
14
import { TextDocumentHoverFeature } from '../client/features/hover'
15
- import { WindowLogMessagesFeature } from '../client/features/logMessages '
16
- import { WindowShowMessagesFeature } from '../client/features/showMessages '
17
- import { TextDocumentDidOpenFeature } from '../client/features/textDocuments '
15
+ import { WindowLogMessageFeature } from '../client/features/logMessage '
16
+ import { WindowShowMessageFeature } from '../client/features/message '
17
+ import { TextDocumentDidOpenFeature } from '../client/features/textDocument '
18
18
import { MessageTransports } from '../jsonrpc2/connection'
19
19
import { Trace } from '../jsonrpc2/trace'
20
20
import {
@@ -164,7 +164,7 @@ export class Controller<X extends Extension = Extension> implements Unsubscribab
164
164
}
165
165
166
166
private registerClientFeatures ( client : Client , settings : Observable < ExtensionSettings > ) : void {
167
- client . registerFeature ( new ConfigurationChangeNotificationsFeature ( client , settings ) )
167
+ client . registerFeature ( new ConfigurationChangeNotificationFeature ( client , settings ) )
168
168
client . registerFeature ( new ConfigurationFeature ( client , settings ) )
169
169
client . registerFeature (
170
170
new ConfigurationUpdateFeature (
@@ -185,12 +185,12 @@ export class Controller<X extends Extension = Extension> implements Unsubscribab
185
185
new TextDocumentDynamicDecorationsFeature ( client , this . registries . textDocumentDecorations )
186
186
)
187
187
client . registerFeature (
188
- new WindowLogMessagesFeature ( client , ( params : LogMessageParams ) =>
188
+ new WindowLogMessageFeature ( client , ( params : LogMessageParams ) =>
189
189
this . _logMessages . next ( { ...params , extension : client . id } )
190
190
)
191
191
)
192
192
client . registerFeature (
193
- new WindowShowMessagesFeature (
193
+ new WindowShowMessageFeature (
194
194
client ,
195
195
( params : ShowMessageParams ) => this . _showMessages . next ( { ...params , extension : client . id } ) ,
196
196
( params : ShowMessageRequestParams ) =>
0 commit comments