Skip to content

Commit

Permalink
Code clean-up (#1508)
Browse files Browse the repository at this point in the history
* Remove unused imports

* Fix compile error
  • Loading branch information
dbaeumer authored Jul 4, 2024
1 parent fb913e8 commit 199b1c0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion testbed/client/src/measure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function activate(context: vscode.ExtensionContext) {

const counter = 1000000;

const converter = p2c.createConverter(undefined, false, false);
const converter = p2c.createConverter(undefined, false, false, false);
// const diagnostics: proto.Diagnostic[] = new Array(counter);

// for (let i = 0; i < counter; i++) {
Expand Down
2 changes: 1 addition & 1 deletion testbed/server/src/fullNotebookServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {

import {
CompletionItem, createConnection, Diagnostic, Hover, InitializeError, InitializeResult, MarkupKind, Range, ResponseError,
TextDocuments, TextDocumentSyncKind, ProposedFeatures, Proposed, DiagnosticSeverity, NotebookCell, NotebookDocuments
TextDocuments, TextDocumentSyncKind, ProposedFeatures, DiagnosticSeverity, NotebookCell, NotebookDocuments
} from 'vscode-languageserver/node';

const patterns = [
Expand Down
4 changes: 2 additions & 2 deletions testbed/server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import {
CodeAction, CodeActionKind, Command, CompletionItem, createConnection, DeclarationLink, Definition, DefinitionLink, Diagnostic,
DocumentHighlight, DocumentHighlightKind, Hover, InitializeError, InitializeResult, Location, MarkupKind, MessageActionItem,
Position, Range, ResponseError, SignatureHelp, SymbolInformation, SymbolKind, TextDocuments, TextDocumentSyncKind,
TextEdit, ProposedFeatures, DiagnosticTag, InsertTextFormat, SelectionRangeRequest, SelectionRange, InsertReplaceEdit,
TextEdit, ProposedFeatures, InsertTextFormat, SelectionRangeRequest, SelectionRange, InsertReplaceEdit,
SemanticTokensClientCapabilities, SemanticTokensLegend, SemanticTokensBuilder, SemanticTokensRegistrationType,
SemanticTokensRegistrationOptions, ProtocolNotificationType, ChangeAnnotation, WorkspaceChange, CompletionItemKind, DiagnosticSeverity,
DocumentDiagnosticReportKind, WorkspaceDiagnosticReport, NotebookDocuments, CompletionList, DocumentLinkResolveRequest, DidChangeConfigurationNotification
DocumentDiagnosticReportKind, WorkspaceDiagnosticReport, NotebookDocuments, CompletionList, DidChangeConfigurationNotification
} from 'vscode-languageserver/node';

import {
Expand Down
2 changes: 1 addition & 1 deletion testbed/server/src/simpleNotebookServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {

import {
CompletionItem, createConnection, Diagnostic, Hover, InitializeError, InitializeResult, MarkupKind, Range, ResponseError,
TextDocuments, TextDocumentSyncKind, ProposedFeatures, Proposed, DiagnosticSeverity
TextDocuments, TextDocumentSyncKind, ProposedFeatures, DiagnosticSeverity
} from 'vscode-languageserver/node';

const patterns = [
Expand Down

0 comments on commit 199b1c0

Please sign in to comment.