File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ namespace SchemaAssociationNotification {
3939}
4040
4141// eslint-disable-next-line @typescript-eslint/no-namespace
42- namespace ContentRequestRegistration {
42+ namespace VSCodeContentRequestRegistration {
4343 // eslint-disable-next-line @typescript-eslint/ban-types
44- export const type : NotificationType < { } , { } > = new NotificationType ( 'yaml/registerContentRequest ' ) ;
44+ export const type : NotificationType < { } , { } > = new NotificationType ( 'yaml/registerVSCodeContentRequest ' ) ;
4545}
4646
4747// eslint-disable-next-line @typescript-eslint/no-namespace
@@ -107,7 +107,7 @@ export function activate(context: ExtensionContext): SchemaExtensionAPI {
107107 // Tell the server that the client is ready to provide custom schema content
108108 client . sendNotification ( DynamicCustomSchemaRequestRegistration . type ) ;
109109 // Tell the server that the client supports schema requests sent directly to it
110- client . sendNotification ( ContentRequestRegistration . type ) ;
110+ client . sendNotification ( VSCodeContentRequestRegistration . type ) ;
111111 // If the server asks for custom schema content, get it and send it back
112112 client . onRequest ( CUSTOM_SCHEMA_REQUEST , ( resource : string ) => {
113113 return schemaExtensionAPI . requestCustomSchema ( resource ) ;
You can’t perform that action at this time.
0 commit comments