File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,7 @@ function combineDocumentSelectors(...selectors: vscode.DocumentSelector[]): vsco
2929
3030class WorkspaceStatus {
3131 static createStatusItem ( context : vscode . ExtensionContext , languageServerEvents : RoslynLanguageServerEvents ) {
32- const documentSelector = combineDocumentSelectors (
33- languageServerOptions . documentSelector ,
34- RazorLanguage . documentSelector
35- ) ;
32+ const documentSelector = combineDocumentSelectors ( languageServerOptions . documentSelector ) ;
3633 const openSolutionCommand = {
3734 command : 'dotnet.openSolution' ,
3835 title : vscode . l10n . t ( 'Open solution' ) ,
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export class ProjectContextService {
4747 public async refresh ( ) {
4848 const textEditor = vscode . window . activeTextEditor ;
4949 const languageId = textEditor ?. document ?. languageId ;
50- if ( languageId !== 'csharp' && languageId !== 'aspnetcorerazor' ) {
50+ if ( languageId !== 'csharp' ) {
5151 return ;
5252 }
5353
You can’t perform that action at this time.
0 commit comments