Skip to content
Snippets Groups Projects
Commit 52754156 authored by Alex's avatar Alex Committed by Alex
Browse files

fix: deadlock extension with bundler

parent 43dee036
No related branches found
No related tags found
1 merge request!6chores: change theia source and fix auto save
.vscode
node_modules
out/
!out/main.js
src/
dev/
tsconfig.json
webpack.config.js
\ No newline at end of file
No preview for this file type
......@@ -4,7 +4,7 @@
"version": "0.0.1",
"publisher": "Deadlock",
"engines": {
"vscode": "^1.38.0"
"vscode": "^1.51.0"
},
"categories": [
"Other"
......@@ -19,7 +19,7 @@
"type": "git",
"url": "https://github.com/microsoft/vscode-extension-samples.git"
},
"main": "./out/extension.js",
"main": "./out/main.js",
"contributes": {
"commands": [
{
......@@ -69,7 +69,7 @@
"devDependencies": {
"@types/marked": "^4.0.1",
"@types/node": "^12.20.37",
"@types/vscode": "^1.38.0",
"@types/vscode": "^1.51.0",
"@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1",
"esbuild": "^0.14.2",
......
......@@ -11,6 +11,7 @@ export function initViews() {
export const userConfig = new UserConfigTheia();
export async function activate(context: vscode.ExtensionContext) {
vscode.window.showInformationMessage('Bienvenue sur Deadlock!');
try {
await userConfig.init();
......
......@@ -2,13 +2,11 @@
import {
commands,
Disposable,
Uri,
ViewColumn,
Webview,
WebviewPanel,
WebviewPanelOnDidChangeViewStateEvent,
window,
workspace,
} from "vscode";
import { Command } from "../theia/command";
......@@ -97,9 +95,6 @@ export abstract class WebviewBase implements Disposable {
}
);
// this._panel.iconPath = Uri.file(
// Container.context.asAbsolutePath("images/gitlens-icon.png")
// );
this._disposablePanel = Disposable.from(
this._panel,
this._panel.onDidDispose(this.onPanelDisposed, this),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment