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 .vscode
node_modules node_modules
out/ out/
!out/main.js
src/ src/
dev/
tsconfig.json tsconfig.json
webpack.config.js webpack.config.js
\ No newline at end of file
No preview for this file type
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"version": "0.0.1", "version": "0.0.1",
"publisher": "Deadlock", "publisher": "Deadlock",
"engines": { "engines": {
"vscode": "^1.38.0" "vscode": "^1.51.0"
}, },
"categories": [ "categories": [
"Other" "Other"
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
"type": "git", "type": "git",
"url": "https://github.com/microsoft/vscode-extension-samples.git" "url": "https://github.com/microsoft/vscode-extension-samples.git"
}, },
"main": "./out/extension.js", "main": "./out/main.js",
"contributes": { "contributes": {
"commands": [ "commands": [
{ {
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
"devDependencies": { "devDependencies": {
"@types/marked": "^4.0.1", "@types/marked": "^4.0.1",
"@types/node": "^12.20.37", "@types/node": "^12.20.37",
"@types/vscode": "^1.38.0", "@types/vscode": "^1.51.0",
"@typescript-eslint/eslint-plugin": "^3.10.1", "@typescript-eslint/eslint-plugin": "^3.10.1",
"@typescript-eslint/parser": "^3.10.1", "@typescript-eslint/parser": "^3.10.1",
"esbuild": "^0.14.2", "esbuild": "^0.14.2",
......
...@@ -11,6 +11,7 @@ export function initViews() { ...@@ -11,6 +11,7 @@ export function initViews() {
export const userConfig = new UserConfigTheia(); export const userConfig = new UserConfigTheia();
export async function activate(context: vscode.ExtensionContext) { export async function activate(context: vscode.ExtensionContext) {
vscode.window.showInformationMessage('Bienvenue sur Deadlock!');
try { try {
await userConfig.init(); await userConfig.init();
......
...@@ -2,13 +2,11 @@ ...@@ -2,13 +2,11 @@
import { import {
commands, commands,
Disposable, Disposable,
Uri,
ViewColumn, ViewColumn,
Webview, Webview,
WebviewPanel, WebviewPanel,
WebviewPanelOnDidChangeViewStateEvent, WebviewPanelOnDidChangeViewStateEvent,
window, window,
workspace,
} from "vscode"; } from "vscode";
import { Command } from "../theia/command"; import { Command } from "../theia/command";
...@@ -97,9 +95,6 @@ export abstract class WebviewBase implements Disposable { ...@@ -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._disposablePanel = Disposable.from(
this._panel, this._panel,
this._panel.onDidDispose(this.onPanelDisposed, this), 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