dankeboy36
0bcb182ec0
fix(terminal): widget flickering on resize
...
Ref: eclipse-theia/theia#12587
Signed-off-by: dankeboy36 <dankeboy36@gmail.com >
2023-07-05 16:58:44 +02:00
dankeboy36
42d017e876
feat: expose Arduino state to VS Code extensions
...
- Update a shared state on fqbn, port, sketch path, and etc. changes.
VS Code extensions can access it and listen on changes.
- Force VISX activation order: API VSIX starts first.
Signed-off-by: dankeboy36 <dankeboy36@gmail.com >
2023-07-05 16:58:44 +02:00
Akos Kitta
8f8b46fa6f
fix: warn user when IDE cannot save the sketch
...
Happens when the IDE2 backend process crashes, and the communication
drops between the client and the server.
Closes #2081
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2023-06-09 12:11:31 +02:00
Akos Kitta
4af488b05e
fix: relaxed saveAll if no Internet connection
...
The previous logic has incorrectly bailed the save when there is no
Internet connection. The corrected logic disallows saving files if there
is no connection between the frontend and the backend.
Ref: cff2c95684
Closes #2079
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2023-06-08 08:53:47 +02:00
Akos Kitta
117b2a4fc7
fix: do not enqueue write operations on conflict
...
Closes #2051
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2023-05-11 11:16:49 +02:00
Akos Kitta
192aac5a81
chore: updated to Theia 1.37.0
...
- Updated `@theia/*` to `1.37.0`.
- Fixed all `yarn audit` security vulnerabilities.
- Updated to `electron@23.2.4`:
- `contextIsolation` is `true`,
- `nodeIntegration` is `false`, and the
- `webpack` target is moved from `electron-renderer` to `web`.
- Updated to `typescript@4.9.3`.
- Updated the `eslint` plugins.
- Added the new `Light High Contrast` theme to the IDE2.
- High contrast themes use Theia APIs for style adjustments.
- Support for ESM modules: `"moduleResolution": "node16"`.
- Node.js >= 16.14 is required.
- VISX langage packs were bumped to `1.70.0`.
- Removed undesired editor context menu items. (Closes #1394 )
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2023-05-09 17:37:24 +02:00
Akos Kitta
e6828f86d7
fix: do not exclude cloud sketch diagnostics
...
PROEDITOR-50: error markers have been disabled for built-ins (daedae1 ).
Relaxed the error marker filtering for cloud sketches.
Closes #669
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2023-05-05 14:15:42 +02:00
Akos Kitta
5540170341
feat: removed the non official themes from the UI
...
Closes #1283
Ref eclipse-theia/theia#11151
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2023-04-14 13:42:40 +02:00
Akos Kitta
39ab836880
fix: let the resource finish all write operation
...
before checking if it's in sync or not.
Closes #437
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2023-03-28 18:55:31 +02:00
Akos Kitta
0ab28266df
feat: introduced cloud state in sketchbook view
...
Closes #1879
Closes #1876
Closes #1899
Closes #1878
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2023-03-16 10:00:17 +01:00
Akos Kitta
4deaf4fb76
feat: moved login entry point to the side-bar
...
Closes #1877
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2023-02-20 17:30:47 +01:00
Akos Kitta
d68bc4abdb
feat: rename, deletion, and validation support
...
Closes #1599
Closes #1825
Closes #649
Closes #1847
Closes #1882
Co-authored-by: Akos Kitta <a.kitta@arduino.cc >
Co-authored-by: per1234 <accounts@perglass.com >
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2023-02-15 14:09:36 +01:00
Akos Kitta
287b2e3f41
feat: removed encoding from the status bar
...
Closes #1393
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2023-01-11 09:22:53 +01:00
Akos Kitta
76f9f635d8
feat: configure sketchbook location without restart
...
Closes #1764
Closes #796
Closes #569
Closes #655
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-12-21 15:44:10 +01:00
Akos Kitta
908ec4c544
fix: menu item enablement issues
...
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-12-15 09:21:45 +01:00
Akos Kitta
c4172ee8e1
fix: theme service binding
...
cleaned up unused symbol
closes #1742
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-12-07 09:52:12 +01:00
Akos Kitta
d0e383853f
feat: patched the Theia debug functionality
...
Patch for:
- eclipse-theia/theia#11871
- eclipse-theia/theia#11879
- eclipse-theia/theia#11880
- eclipse-theia/theia#11885
- eclipse-theia/theia#11886
- eclipse-theia/theia#11916
Closes #1582
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-12-01 11:43:25 +01:00
Akos Kitta
c0af1e62e8
fix: main sketch file editor focus on layout reset
...
Closes #643
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-11-29 10:51:19 +01:00
Akos Kitta
ac9cce16f7
chore: Updated to Theia 1.31.1 ( #1662 )
...
Closes #1655
Closes #1656
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-11-29 09:39:54 +01:00
Alberto Iannaccone
3ad660927f
Fix keybindings to switch between tabs on MacOs ( #1686 )
2022-11-29 09:22:14 +01:00
Akos Kitta
2b2463b834
fix: Prompt sketch move when opening an invalid outside from IDE2
...
Log IDE2 version on start.
Closes #964
Closes #1484
Co-authored-by: Alberto Iannaccone <a.iannaccone@arduino.cc >
Co-authored-by: Akos Kitta <a.kitta@arduino.cc >
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-10-26 18:53:00 +02:00
Akos Kitta
da22f1ed11
Refresh menus when opening example/recent fails.
...
Closes #53
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-10-04 08:10:27 +02:00
Akos Kitta
9ef04bb8d6
Fixed missing translations
...
Aligned the languge pack versions.
Closes #1431
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-09-26 10:49:31 +02:00
Alberto Iannaccone
8a5995920a
fix board selection and workspace input dialogs width and height ( #1406 )
...
* fix board selection and workspace input dialogs width and height
* use same dialog for new file and rename
* fix board list getting small when filtering
* board select dialog: show variant text when no board is found
* fix addition boards url outline
2022-09-20 14:36:02 +02:00
Francesco Spissu
364f8b8e51
Move primary buttons on the right of the dialogs ( #1382 )
...
Closes #1368 .
2022-09-20 11:48:19 +02:00
Akos Kitta
fdf6f0f9c8
Avoid deleting the workspace when it's still in use.
...
- From now on, NSFW service disposes after last reference
is removed. No more 10sec delay.
- Moved the temp workspace deletion to a startup task.
- Can set initial task for the window from electron-main.
- Removed the `browser-app`.
Closes #39
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-09-15 15:24:25 +02:00
Akos Kitta
204d71b2dd
Fixed highlighting of non-unicode chars in Output
...
Closes #1210
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-08-31 21:16:07 +02:00
Akos Kitta
5cb9166c83
Implemented filter and update all for libs/boards.
...
Closes #177
Closes #1188
Co-authored-by: Francesco Spissu <f.spissu@arduino.cc >
Co-authored-by: Per Tillisch <p.tillisch@arduino.cc >
Co-authored-by: Akos Kitta <a.kitta@arduino.cc >
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-08-31 10:07:27 +02:00
Akos Kitta
7c361cf2d1
Can close non-root sketch file editors.
...
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-08-26 14:18:39 +02:00
Akos Kitta
3afc2d7e4b
Fixed dirty indicator of uncloseable widgets.
...
Closes #1034 .
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-08-26 14:18:39 +02:00
Akos Kitta
10ac7fd50a
Removed File > Close Editor.
...
Closes arduino/arduino-ide#660
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-08-26 14:18:39 +02:00
Akos Kitta
07962e81d4
Moved uncloseable widget tracking to manager.
...
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-08-26 14:18:39 +02:00
Akos Kitta
40425d49e0
Unified the sketch close and the app quit logic.
...
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-08-26 14:18:39 +02:00
Akos Kitta
0c87fa9877
Update currentSketch when files change.
...
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-08-26 14:18:39 +02:00
Akos Kitta
989300f25d
Close core error notification on subsequent action
...
Closes #1154
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-08-15 16:55:17 +02:00
Akos Kitta
8a1cabd2bc
Defer notification area rendering until app ready.
...
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-08-09 17:23:10 +02:00
Akos Kitta
36ac47b975
Can check if the current window is the first one.
...
Closes #1070
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-08-04 11:11:46 +02:00
Akos Kitta
b62f3dec84
#714 : UX improvements of the Arduino LS in IDE2
...
- Debounced the connectivity status update.
- Silent the output channel for the Arduino LS.
- Delay the problem markers update with 500ms.
- Do not update the status bar on every `keypress` event.
- Debounced the tab-bar toolbar updates when typing in editor.
- Fixed electron menu contribution binding.
- Aligned the editor widget factory's API to Theia.
- Set the zoom level when the app is ready (Closes #1244 )
- Fixed event listener leak (Closes #1062 )
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-08-01 10:11:14 +02:00
Akos Kitta
8ad10b5adf
#1089 : IDE2 falls back to new sketch if opening failed. ( #1152 )
...
IDE2 falls back to a new sketch if the opening fails.
Closes #1089
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-07-18 11:10:33 +02:00
Francesco Spissu
d7a2d83990
Update buttons style ( #1122 )
...
* Buttons updated to reflect the design system.
2022-07-08 10:43:10 +02:00
Akos Kitta
a36524e02a
Update package index on 3rd party URLs change.
...
Closes #637
Closes #906
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-07-08 09:04:10 +02:00
Alberto Iannaccone
087cab177b
Sketchbook sidebar state ( #1102 )
...
* add commands to open sketchbook widgets
add commands to show sketchbook widgets
* enable sending commands via query params
* opening sketch in new window will open sketchbook
* requested changes
* add specific method WorkspaceService to open sketch with commands
* add encoded commands contribution
* try merge show sketchbook commands
* pair session changes.
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
* i18n fixup.
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
* minimized scope of hacky code.
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
* clean up OPEN_NEW_WINDOW command
* add comment on workspace-service.ts
* reveal node with URI
Co-authored-by: Akos Kitta <a.kitta@arduino.cc >
2022-07-04 15:49:25 +02:00
Francesco Spissu
a13a8771d1
Remove tabs context menu ( #1128 )
2022-07-01 09:18:30 +02:00
Akos Kitta
84109e416a
Fixed widget lookup to eliminate duplicate tabs.
...
- Removed `@theia/editor-preview`,
- Patched opener options when repairing layout on start, and
- Compare widget keys with deepEquals instead of string equal.
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-06-22 10:11:11 +02:00
Akos Kitta
d6f4096cd0
Reveal the error location after on failed verify.
...
Closes #608
Closes #229
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-06-21 13:09:35 +02:00
Akos Kitta
27dd120e5d
Cleaned up File menu.
...
Removed:
- `New File`,
- `New Window`.
Closes #1014 .
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-06-17 13:11:08 +02:00
Akos Kitta
a9aac0dbb0
Bound the original handler to this.
...
Closes #977
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-06-14 14:58:48 +02:00
Akos Kitta
a8047660a6
Restored the Settings UI. Deferred model loading.
...
Closes #1031
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-06-13 17:08:35 +02:00
Akos Kitta
585a82b51a
Added logging when restoring the layout data.
...
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-06-08 17:09:57 +02:00
Akos Kitta
5edccb9c35
Avoid opening duplicate editor tabs.
...
Customized the shell layout restorer:
- If a resource is about to open in code editor and preview,
do not open the preview.
- If a resource is about to open in preview only, open a code
editor instead.
Signed-off-by: Akos Kitta <a.kitta@arduino.cc >
2022-06-08 17:09:57 +02:00