File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ export class RazorLanguageServiceClient {
2626 private readonly documentManager : RazorDocumentManager
2727 ) { }
2828
29+ private static readonly MapToDocumentRangesEndpoint = 'razor/mapToDocumentRanges' ;
30+
2931 public async languageQuery ( position : vscode . Position , uri : vscode . Uri ) {
3032 await this . ensureStarted ( ) ;
3133
@@ -46,7 +48,7 @@ export class RazorLanguageServiceClient {
4648
4749 const request = new RazorMapToDocumentRangesRequest ( languageKind , serializableRanges , uri ) ;
4850 const response = await this . serverClient . sendRequest < RazorMapToDocumentRangesResponse > (
49- 'razor/mapToDocumentRanges' ,
51+ RazorLanguageServiceClient . MapToDocumentRangesEndpoint ,
5052 request
5153 ) ;
5254 const responseRanges = [ ] ;
@@ -71,7 +73,7 @@ export class RazorLanguageServiceClient {
7173
7274 const request = new RazorMapToDocumentRangesRequest ( LanguageKind . CSharp , params . ranges , document . uri ) ;
7375 const result = await this . serverClient . sendRequest < RazorMapToDocumentRangesResponse > (
74- 'razor/mapToDocumentRanges' ,
76+ RazorLanguageServiceClient . MapToDocumentRangesEndpoint ,
7577 request
7678 ) ;
7779
You can’t perform that action at this time.
0 commit comments