Skip to content

Commit 15904e5

Browse files
committed
style: format import order with prettier
1 parent acb8a80 commit 15904e5

22 files changed

Lines changed: 34 additions & 29 deletions

lana/src/Context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright (c) 2020 Certinia Inc. All rights reserved.
33
*/
4-
import { type ExtensionContext, workspace } from 'vscode';
4+
import { workspace, type ExtensionContext } from 'vscode';
55

66
import { ShowAnalysisCodeLens } from './codelenses/ShowAnalysisCodeLens.js';
77
import { RetrieveLogFile } from './commands/RetrieveLogFile.js';

lana/src/codelenses/ShowAnalysisCodeLens.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CodeLens, type CodeLensProvider, Range, type TextDocument, languages } from 'vscode';
1+
import { CodeLens, Range, languages, type CodeLensProvider, type TextDocument } from 'vscode';
22

33
import { Context } from '../Context.js';
44
import { ShowLogAnalysis } from '../commands/ShowLogAnalysis.js';

lana/src/commands/LogView.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { createReadStream, existsSync } from 'fs';
55
import { writeFile } from 'fs/promises';
66
import { homedir } from 'os';
77
import { basename, dirname, join, parse } from 'path';
8-
import { type WebviewPanel, window as vscWindow } from 'vscode';
9-
import { Uri, commands, workspace } from 'vscode';
8+
import { Uri, commands, window as vscWindow, workspace, type WebviewPanel } from 'vscode';
109

1110
import { Context } from '../Context.js';
1211
import { OpenFileInPackage } from '../display/OpenFileInPackage.js';

lana/src/commands/RetrieveLogFile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { type LogRecord } from '@salesforce/apex-node';
55
import { existsSync } from 'fs';
66
import { join, parse } from 'path';
7-
import { type WebviewPanel, window } from 'vscode';
7+
import { window, type WebviewPanel } from 'vscode';
88

99
import { appName } from '../AppSettings.js';
1010
import { Context } from '../Context.js';

lana/src/display/Display.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright (c) 2020 Certinia Inc. All rights reserved.
33
*/
4-
import { type MessageOptions, Uri, commands, window } from 'vscode';
4+
import { Uri, commands, window, type MessageOptions } from 'vscode';
55

66
import { appName } from '../AppSettings.js';
77

lana/src/display/OpenFileInPackage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import { sep } from 'path';
55
import {
66
Position,
77
Selection,
8-
type TextDocumentShowOptions,
98
Uri,
109
ViewColumn,
1110
commands,
11+
type TextDocumentShowOptions,
1212
} from 'vscode';
1313

1414
import { Context } from '../Context.js';

lana/src/display/QuickPick.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright (c) 2020 Certinia Inc. All rights reserved.
33
*/
4-
import { type QuickPickItem, type QuickPickOptions, window } from 'vscode';
4+
import { window, type QuickPickItem, type QuickPickOptions } from 'vscode';
55

66
export class Item implements QuickPickItem {
77
label: string;

lana/src/display/WebView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Copyright (c) 2020 Certinia Inc. All rights reserved.
33
*/
4-
import { Uri, type WebviewPanel, type WebviewPanelOptions, window } from 'vscode';
4+
import { Uri, window, type WebviewPanel, type WebviewPanelOptions } from 'vscode';
55

66
export class WebView {
77
static apply(name: string, title: string, resourceRoots: Uri[]): WebviewPanel {

log-viewer/modules/__tests__/TreeView.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/*
22
* Copyright (c) 2020 Certinia Inc. All rights reserved.
33
*/
4-
import parseLog, { logLines } from '../parsers/TreeParserLegacy.js';
5-
import { LineIterator } from '../parsers/TreeParserLegacy.js';
4+
import parseLog, { LineIterator, logLines } from '../parsers/TreeParserLegacy.js';
65

76
describe('LineIterator tests', () => {
87
it('Should return null when there are no more lines', () => {

log-viewer/modules/components/AnalysisView.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import {
77
vsCodeDropdown,
88
vsCodeOption,
99
} from '@vscode/webview-ui-toolkit';
10-
import { LitElement, type PropertyValues, css, html, unsafeCSS } from 'lit';
10+
import { LitElement, css, html, unsafeCSS, type PropertyValues } from 'lit';
1111
import { customElement, property } from 'lit/decorators.js';
12-
import { type ColumnComponent, TabulatorFull as Tabulator } from 'tabulator-tables';
12+
import { TabulatorFull as Tabulator, type ColumnComponent } from 'tabulator-tables';
1313

1414
import NumberAccessor from '../datagrid/dataaccessor/Number.js';
1515
import { progressFormatter } from '../datagrid/format/Progress.js';

0 commit comments

Comments
 (0)