Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bbeeb08

Browse files
committed
Update Theia to 1.22.1
1 parent ef2be1c commit bbeeb08

27 files changed

+677
-1374
lines changed

‎.vscode/launch.json‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@
3737
"internalConsoleOptions": "openOnSessionStart",
3838
"outputCapture": "std"
3939
},
40+
{
41+
"type": "chrome",
42+
"request": "attach",
43+
"name": "Attach to Electron Frontend",
44+
"port": 9222,
45+
"webRoot": "${workspaceFolder}/electron-app"
46+
},
4047
{
4148
"type": "node",
4249
"request": "launch",
@@ -104,5 +111,14 @@
104111
"program": "${workspaceRoot}/electron/packager/index.js",
105112
"cwd": "${workspaceFolder}/electron/packager"
106113
}
114+
],
115+
"compounds": [
116+
{
117+
"name": "Launch Electron Backend & Frontend",
118+
"configurations": [
119+
"App (Electron)",
120+
"Attach to Electron Frontend"
121+
]
122+
}
107123
]
108124
}

‎BUILDING.md‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ Once you have all the tools installed, you can build the editor following these
5757

5858
3. Rebuild the electron dependencies
5959
```sh
60-
cd electron-app
61-
yarn theia rebuild:electron
62-
cd ..
60+
yarn rebuild:electron
6361
```
6462

6563
4. Start the application

‎arduino-ide-extension/package.json‎

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,23 @@
2121
},
2222
"dependencies": {
2323
"@grpc/grpc-js": "^1.3.7",
24-
"@theia/application-package": "1.19.0",
25-
"@theia/core": "1.19.0",
26-
"@theia/editor": "1.19.0",
27-
"@theia/editor-preview": "1.19.0",
28-
"@theia/filesystem": "1.19.0",
29-
"@theia/git": "1.19.0",
30-
"@theia/keymaps": "1.19.0",
31-
"@theia/markers": "1.19.0",
32-
"@theia/monaco": "1.19.0",
33-
"@theia/navigator": "1.19.0",
34-
"@theia/outline-view": "1.19.0",
35-
"@theia/output": "1.19.0",
36-
"@theia/preferences": "1.19.0",
37-
"@theia/search-in-workspace": "1.19.0",
38-
"@theia/terminal": "1.19.0",
39-
"@theia/workspace": "1.19.0",
24+
"@theia/application-package": "1.22.1",
25+
"@theia/core": "1.22.1",
26+
"@theia/editor": "1.22.1",
27+
"@theia/editor-preview": "1.22.1",
28+
"@theia/electron": "1.22.1",
29+
"@theia/filesystem": "1.22.1",
30+
"@theia/git": "1.22.1",
31+
"@theia/keymaps": "1.22.1",
32+
"@theia/markers": "1.22.1",
33+
"@theia/monaco": "1.22.1",
34+
"@theia/navigator": "1.22.1",
35+
"@theia/outline-view": "1.22.1",
36+
"@theia/output": "1.22.1",
37+
"@theia/preferences": "1.22.1",
38+
"@theia/search-in-workspace": "1.22.1",
39+
"@theia/terminal": "1.22.1",
40+
"@theia/workspace": "1.22.1",
4041
"@tippyjs/react": "^4.2.5",
4142
"@types/atob": "^2.1.2",
4243
"@types/auth0-js": "^9.14.0",

‎arduino-ide-extension/src/browser/arduino-frontend-contribution.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { inject, injectable, postConstruct } from 'inversify';
22
import * as React from 'react';
3-
import {remote }from 'electron';
3+
import *asremote from '@theia/core/electron-shared/@electron/remote';
44
import {
55
BoardsService,
66
SketchesService,

‎arduino-ide-extension/src/browser/contributions/about.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { inject, injectable } from 'inversify';
22
import * as moment from 'moment';
3-
import {remote }from 'electron';
3+
import *asremote from '@theia/core/electron-shared/@electron/remote';
44
import { isOSX, isWindows } from '@theia/core/lib/common/os';
55
import { ClipboardService } from '@theia/core/lib/browser/clipboard-service';
66
import { FrontendApplicationConfigProvider } from '@theia/core/lib/browser/frontend-application-config-provider';

‎arduino-ide-extension/src/browser/contributions/add-file.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { inject, injectable } from 'inversify';
2-
import {remote }from 'electron';
2+
import *asremote from '@theia/core/electron-shared/@electron/remote';
33
import { ArduinoMenus } from '../menu/arduino-menus';
44
import {
55
SketchContribution,

‎arduino-ide-extension/src/browser/contributions/add-zip-library.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { inject, injectable } from 'inversify';
2-
import {remote }from 'electron';
2+
import *asremote from '@theia/core/electron-shared/@electron/remote';
33
import URI from '@theia/core/lib/common/uri';
44
import { ConfirmDialog } from '@theia/core/lib/browser/dialogs';
55
import { EnvVariablesServer } from '@theia/core/lib/common/env-variables';

‎arduino-ide-extension/src/browser/contributions/archive-sketch.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { injectable } from 'inversify';
2-
import {remote }from 'electron';
2+
import *asremote from '@theia/core/electron-shared/@electron/remote';
33
import * as dateFormat from 'dateformat';
44
import URI from '@theia/core/lib/common/uri';
55
import { ArduinoMenus } from '../menu/arduino-menus';

‎arduino-ide-extension/src/browser/contributions/board-selection.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { inject, injectable } from 'inversify';
2-
import {remote }from 'electron';
2+
import *asremote from '@theia/core/electron-shared/@electron/remote';
33
import { MenuModelRegistry } from '@theia/core/lib/common/menu';
44
import {
55
DisposableCollection,

‎arduino-ide-extension/src/browser/contributions/close.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { inject, injectable } from 'inversify';
22
import { toArray } from '@phosphor/algorithm';
3-
import {remote }from 'electron';
3+
import *asremote from '@theia/core/electron-shared/@electron/remote';
44
import { MonacoEditor } from '@theia/monaco/lib/browser/monaco-editor';
55
import { EditorManager } from '@theia/editor/lib/browser/editor-manager';
66
import { ApplicationShell } from '@theia/core/lib/browser/shell/application-shell';

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /