File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ import {
29
29
CortexCommandLanguageSupportConfiguration ,
30
30
} from './services/configuration.service' ;
31
31
import { validateFilePaths } from './validations/validateFilePath' ;
32
- import { fsService } from './services/fileSystem.service' ;
33
32
34
33
const connection = createConnection ( ProposedFeatures . all ) ;
35
34
@@ -54,8 +53,6 @@ connection.onInitialize((params: InitializeParams): InitializeResult => {
54
53
configService . hasDiagnosticRelatedInformationCapability =
55
54
! ! capabilities . textDocument ?. publishDiagnostics ?. relatedInformation ;
56
55
57
- fsService . workspaceFolders = params . workspaceFolders ?? [ ] ;
58
-
59
56
const result : InitializeResult = {
60
57
capabilities : {
61
58
// codeActionProvider: true,
Original file line number Diff line number Diff line change 1
- import { Uri } from 'vscode' ;
2
-
3
1
export interface CortexCommandLanguageSupportConfiguration {
4
2
maxNumberOfProblems : number ;
5
- gameDirectoryPath : Uri ;
3
+ gameDirectoryPath : string ;
6
4
}
7
5
8
6
class ConfigurationService {
@@ -15,7 +13,7 @@ class ConfigurationService {
15
13
// but could happen with other clients.
16
14
public globalSettings : CortexCommandLanguageSupportConfiguration = {
17
15
maxNumberOfProblems : 100 ,
18
- gameDirectoryPath : Uri . parse ( '.' ) ,
16
+ gameDirectoryPath : '' ,
19
17
} ;
20
18
21
19
// Cache the settings of all open documents
You can’t perform that action at this time.
0 commit comments