Skip to content

Commit

Permalink
Cobol Check icon removed from viewContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Egeberg Hansen committed Sep 21, 2023
1 parent 5f2c60a commit 22131ae
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 121 deletions.
5 changes: 0 additions & 5 deletions vs-code-extension/client/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { getConfigurationMap, getConfigurationValueFor, resetConfigurations, set
import { appendPath, getCobolCheckRunArgumentsBasedOnCurrentFile, getCobolProgramPathForGivenContext, getCurrentProgramName, getFileName, getTextFromFile, getRootFolder, getSourceFolderContextPath, runCobolCheck, getIsInsideTestSuiteDirectory1, getOS, getFileSeperatorForOS } from './services/CobolCheckLauncher';

import { startCutLanguageClientServer, stopCutLanguageClientServer } from './services/cutLanguageClientServerSetup';
import { ResultWebView } from './services/ResultWebView';
import { handleCobolCheckOut } from './Helpers/ExtensionHelper';
import path = require('path');
import { getContentFromFilesystem, MarkdownTestData, TestCase, testData, TestFile, TestHeading } from "./services/TestTree";
Expand All @@ -28,15 +27,11 @@ let currentPlatform = getOS();
export async function activate(context: ExtensionContext) {
startCutLanguageClientServer(context);

const provider = new ResultWebView(context.extensionUri);
const ctrl = vscode.tests.createTestController('CobolCheckController', 'Cobol Check');
context.subscriptions.push(ctrl);

const fileChangedEmitter = new vscode.EventEmitter<vscode.Uri>();

context.subscriptions.push(
vscode.window.registerWebviewViewProvider(ResultWebView.viewType, provider));

let runCobolCheck_Cmd = vscode.commands.registerCommand('cobolcheck.run', () => {
//Setting loader
vscode.window.withProgress({location: vscode.ProgressLocation.Notification, cancellable: true, title: 'Cobol Check running:'},
Expand Down
96 changes: 0 additions & 96 deletions vs-code-extension/client/src/services/ResultWebView.ts

This file was deleted.

21 changes: 1 addition & 20 deletions vs-code-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,7 @@
],
"main": "./client/out/extension",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "cobol-check",
"title": "Cobol Check",
"icon": "images/cobol-check-logo-white-small.png"
}
]
},
"views": {
"cobol-check": [
{
"type": "webview",
"id": "cobolcheck-result",
"name": "Results"
}
]
},
"languages": [
{
"languages": [ {
"id": "cut",
"aliases": [
"COBOL unit test",
Expand Down

0 comments on commit 22131ae

Please sign in to comment.