Skip to content

Commit

Permalink
Remove no longer used interfaces from java-protocol.ts
Browse files Browse the repository at this point in the history
This is a follow-up ot #2574 which moved semantic highlighting interfaces
to a language-agnostic place but left these interfaces behind.

Signed-off-by: Nathan Ridge <[email protected]>
  • Loading branch information
HighCommander4 authored and kittaakos committed Apr 8, 2019
1 parent 7d2959f commit 28df6ba
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions packages/java/src/browser/java-protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
********************************************************************************/

import { RequestType, NotificationType } from 'vscode-jsonrpc';
import { VersionedTextDocumentIdentifier, TextDocumentIdentifier, Command, MessageType, ExecuteCommandParams } from '@theia/languages/lib/browser';
import { TextDocumentIdentifier, Command, MessageType, ExecuteCommandParams } from '@theia/languages/lib/browser';

export interface StatusReport {
message: string;
Expand All @@ -34,16 +34,6 @@ export interface ActionableMessage {
commands?: Command[];
}

export interface SemanticHighlightingParams {
readonly textDocument: VersionedTextDocumentIdentifier;
readonly lines: SemanticHighlightingInformation[];
}

export interface SemanticHighlightingInformation {
readonly line: number;
readonly tokens: string | undefined;
}

export namespace ClassFileContentsRequest {
export const type = new RequestType<TextDocumentIdentifier, string | undefined, void, void>('java/classFileContents');
}
Expand All @@ -52,10 +42,6 @@ export namespace ActionableNotification {
export const type = new NotificationType<ActionableMessage, void>('language/actionableNotification');
}

export namespace SemanticHighlight {
export const type = new NotificationType<SemanticHighlightingParams, void>('textDocument/semanticHighlighting');
}

export enum CompileWorkspaceStatus {
FAILED = 0,
SUCCEED = 1,
Expand Down

0 comments on commit 28df6ba

Please sign in to comment.