Skip to content

Commit bc6d686

Browse files
committed
clean: Remove now unused code
1 parent f2c4267 commit bc6d686

File tree

2 files changed

+0
-98
lines changed

2 files changed

+0
-98
lines changed

src/services/CodinGameMonacoWorkspace.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import * as monaco from 'monaco-editor'
55
import * as vscode from 'vscode'
66
import { Workspace } from 'vscode/services'
77
import { Event, Emitter, TextDocumentSaveReason } from 'vscode-languageserver-protocol'
8-
import Configuration from './Configuration'
98

109
export interface ITextModelContentSaveHandler {
1110
saveTextContent(document: vscode.TextDocument, reason: TextDocumentSaveReason): Promise<void>
@@ -16,14 +15,6 @@ export default class CodinGameMonacoWorkspace implements Workspace {
1615
private readonly savehandlers: ITextModelContentSaveHandler[] = []
1716
protected readonly onDidSaveTextDocumentEmitter = new Emitter<vscode.TextDocument>()
1817

19-
private configuration = new Configuration()
20-
21-
getConfiguration = (section?: string | undefined): vscode.WorkspaceConfiguration => {
22-
return this.configuration.getConfiguration(section)
23-
}
24-
25-
onDidChangeConfiguration = this.configuration.onDidChangeConfiguration
26-
2718
private autoSaveModelDisposable: Disposable | undefined
2819

2920
public workspaceFolders: typeof vscode.workspace.workspaceFolders
@@ -125,7 +116,6 @@ export default class CodinGameMonacoWorkspace implements Workspace {
125116

126117
dispose (): void {
127118
this.autoSaveModelDisposable?.dispose()
128-
this.configuration.dispose()
129119
this.onWillSaveTextDocumentEmitter.dispose()
130120
this.onDidSaveTextDocumentEmitter.dispose()
131121
}

src/services/Configuration.ts

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)