Skip to content

Commit

Permalink
See issue #110: Removing code that we're not currently doing anything…
Browse files Browse the repository at this point in the history
… with
  • Loading branch information
sureshjoshi committed Dec 4, 2024
1 parent ba6d3e0 commit bc361fd
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 125 deletions.
32 changes: 0 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -163,38 +163,6 @@
"when": "suspenders:isActivated"
}
],
"view/item/context": [
{
"command": "suspenders.deployTarget",
"group": "suspenders",
"when": "view == targets && viewItem =~ /experimental-deploy/"
},
{
"command": "suspenders.packageTarget",
"group": "suspenders",
"when": "view == targets && viewItem =~ /package/"
},
{
"command": "suspenders.publishTarget",
"group": "suspenders",
"when": "view == targets && viewItem =~ /publish/"
},
{
"command": "suspenders.runTarget",
"group": "suspenders",
"when": "view == targets && viewItem =~ /run/"
},
{
"command": "suspenders.testTarget",
"group": "suspenders",
"when": "view == targets && viewItem =~ /test/"
},
{
"command": "suspenders.testTargetTransitively",
"group": "suspenders",
"when": "view == targets && viewItem =~ /test/"
}
],
"view/title": [
{
"command": "suspenders.source-roots.refresh",
Expand Down
65 changes: 0 additions & 65 deletions src/codelens/codelens-provider.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/codelens/index.ts

This file was deleted.

14 changes: 0 additions & 14 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import * as proc from "child_process";
import * as vscode from "vscode";
import { TargetsProvider, SourceRootsProvider } from "./treeviews";
import { logger } from "./logging";
import { CodeLensProvider } from "./codelens";
import { TestsProvider } from "./test-explorer";
import { getPantsExecutable } from "./configuration";
import { createLanguageClient, generateBuiltinsFile } from "./lsp/client";
import { DidChangeConfigurationNotification, LanguageClient } from "vscode-languageclient/node";
Expand Down Expand Up @@ -61,18 +59,6 @@ export async function activate(context: vscode.ExtensionContext) {

vscode.commands.executeCommand("setContext", "suspenders:isActivated", true);

// const codeLensProvider = new CodeLensProvider();
// vscode.languages.registerCodeLensProvider({ pattern: "**/BUILD*" }, codeLensProvider);

const testController = vscode.tests.createTestController(
"suspenders-test-controller",
"All of the Tests"
);
const testsProvider = new TestsProvider(testController);
context.subscriptions.push(
vscode.commands.registerCommand("suspenders.tests.refresh", () => testsProvider.refresh())
);

context.subscriptions.push(
vscode.commands.registerCommand("suspenders.generateBuiltins", async () => {
try {
Expand Down
Empty file removed src/pants/cache.ts
Empty file.
1 change: 0 additions & 1 deletion src/test-explorer/index.ts

This file was deleted.

12 changes: 0 additions & 12 deletions src/test-explorer/tests-provider.ts

This file was deleted.

0 comments on commit bc361fd

Please sign in to comment.