Skip to content

Commit

Permalink
remove artifact tree
Browse files Browse the repository at this point in the history
  • Loading branch information
larshp committed Oct 15, 2023
1 parent b7cb7ec commit afc44f2
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 158 deletions.
68 changes: 0 additions & 68 deletions client/src/artifacts_tree_provider.ts

This file was deleted.

3 changes: 0 additions & 3 deletions client/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {Highlight} from "./highlight";
import {Help} from "./help";
import {Config} from "./config";
import {Flows} from "./flows";
import {ArtifactsTreeProvider} from "./artifacts_tree_provider";
import {TestController} from "./test_controller";

let client: BaseLanguageClient;
Expand Down Expand Up @@ -92,8 +91,6 @@ export function activate(context: ExtensionContext) {

new TestController(client);

vscode.window.registerTreeDataProvider("abaplint.artifacts", new ArtifactsTreeProvider(client));

client.start().then(() => {
client.onNotification("abaplint/status", (message: {text: string, tooltip: string}) => {
myStatusBarItem.text = "abaplint: " + message.text;
Expand Down
8 changes: 0 additions & 8 deletions common/common_types.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
// no abaplint types, but vscode types should be okay in this file

export interface ArtifactInformation {
type: string,
name: string,
description: string,
mainFile: string,
subFiles: {name: string, file: string}[];
}

export interface UnitTestInformation {
global: string,
testClass: string,
Expand Down
22 changes: 0 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@
"enablement": "editorLangId == 'abap'",
"category": "abaplint"
},
{
"command": "abaplint.create.artifact",
"title": "Create ABAP Artifact",
"category": "abaplint"
},
{
"command": "abaplint.create.default-config",
"title": "Create Default Config",
Expand Down Expand Up @@ -100,23 +95,6 @@
"url": "https://schema.abaplint.app/schema.json"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "abaplint",
"title": "abaplint",
"icon": "img/abaplint.svg"
}
]
},
"views": {
"abaplint": [
{
"id": "abaplint.artifacts",
"name": "Artifacts"
}
]
},
"menus": {
"editor/title": [
{
Expand Down
6 changes: 0 additions & 6 deletions server/src/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {TextDocument} from "vscode-languageserver-textdocument";
import {FileOperations} from "./file_operations";
import {GitOperations} from "./git";
import {UnitTests} from "./handlers/unit_test";
import {Artifacts} from "./handlers/artifacts";

export interface IFolder {
root: string;
Expand Down Expand Up @@ -260,11 +259,6 @@ export class Handler {
this.connection.sendNotification("abaplint/unittests/list/response", tests);
}

public onListArtifacts() {
const tests = new Artifacts(this.reg).list();
this.connection.sendNotification("abaplint/artifacts/list/response", tests);
}

public onCodeAction(params: LServer.CodeActionParams): LServer.CodeAction[] {
return new abaplint.LanguageServer(this.reg).codeActions(params);
}
Expand Down
46 changes: 0 additions & 46 deletions server/src/handlers/artifacts.ts

This file was deleted.

5 changes: 0 additions & 5 deletions server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,5 @@ connection.onRequest("abaplint/unittests/list/request", async () => {
handler.onListUnitTests();
});

connection.onRequest("abaplint/artifacts/list/request", async () => {
const handler = await getHandler();
handler.onListArtifacts();
});

documents.listen(connection);
connection.listen();

0 comments on commit afc44f2

Please sign in to comment.