Akos Kitta
12deceef19
got rid of the border when not focused/selected
...
it does not remove the border but uses the background of the container.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-12-10 12:02:16 +01:00
Akos Kitta
f635751a8c
fix the react-select styling
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-12-10 12:02:16 +01:00
Akos Kitta
85bf50213d
Removed more logic from the widget.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-12-10 12:02:16 +01:00
Akos Kitta
5aeb2d388e
Flip the auto install buttons.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-12-10 12:02:16 +01:00
Akos Kitta
6e89e89738
Fixed layout initialization.
...
Fixes for eclipse-theia/theia#6688
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-12-10 12:01:54 +01:00
Akos Kitta
c7242ca34f
slightly better reconnecting experience.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-12-10 12:01:54 +01:00
Akos Kitta
a4e5e65286
simplified monitor connection API.
...
we have one connenction per editor anyways.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-12-10 12:01:54 +01:00
Akos Kitta
80549db289
a few bugfixes. updated grpc dependencies.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-12-10 12:01:54 +01:00
Akos Kitta
eb7b3ad683
Reconnect on interrupted system call
.
...
However, we have to figure out why does it happen at all.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-12-10 12:01:53 +01:00
Akos Kitta
9efcbcf2ae
[rewrite-me]: initial serial monitor changes
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-12-10 12:01:53 +01:00
Akos Kitta
4e683b237d
Made the editors closeable in pro
mode.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-26 10:33:59 +01:00
Akos Kitta
a2a9cbb02e
Fixed a styling issue in the boards select dialog.
...
Closes : arduino/arduino-pro-ide#137
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-26 09:18:46 +01:00
Akos Kitta
e79d42d6bd
Updated to next
(0.13.0-next.145f9137
) Theia.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-25 09:16:22 +01:00
Akos Kitta
a9c9dcde7b
Fixed a selection bug after installing a core/lib
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
0a8b6bc41e
Restart the LS on core install/remove.
...
Fixes bcmi-labs/arduino-language-server#9
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
b1388be5f9
Implemented uninstall.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
b4848f62fa
Corrected the docs.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
6448b447b3
Resolved a React warning.
...
Removed the widget update due to an incorrect manual merge.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
c3e2aa4feb
Generalized the list item renderers.
...
To support update/downgrade.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
35ac73181b
Enabled New Folder
in classic mode.
...
- Made sure the `Explorer` is visible before raising the input dialog.
- Removed unused module.
Fixes arduino/arduino-pro-ide#84
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
840cde872c
Made the editor mode dynamic.Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
c2008460b0
Fixed storeLayout
when toggling the editor mode.
...
Workaround for eclipse-theia/theia#6579 .
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
7e6343e60e
Update the ListWidget
on list container render.
...
To recalculate the desired size of the scroll-bar thumb.
arduino/arduino-pro-ide#101
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
fdda4a72d0
Initial support for updating/downgrading cores.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
7077303a36
Hid the Explorer. Disabled new folder in workspace
...
when not in `pro-mode`.
Closes arduino/arduino-pro-ide#84 .
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
acd9bf1354
Fixed the editor restoration when toggling mode.
...
- Do not reset the layout. It messes up the editor's restoration.
- Close all pro-mode only views when leaving pro-mode.
- Initialize all views `onStart`. It is a NOOP in normal mode.
Closes arduino/arduino-pro-ide#101
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
f9a98d708e
Removed an unused field.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
2dc73eb3b5
Updated to next
(0.13.0-next.83c59134
) Theia.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
f6444b2570
Update the ListWidget
on list container render.
...
To recalculate the desired size of the scroll-bar thumb.
arduino/arduino-pro-ide#101
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
186180800f
Increased the z-index
of the scroll-bar thumb
...
to make it visible even with the customized list item `background-color`
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-11-22 17:09:45 +01:00
Akos Kitta
3efb5a4e08
Switched from execFile
to spawn
.
...
So that we can add guards against whitespaces in the path.
Also cleaned up the code a bit.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-10-25 11:48:33 +02:00
Akos Kitta
4353bfb5b9
Updated port discovery to support unknown boards
...
From now on, we do not retrieve the ports from the attached boards.
A board can be unknown but the port is still relevant.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-10-25 11:48:33 +02:00
Akos Kitta
8971dc4c5f
Implemented naive reconnecting.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-10-25 11:48:33 +02:00
Akos Kitta
2be54944bf
Fixed the checkmark position in the dropdown.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-10-25 11:48:33 +02:00
Akos Kitta
2f84b5c6b7
Show the CLI version from the about dialog.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-10-25 11:48:33 +02:00
Akos Kitta
de1caf1451
PROEDITOR-46: Added a core auto-installer.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-10-25 11:48:33 +02:00
Akos Kitta
fb6785c5d3
PROEDITOR-53: Changed the way we set the workspace
...
Got rid of the `sketch` search parameter from the URL.
Rules:
- Get the desired workspace location from the
- `Path` defined as the `window.location.hash` of the URL,
- most recent workspaces,
- most recent sketches from the default sketch folder.
- Validate the location.
- If no valid location was found, create a new sketch in the default sketch folder.
Note: when validating the location of the workspace root, the root must always exist. However, when in pro-mode, the desired workspace root must
not be a sketch directory with the `.ino` file, but can be any existing location.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-10-25 11:48:24 +02:00
Akos Kitta
817a28291b
Removed the tab context menu when not in pro-mode.
...
When we are not in `pro-mode`, it does not make much sense to show the
context menu. It does not work anyways.
See: https://arduino.slack.com/archives/CJJHJCJSJ/p1569502896082800?thread_ts=1569489282.073200&cid=CJJHJCJSJ
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-10-23 09:57:56 +02:00
Miro Spönemann
aa4f216544
Restart the language server when the board is changed
2019-10-02 13:16:10 +02:00
Akos Kitta
065f9f042b
Merge pull request #66 from bcmi-labs/various-bug-fixes
...
Various bug fixes
2019-09-26 11:59:23 +02:00
Akos Kitta
765fcdfba7
Fixed the styles for the boards list dropdown.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-09-26 10:15:57 +02:00
Akos Kitta
476e658fea
Cleaned up the menu contributions.
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-09-26 10:15:30 +02:00
Akos Kitta
55923be7fd
PROEDITOR-48: Open last sketch at start-up
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-09-24 14:23:16 +02:00
Akos Kitta
7244694bd3
PROEDITOR-47: FIxed the visibility of close button
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-09-20 16:09:58 +02:00
Akos Kitta
d9e71c7e0d
PROEDITOR-51: Fixed the styling for toggeled icons
...
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-09-20 15:39:15 +02:00
Akos Kitta
daedae1ba7
PROEDITOR-50: Customized the editor for built-ins
...
- From now on, sources from the `dataDir` opened in a read-only editor.
- Disabled the tab-bar decoration for built-ins.
- No problem markers for the built-ins.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-09-20 15:10:38 +02:00
Akos Kitta
ac4e877a10
Open More info
in the default browser.
...
Instead of the Electron application.
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
2019-09-18 15:37:58 +02:00
Miro Spönemann
09243ff74d
Added JSON-RPC message to send the board configuration to the language server
2019-09-18 09:46:07 +02:00
jbicker
2220e66f4b
Adapted Dark, Light and Arduino themes
...
Signed-off-by: jbicker <jan.bicker@typefox.io>
2019-09-11 11:55:29 +02:00
Miro Spönemann
c2675efea4
Fixed z-index of main toolbar
2019-09-06 14:15:59 +02:00