Commit Graph

1197 Commits

Author SHA1 Message Date
Martín Lucas Golini
5aef110bda Ups, staged the wrong files:
Improved ThreadPool.
ecode: Make consistent the find/search highlighting with the actual results (Closes SpartanJ/ecode#73).
Fixed $NPROC in LSP client commands.
2023-03-10 02:37:01 -03:00
Martín Lucas Golini
c6200f4b53 Added x86 assembly syntax highlighting (Closes SpartanJ/ecode#75).
Added PICO8 syntax highlighting.
Added PSQL syntax highlighting.
Added Haskell linter, formatter and LSP support.
Improved JSON syntax definition to CPP.
Cleaning up SyntaxDefinitionManager.
2023-03-09 02:14:14 -03:00
Martín Lucas Golini
9964e0bbba ecode: Added an option to allow custom UI Themes. 2023-03-06 22:29:21 -03:00
Martín Lucas Golini
7c92cf60b9 ecode: Added a new configuration to control the behavior of new open terminals.
Closes SpartanJ/ecode#68.
2023-03-06 01:41:26 -03:00
Martín Lucas Golini
7d7a97e60d ecode: Added an option to configure the default shell used by ecode terminal.
Closes SpartanJ/ecode#70.
2023-03-05 18:09:58 -03:00
Martín Lucas Golini
d2caa0d890 SyntaxTokenizer: can now tokenize two types of tokens (improve memory usage without adding complexity). 2023-03-05 13:06:57 -03:00
Martín Lucas Golini
330d18d86e Fix Windows build. 2023-03-05 03:14:59 -03:00
Martín Lucas Golini
2c15a803d6 eepp: Reduce syntax highlighter memory usage. Syntax Highlighter is now part of the TextDocument and not of the UICodeEditor. This will also help to reduce memory usage.
ecode: Close LSP Server when changing workspaces if the LSP server doesn't support workspace folders.
2023-03-05 02:17:04 -03:00
Martín Lucas Golini
d3f0877897 Improvements on the syntax tokenizer. 2023-03-04 13:17:33 -03:00
Martín Lucas Golini
235e66d6ad eepp: Improved default click step for scrollable widgets.
ecode: Never block main thread when sending messages to an LSP.
Ctrl/Cmd + Alt + Click -> now executes "Go to definition".
Improved modifier keys when used in combination with mouse clicks.
2023-03-03 03:33:30 -03:00
Martín Lucas Golini
8e1c33ff7d eepp: Some minor fixes. 2023-03-03 01:49:34 -03:00
Martín Lucas Golini
1d371796de eepp:
Added TextDocument::getMatchingBracket
eepp:
Fixed matching brackets.
2023-02-26 13:32:43 -03:00
Martín Lucas Golini
24ad26dd2b ecode: Added Julia, R, Elm, TOML, Haxe, fstab file, .htaccess file syntax highligting support.
Removed syntax language function definitions, moved all definitions as static functions to avoid unnecessary recompilations of this huge file.
2023-02-25 20:58:41 -03:00
Martín Lucas Golini
ea6450bd3b ecode: Added "convert-lang-path" CLI command, to convert a JSON syntax definition to CPP code (it's just a helper to help me to migrate languages definitions from other editors).
Added Crystal and V languages syntax highlighting.
2023-02-25 18:54:11 -03:00
Martín Lucas Golini
98db130868 ecode: Minor syntax definition improvements. 2023-02-25 01:09:59 -03:00
Martín Lucas Golini
cbce68e209 eepp:
Don't instantiate a tooltip until it's really required by the widget (setting the tooltip text won't instantiate the tooltip).
ecode:
Closes SpartanJ/ecode#64 (Fix LSP rootPath initialization).
2023-02-24 21:30:13 -03:00
Martín Lucas Golini
353988f292 eepp:
Fixed an issue in UINodeDrawable that was breaking the color tint of the drawables in some cases.
Fixed an issue when using clipping mask that prevented the batched geometry to be rendered.
Added border-smooth and background-smooth properties (I'm not sure if I'm gonna use them yet).
ecode:
Closes SpartanJ/ecode#59.
Fixed a minor issue when dropping SVG files into the editor, they weren't being opened in a new tab.
Added Solidity LSP support using solc.
2023-02-23 00:02:01 -03:00
Martín Lucas Golini
b2f161a4a4 Added Elixir syntax highlighting. 2023-02-21 20:09:06 -03:00
Martín Lucas Golini
baf365a811 ecode: LSP - Implemented register capabilities for executeCommand. This enables code actions for OmniSharp that announces the capability post initialization. Pumped versions. 2023-02-21 19:43:38 -03:00
Martín Lucas Golini
974409756b Fix Windows VC build.
ecode: Allow to export language definitions.
2023-02-21 17:55:23 -03:00
Martín Lucas Golini
477b2a7a88 ecode:
Closes SpartanJ/ecode#54.
2023-02-21 03:44:54 -03:00
Martín Lucas Golini
a7962f0621 ecode: Fixed Terminal->executeFile on Windows.
Closes SpartanJ/ecode#57.
2023-02-21 01:01:12 -03:00
Martín Lucas Golini
7fb11b4087 ecode: LSP fixes for Windows.
Fixed console output on Windows.
Closes SpartanJ/ecode#56.
2023-02-20 23:40:16 -03:00
Martín Lucas Golini
3db37b15b2 ecode: LSP - Added code action support. Fixed issues with rust-analyzer. 2023-02-20 20:02:52 -03:00
Martín Lucas Golini
1862e98dca Added String::contains.
ecode: Allow to create files in sub-folders that currently don't exists from the project tree view (for example: "New File" -> Input -> "new_folder/file" will create "file" in "new_folder". Added shortcut text in "Remove File...".
2023-02-20 00:53:13 -03:00
Martín Lucas Golini
2b990b22de UICodeEditor: don't change cursor position on right click when there is a previous selection. Added getRelativeScreenPosition.
EventDispatcher now has callbacks for focus change.
ecode: Improved LSP textDocument/definition, declaration, implementation, typeDefinition when more than one result is returned, now it's possible to select which result to see. Added a keybindings migration mechanism that will allow to rebind keybindings if where using the default old keybinding (some keybindings aren't ideal, I'll start to rebind some commands).
2023-02-19 21:54:11 -03:00
Martín Lucas Golini
7f27b08b5a ecode:
Closes SpartanJ/ecode#51.
Closes SpartanJ/ecode#53.
2023-02-18 21:44:07 -03:00
Martín Lucas Golini
ee64d434f7 ecode: Added --health command line parameter to get a health status (like helix editor). 2023-02-15 21:47:42 -03:00
Martín Lucas Golini
d73f857c65 ecode: Allow to load custom languages. 2023-02-15 02:22:39 -03:00
Martín Lucas Golini
2fb0c77da7 Pump version. 2023-02-14 10:58:55 -03:00
Martín Lucas Golini
4e6cb74774 ecode:
Fixes for SpartanJ/ecode#45.
Minor performance optimizations.
Minor bug fixes.
2023-02-13 02:05:08 -03:00
Martín Lucas Golini
7c47a26f02 Closes SpartanJ/ecode#43. 2023-02-11 12:51:19 -03:00
Martín Lucas Golini
b15756bcd6 ecode: Improved command palette. Fixed a bug in the LSP Client. 2023-02-10 03:12:56 -03:00
Martín Lucas Golini
d786aecb51 LSP implementation improvements, added support for showMessage and showDocument.
Added Vue support (Syntax Highlighting and LSP). Closes SpartanJ/ecode#38.
Added Java LSP support.
Improved auto close XML tags. Closes SpartanJ/ecode#39.
Improved UIMenuCheckBox behavior.
2023-02-10 01:58:02 -03:00
Martín Lucas Golini
2689e0285b ecode: Added support for indentation guides. Closes SpartanJ/ecode#36. 2023-02-09 00:36:49 -03:00
Martín Lucas Golini
4fa35ffa83 Closes SpartanJ/ecode#33. 2023-02-08 19:53:33 -03:00
Martín Lucas Golini
b98e4386bb Added arm64 as a build target. 2023-02-08 12:57:24 -03:00
Martín Lucas Golini
a6ea966348 ecode: Added command palette. 2023-02-08 02:37:37 -03:00
Martín Lucas Golini
7bccac1c06 Fix mingw build. 2023-02-07 13:44:42 -03:00
Martín Lucas Golini
20d5b2440b Several fixes for Windows build: fixes URIs with file scheme. Fixes LSP servers. Fixes some exceptions. 2023-02-07 03:39:33 -03:00
Martín Lucas Golini
3aeb6f6bfe Fix eepp windows build not exporting all symbols required for ecode. 2023-02-05 20:04:45 -03:00
Martín Lucas Golini
4b41932ba6 ecode: Support CJK characters out of the box at expense of performance. Closes SpartanJ/ecode#7. 2023-02-05 18:19:16 -03:00
Martín Lucas Golini
097a8e85cb Closes SpartanJ/ecode#29 (Allow to ignore files in the file system tree view). 2023-02-05 17:58:47 -03:00
Martín Lucas Golini
ecba3fa9aa ecode: Implemented LSP textDocument/references ("Find References to Symbol Under Cursor"). 2023-02-05 03:26:13 -03:00
Martín Lucas Golini
3aaf5dc48a ecode:
Added support for LSP text document formatting. Closes SpartanJ/ecode#25 (OmniSharp LSP has been added + LSP text document formatting).
Fixed an rare exception that caused to crash the application when an LSP tooltip was about to show but the editor and document closed.
2023-02-04 21:52:23 -03:00
Martín Lucas Golini
389131b2b6 eepp:
LuaPattern::matchesAny.
Markdown syntax highlighting improvements.
ecode: Added OmniSharp support.
2023-02-04 03:28:37 -03:00
Martín Lucas Golini
b0d264413e Added "Refresh View" option in file tree view. 2023-02-03 02:00:06 -03:00
Martín Lucas Golini
9a9b45ecb2 eepp:
TextDocument: Added support for CR line endings (Classic Macintosh). Fixes in save and load.
ecode:
Closes SpartanJ/ecode#26 (a consequence of issue #27).
Closes SpartanJ/ecode#27 (mixed CRLF and LF broke files, pasting text with CRLF line endings broke files).
Improved SpartanJ/ecode#24.
2023-02-02 19:24:48 -03:00
Martín Lucas Golini
72d27c402d Added Teal lang support. 2023-02-02 01:47:19 -03:00
Martín Lucas Golini
4a2546f6bf TextDocument find and findLast refactor and minor improvements.
premake build now will try to symlink the shared libraries into bin directory.
Binaries rpath is now set to origin (".").
2023-02-01 02:16:59 -03:00