Skip to content

Commit

Permalink
revert: remove Theia manifet.json via settings.json workaround (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
bd82 authored Jul 2, 2020
1 parent 7ac3471 commit 4ca8eb9
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 152 deletions.
3 changes: 0 additions & 3 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
# schema.json for manifest
packages/vscode-ui5-language-assistant/resources/ @sapirpol

# register manifest.json schema in workspace configuration - theia workaround
packages/vscode-ui5-language-assistant/src/registerManifestSchema.ts @sapirpol @bd82
8 changes: 0 additions & 8 deletions packages/vscode-ui5-language-assistant/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
SERVER_PATH,
ServerInitializationOptions,
} from "@ui5-language-assistant/language-server";
import { registerManifestSchema } from "./registerManifestSchema";

let client: LanguageClient;

Expand Down Expand Up @@ -51,13 +50,6 @@ export async function activate(context: ExtensionContext): Promise<void> {
clientOptions
);

// This is a workaround to config `manifest.json` schema.
// Theia has a bug which there is no support for `contributes.jsonValidation`
// - https://code.visualstudio.com/api/references/contribution-points#contributes.jsonValidation
if (process.env["THEIA_PARENT_PID"] !== undefined) {
registerManifestSchema();
}

client.start();
}

Expand Down
20 changes: 0 additions & 20 deletions packages/vscode-ui5-language-assistant/src/manifestSchemaConfig.ts

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 4ca8eb9

Please sign in to comment.