Skip to content

Commit

Permalink
fixup! Apply ResourceLabelFormatter API
Browse files Browse the repository at this point in the history
  • Loading branch information
vinokurig committed Jul 28, 2020
1 parent 80aca89 commit 8d7ccda
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/plugin-ext/src/plugin/types-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import * as theia from '@theia/plugin';
import * as crypto from 'crypto';
import { URI } from 'vscode-uri';
import { relative } from '../common/paths-util';
// import { startsWithIgnoreCase } from '@theia/core/lib/common/strings';
import { MarkdownString, isMarkdownString } from './markdown-string';
import { SymbolKind } from '../common/plugin-api-rpc-model';
import { startsWithIgnoreCase } from '@theia/core/lib/common/strings';

export class Disposable {
private disposable: undefined | (() => void);
Expand Down Expand Up @@ -979,8 +979,7 @@ export class CodeActionKind {
}

public contains(other: CodeActionKind): boolean {
// return this.value === other.value || startsWithIgnoreCase(other.value, this.value + CodeActionKind.sep);
return true;
return this.value === other.value || startsWithIgnoreCase(other.value, this.value + CodeActionKind.sep);
}

public intersects(other: CodeActionKind): boolean {
Expand Down

0 comments on commit 8d7ccda

Please sign in to comment.