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
29
29
30
30
class WorkspaceStatus {
31
31
static createStatusItem ( context : vscode . ExtensionContext , languageServerEvents : RoslynLanguageServerEvents ) {
32
- const documentSelector = combineDocumentSelectors (
33
- languageServerOptions . documentSelector ,
34
- RazorLanguage . documentSelector
35
- ) ;
32
+ const documentSelector = combineDocumentSelectors ( languageServerOptions . documentSelector ) ;
36
33
const openSolutionCommand = {
37
34
command : 'dotnet.openSolution' ,
38
35
title : vscode . l10n . t ( 'Open solution' ) ,
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export class ProjectContextService {
47
47
public async refresh ( ) {
48
48
const textEditor = vscode . window . activeTextEditor ;
49
49
const languageId = textEditor ?. document ?. languageId ;
50
- if ( languageId !== 'csharp' && languageId !== 'aspnetcorerazor' ) {
50
+ if ( languageId !== 'csharp' ) {
51
51
return ;
52
52
}
53
53
You can’t perform that action at this time.
0 commit comments