Jordy
88b462ea49
Replace hardcoded pin numbers with variables
...
Replace pin numbers "A0" and "A1" with variables "xAxis" and "yAxis".
Variables "xAxis" and "yAxis" were created, but never used. I changed the hardcoded pin numbers to these variables to avoid confusion and to make the code more consistent.
2020-04-07 14:09:07 +02:00
Martino Facchin
cb69872e73
Fix ARDUINO-CLI extraction on windows
2020-04-07 14:09:07 +02:00
Cristian Maglie
bc8b9db711
Added arduino-cli to the build (WIP)
2020-04-07 14:09:07 +02:00
Martino Facchin
1f327b9689
Deactivate non pluggable discoverers
2020-04-07 14:09:07 +02:00
Martino Facchin
24ace90cb3
Update serial-discovery to 0.0.3
2020-04-07 14:09:07 +02:00
Martino Facchin
d159e5f012
PluggableDiscovery: add discoverers (alongside the normal ones)
...
using https://github.com/arduino/serial-discovery and https://github.com/arduino/mdns-discovery
2020-04-07 14:09:07 +02:00
Martino Facchin
7a4357b543
[BETA] Launch arduino-builder with experimental flag
2020-04-07 14:09:07 +02:00
Martino Facchin
b2546131d8
Initial implementation of bookmarks
...
Toggle on the left, find next with F3
2020-04-07 14:09:07 +02:00
Martino Facchin
b8a6e6d589
Find/Replace: display on top of the related Editor
...
If the editor is focused, acquire alwaysOnTop capabilities but drop them as soon as both the editor and the dialog are out of focus
try to implement partial transparency
As implemented in Notepad++, a partially transparent search/replace window could make it easier to interact with the editor (particularly in fullscreen contexts, when the "always on top" window could hide the search results).
Unfortunately, Java can only apply the transparency to undecorated window, so it's a no-go.
Java gurus, please come to the rescue :D
Fix find/replace focus on Windows
Probably this approach could be adopted by all OSes with a little care on the window lifecycle.
[Find/Replace][Win] grab focus when just opened
Solves https://github.com/arduino/Arduino/issues/6951#issuecomment-351995084
Use Windows method for all OS
2020-04-07 14:09:07 +02:00
Martino Facchin
edeb455f70
eclipse: fix full ide project
2020-04-07 14:09:06 +02:00
Martino Facchin
4693e70328
[REMOVEME] Add Beta graphics and icons
2020-04-07 14:09:06 +02:00
Cristian Maglie
93d013d1f4
autocomplete: improved rendering of completions
2020-04-07 14:09:06 +02:00
Cristian Maglie
3d6af521db
autocomplete: extracted ArduinoCompletion to Completion generation method
2020-04-07 14:09:06 +02:00
Cristian Maglie
385a6738e9
autocompletion: factored filtering of completions
2020-04-07 14:09:06 +02:00
Martino Facchin
5e8895c475
Remove autocomplete for macros
...
Was causing NPE on certain cores
2020-04-07 14:09:06 +02:00
Cristian Maglie
79339d24f7
Added more debugging output for codecompletion errors
2020-04-07 14:09:06 +02:00
Cristian Maglie
77fd2b3919
Increase debugging info in json parsing from autocomplete
2020-04-07 14:09:06 +02:00
Cristian Maglie
46641780bf
Refactored notification popup
2020-04-07 14:09:06 +02:00
Martino Facchin
8b53785c9f
autocomplete: restore braces on functions
...
Also make the output more uniform (no differences between templates and funxtions)
New format is: functionName (bold) parameters (light grey) : returnType
2020-04-07 14:09:06 +02:00
Martino Facchin
d8d06134c7
cache + sort for autocomplete
2020-04-07 14:09:06 +02:00
Martino Facchin
ad2b97fff8
eclipse: add autocomplete to classpath
2020-04-07 14:09:06 +02:00
Martino Facchin
836c756493
Windows: add grpc jars to classpath
2020-04-07 14:09:06 +02:00
Cristian Maglie
2ccbb4928c
Removed unused import
2020-04-07 14:09:06 +02:00
Cristian Maglie
7de9a3e483
Calling arduino builder with GPRC API [experimental]
2020-04-07 14:09:06 +02:00
Cristian Maglie
116cad067e
Created getAllHardwareFolders and getAllToolsFolders
2020-04-07 14:09:06 +02:00
Cristian Maglie
b4b32f244a
Added method to determine board FQBN
...
This simplifies a bit the organization of the arduino-builder calls.
2020-04-07 14:09:06 +02:00
Cristian Maglie
b693544c77
Added missing licenses
2020-04-07 14:09:06 +02:00
Cristian Maglie
a6652f938a
codecompletion: added function parameters support.
2020-04-07 14:09:06 +02:00
Martino Facchin
41f0dde6f7
include autocomplete icons in pde.jar
2020-04-07 14:09:06 +02:00
Cristian Maglie
ce22446f60
Use FunctionCompletion when dealing with function autocompletions
2020-04-07 14:09:06 +02:00
Cristian Maglie
f949c79f63
Added some more infos in CompletionDetails
2020-04-07 14:09:06 +02:00
Cristian Maglie
fae321cd99
Added CompletionsRenderer
2020-04-07 14:09:06 +02:00
Cristian Maglie
42930e22b0
Testing autocomplete with arduino-preprocessor
2020-04-07 14:09:06 +02:00
Cristian Maglie
ff17c8667f
pr-builder: Build linux64 first
2020-04-07 14:09:06 +02:00
Cristian Maglie
d72302bc8f
Introducing arduino-preprocessor (linux64 only for now)
2020-04-07 14:09:06 +02:00
ricardo.jl.rufino@gmail.com
5f1c9af83f
fix windows build - add autocomplete libs
2020-04-07 14:09:06 +02:00
ricardo.jl.rufino@gmail.com
2015c98908
Refactoring autocomplete structure
2020-04-07 14:09:06 +02:00
ricardo.jl.rufino@gmail.com
c84fd1a398
Base implementation of autocomplete #849
2020-04-07 14:09:06 +02:00
Martino Facchin
831c9bba2a
Add symlink support for Windows
...
Fixes https://github.com/arduino/Arduino/issues/6893
2020-04-07 14:09:06 +02:00
Martino Facchin
cabd626f0a
Limit selected tab size in case of crowded header
2020-04-07 14:09:06 +02:00
Martino Facchin
336cde194d
[tabs] some heavy lifting on tabs handling
...
The situation is still a shit, but at least better than before.
2020-04-07 14:09:06 +02:00
Martino Facchin
56dcf6bde4
Implement MouseWheelListener on tabs
...
tested with Marlin Firmware, solves #6109 #3601 #1193
2020-04-07 14:09:06 +02:00
Martino Facchin
578d34e203
Shift tabs if selected one if being painted offscreen
...
Implemented using a dry run to get the metrics and the needed shift
Fixes #1193 and #6109
2020-04-07 14:09:06 +02:00
Martino Facchin
2bcbaf7a68
Add clickable HTML view of Serial Monitor
...
The HTML view only activates if:
- the output is steady
- the "frame" contains a link
- the length of the entire content is < 1KB
No performance penalty compared to normal view (in standard conditions)
2020-04-07 14:09:06 +02:00
Martino Facchin
58eeaafde1
Extend UpdatableBoardsLibsFakeURLsHandler to handle real links
2020-04-07 14:09:06 +02:00
Martino Facchin
97fd81ac0c
Avoid board change during compilation/upload
...
By threading the boardChange callback we can busy wait until
the compilation/upload phase has ended and change the board when done.
Fixes #6035
2020-04-07 14:09:06 +02:00
Martino Facchin
70d5537fb0
Add watcher on sketch files
...
Reloads sketch content if the Editor is not in foreground and isomething happens in the backing storage files.
Note that no confirmation dialog is displayed (same behaviour as SublimeText, differs from other IDEs)
Fixes #4551 and #5345
2020-04-07 14:09:06 +02:00
Martino Facchin
abbd40242d
[RecentlyUsedBoards] Fix merge conflicts
2020-04-07 14:09:06 +02:00
Martino Facchin
917b1321d6
Prepare for LRU persistency
2020-04-07 14:09:06 +02:00
Martino Facchin
ddd876ca4e
Make Recently used boards size configurable from preferences
2020-04-07 14:09:06 +02:00