- Hover provider showing entity information and type - Go-to-definition (F12) for entity references - Basic IFC file validation (ISO-10303-21 header check) - Entity parsing with regex-based detection - Proper CommonJS module system (avoiding ES module issues) This replaces the broken baseline from ifc-developer-tools which had: - Non-functional ES module configuration - Circular dependency issues - Parser crashes - Non-working PositionVisitor Built on Microsoft's LSP example template for a clean, maintainable foundation. Next: Add hierarchical entity dependency tree in hover tooltip."
24 lines
886 B
TypeScript
24 lines
886 B
TypeScript
import { Disposable } from 'vscode';
|
|
import { ProgressToken, ProgressType, NotificationHandler, ProtocolNotificationType } from 'vscode-languageserver-protocol';
|
|
export interface ProgressContext {
|
|
onProgress<P>(type: ProgressType<P>, token: string | number, handler: NotificationHandler<P>): Disposable;
|
|
sendNotification<P, RO>(type: ProtocolNotificationType<P, RO>, params?: P): void;
|
|
}
|
|
export declare class ProgressPart {
|
|
private _client;
|
|
private _token;
|
|
private _infinite;
|
|
private _reported;
|
|
private _lspProgressDisposable;
|
|
private _progress;
|
|
private _cancellationToken;
|
|
private _tokenDisposable;
|
|
private _resolve;
|
|
private _reject;
|
|
constructor(_client: ProgressContext, _token: ProgressToken, done?: (part: ProgressPart) => void);
|
|
private begin;
|
|
private report;
|
|
cancel(): void;
|
|
done(): void;
|
|
private cleanup;
|
|
}
|