| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 53806cd commit 2d2a745
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2194,7 +2194,7 @@ | |||
| 2194 | 2194 | "react": "^17.0.2", | |
| 2195 | 2195 | "react-dom": "^17.0.2", | |
| 2196 | 2196 | "semver": "^7.5.2", | |
| 2197 | - "vscode-languageclient": "8.2.0-next.3", | ||
| 2197 | + "vscode-languageclient": "^10.1.0", | ||
| 2198 | 2198 | "vscode-variables": "^1.0.1", | |
| 2199 | 2199 | "winreg-utf8": "^0.1.1", | |
| 2200 | 2200 | "winston": "^3.2.1", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -286,9 +286,9 @@ export async function activate(context: ExtensionContext): Promise<ExtensionAPI> | |||
| 286 | 286 | }, | |
| 287 | 287 | resolveCompletionItem: async (item, token, next): Promise<CompletionItem> => { | |
| 288 | 288 | const completionItem = await next(item, token); | |
| 289 | - if (completionItem?.documentation instanceof MarkdownString) { | ||
| 290 | - completionItem.documentation = fixJdtLinksInDocumentation(completionItem.documentation); | ||
| 291 | - } | ||
| 289 | + // if (completionItem?.documentation instanceof MarkdownString) { | ||
| 290 | + // completionItem.documentation = fixJdtLinksInDocumentation(completionItem.documentation); | ||
| 291 | + // } | ||
| 292 | 292 | return completionItem; | |
| 293 | 293 | }, | |
| 294 | 294 | // https://github.com/redhat-developer/vscode-java/issues/2130 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,11 +1,28 @@ | |||
| 1 | - import { OutputChannel, window, ViewColumn } from "vscode"; | ||
| 1 | + import { Event, LogLevel, LogOutputChannel, ViewColumn, window } from "vscode"; | ||
| 2 | 2 | import { logger } from "./log"; | |
| 3 | 3 | ||
| 4 | - export class OutputInfoCollector implements OutputChannel { | ||
| 5 | - private channel: OutputChannel = null; | ||
| 4 | + export class OutputInfoCollector implements LogOutputChannel { | ||
| 5 | + private channel: LogOutputChannel = null; | ||
| 6 | 6 | ||
| 7 | 7 | constructor(public name: string) { | |
| 8 | - this.channel = window.createOutputChannel(this.name); | ||
| 8 | + this.channel = window.createOutputChannel(this.name, { log:true }); | ||
| 9 | + } | ||
| 10 | + get logLevel(): LogLevel { return this.channel.logLevel; } | ||
| 11 | + get onDidChangeLogLevel(): Event<LogLevel> { return this.channel.onDidChangeLogLevel; }; | ||
| 12 | + trace(message: string, ...args: any[]): void { | ||
| 13 | + this.channel.trace(message, args); | ||
| 14 | + } | ||
| 15 | + debug(message: string, ...args: any[]): void { | ||
| 16 | + this.channel.debug(message, args); | ||
| 17 | + } | ||
| 18 | + info(message: string, ...args: any[]): void { | ||
| 19 | + this.channel.info(message, args); | ||
| 20 | + } | ||
| 21 | + warn(message: string, ...args: any[]): void { | ||
| 22 | + this.channel.warn(message, args); | ||
| 23 | + } | ||
| 24 | + error(error: string | Error, ...args: any[]): void { | ||
| 25 | + this.channel.error(error, args); | ||
| 9 | 26 | } | |
| 10 | 27 | ||
| 11 | 28 | append(value: string): void { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,16 +25,13 @@ export function registerClientProviders(context: ExtensionContext, options: Prov | |||
| 25 | 25 | const symbolProvider = createDocumentSymbolProvider(); | |
| 26 | 26 | context.subscriptions.push(languages.registerDocumentSymbolProvider('java', symbolProvider)); | |
| 27 | 27 | ||
| 28 | - const jdtProvider = createJDTContentProvider(options); | ||
| 29 | - context.subscriptions.push(workspace.registerTextDocumentContentProvider('jdt', jdtProvider)); | ||
| 30 | - | ||
| 31 | 28 | const classProvider = createClassContentProvider(options); | |
| 32 | 29 | context.subscriptions.push(workspace.registerTextDocumentContentProvider('class', classProvider)); | |
| 33 | 30 | ||
| 34 | 31 | overwriteWorkspaceSymbolProvider(context); | |
| 35 | 32 | ||
| 36 | 33 | return { | |
| 37 | - handles: [hoverProvider, symbolProvider, jdtProvider, classProvider] | ||
| 34 | + handles: [hoverProvider, symbolProvider, classProvider] | ||
| 38 | 35 | }; | |
| 39 | 36 | } | |
| 40 | 37 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments