Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: unify filenames #908

Merged
merged 1 commit into from
Mar 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "ts-mocha src/test/unit/*.test.ts",
"test-extension": "rimraf out/ && tsc -p ./ && node out/test/extension/run-test.js",
"test-extension": "rimraf out/ && tsc -p ./ && node out/test/extension/runTest.js",
"build": "vsce package --yarn",
"vscode:publish": "vsce publish --yarn",
"ovsx:publish": "ovsx publish",
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import {
ExecuteCommandRequest,
CancellationToken,
} from "vscode-languageclient/node";
import { LazyProgress } from "./lazy-progress";
import { LazyProgress } from "./lazyProgress";
import * as fs from "fs";
import {
getJavaHome,
Expand Down Expand Up @@ -68,7 +68,7 @@ import {
import * as metalsLanguageClient from "metals-languageclient";
import { startTreeView } from "./treeview";
import * as scalaDebugger from "./scalaDebugger";
import { DecorationsRangesDidChange } from "./decoration-protocol";
import { DecorationsRangesDidChange } from "./decorationProtocol";
import { clearTimeout } from "timers";
import { increaseIndentPattern } from "./indentPattern";
import { gotoLocation, WindowLocation } from "./goToLocation";
Expand All @@ -77,16 +77,16 @@ import {
createFindInFilesTreeView,
executeFindInFiles,
startFindInFilesProvider,
} from "./findinfiles";
} from "./findInFiles";
import * as ext from "./hoverExtension";
import { decodeAndShowFile, MetalsFileProvider } from "./metalsContentProvider";
import {
getJavaHomeFromConfig,
getTextDocumentPositionParams,
getValueFromConfig,
} from "./util";
import { createTestManager } from "./test-explorer/test-manager";
import { BuildTargetUpdate } from "./test-explorer/types";
import { createTestManager } from "./testExplorer/testManager";
import { BuildTargetUpdate } from "./testExplorer/types";
import * as workbenchCommands from "./workbenchCommands";
import { getServerVersion } from "./getServerVersion";
import { getCoursierMirrorPath } from "./mirrors";
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import * as assert from "assert";
import * as vscode from "vscode";
import { analyzeTestRun } from "../../../../test-explorer/analyze-test-run";
import { analyzeTestRun } from "../../../../testExplorer/analyzeTestRun";
import {
SuiteName,
TestName,
TestRunActions,
TestSuiteResult,
} from "../../../../test-explorer/types";
} from "../../../../testExplorer/types";

const passed: TestSuiteResult[] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
AddTestSuite,
ClassName,
FullyQualifiedClassName,
} from "../../../../test-explorer/types";
} from "../../../../testExplorer/types";

const defaultRange: Range = {
start: { line: 1, character: 1 },
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import assert from "assert";
import * as vscode from "vscode";
import { addTestCases } from "../../../../test-explorer/add-test-cases";
import { addTestSuite } from "../../../../test-explorer/add-test-suite";
import { removeTestItem } from "../../../../test-explorer/remove-test-item";
import { addTestCases } from "../../../../testExplorer/addTestCases";
import { addTestSuite } from "../../../../testExplorer/addTestSuites";
import { removeTestItem } from "../../../../testExplorer/removeTestItem";
import { foo, fooBar, fooTestCases, noPackage } from "./data";
import { buildTarget, prettyPrint, randomString } from "./util";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as vscode from "vscode";
import { TargetName, TargetUri } from "../../../../test-explorer/types";
import { TargetName, TargetUri } from "../../../../testExplorer/types";

export function randomString(): string {
return Math.random().toString(36).substring(2, 15);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as vscode from "vscode";
import { testCache } from "./test-cache";
import { testCache } from "./testCache";
import { TargetName, TargetUri, AddTestCases, TestItemMetadata } from "./types";
import { prefixesOf, toVscodeRange } from "./util";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as vscode from "vscode";
import { testCache } from "./test-cache";
import { testCache } from "./testCache";
import { TargetName, TargetUri, TestItemMetadata, AddTestSuite } from "./types";
import { prefixesOf, toVscodeRange } from "./util";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as vscode from "vscode";
import { testCache } from "./test-cache";
import { testCache } from "./testCache";
import { RemoveTestSuite, TargetName } from "./types";
import { prefixesOf } from "./util";

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import {
ExecuteCommandRequest,
LanguageClient,
} from "vscode-languageclient/node";
import { addTestCases } from "./add-test-cases";
import { addTestSuite } from "./add-test-suite";
import { removeTestItem } from "./remove-test-item";
import { runHandler } from "./test-run-handler";
import { addTestCases } from "./addTestCases";
import { addTestSuite } from "./addTestSuites";
import { removeTestItem } from "./removeTestItem";
import { runHandler } from "./testRunHandler";
import { BuildTargetUpdate } from "./types";

export function createTestManager(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
TestRunRequest,
} from "vscode";
import { debugServerFromUri, DebugSession } from "../scalaDebugger";
import { analyzeTestRun } from "./analyze-test-run";
import { testCache } from "./test-cache";
import { analyzeTestRun } from "./analyzeTestRun";
import { testCache } from "./testCache";
import {
DapEvent,
ScalaTestSelection,
Expand Down
File renamed without changes.
File renamed without changes.