Commit Graph

141 Commits

Author SHA1 Message Date
Martín Lucas Golini
da44cca16e eepp: mojoAL is now used by default.
ecode: Tentative fix for a segfaul when accesing an LSP Server that isn't running anymore.
2023-04-19 20:37:34 -03:00
Martín Lucas Golini
3a8bd77c95 Allow disabling semantic highlighting for a specific lang. 2023-04-14 21:29:38 -03:00
Martín Lucas Golini
0886aded95 Fixed syntax highlighting issues when inserting or removing multi-line comments.
Added support for ranged semantic highlighting, improving performance for LSPs that support ranges but not fullDelta changes.
2023-04-14 20:52:29 -03:00
Martín Lucas Golini
5632caa5ff ecode: Minor fixes. 2023-04-10 12:02:20 -03:00
Martín Lucas Golini
74b271002e Project Build WIP.
Fixed scroll jumping when formatting documents.
Minor improvements in syntax definitions.
2023-04-07 02:24:48 -03:00
Martín Lucas Golini
2d3661e1b9 Added keyword3 for color schemes. Some minor improvements in color schemes and syntax definitions. 2023-04-05 15:50:50 -03:00
Martín Lucas Golini
ad44071880 ecode: Gracefully shutdown LSP servers. 2023-04-04 14:06:25 -03:00
Martín Lucas Golini
2eae0ab652 Improved semantic highlighting. 2023-04-03 01:47:24 -03:00
Martín Lucas Golini
ab04f9b06e eepp:
Added Window::showMessageBox.
ecode:
Closes SpartanJ/ecode#93 (ecode does not properly warn the user of the lack of GPU acceleration).
Minor refactor.
2023-04-02 19:37:31 -03:00
Martín Lucas Golini
e62b42267f SyntaxHighlighter and semantic highlighting optimizations and improvements. Now the highlighters detect new lines and remove lines operations and translate all the already processed highlighted lines to it's new position, this means that only the lines with new content are processed again for highlighting tokenization. 2023-04-02 14:34:58 -03:00
Martín Lucas Golini
19d7d4a06e ecode: LSP minor improvements. 2023-03-30 12:40:01 -03:00
Martín Lucas Golini
d0099f2538 ecode: Minor fixes. 2023-03-30 01:51:17 -03:00
Martín Lucas Golini
88ca9740bf ecode: Fixed a crash in doc search controller. 2023-03-30 01:09:34 -03:00
Martín Lucas Golini
ff66081f29 Fix subprocess stuck trying to write.
Fix UISplitter stack overflow.
ecode: Improved startup time.
Added new color scheme: gruvbox material dark.
Improved header/source switch.
2023-03-30 00:18:15 -03:00
Martín Lucas Golini
7670795075 eepp: Some code refactoring regarding the TextureFactory. Also renamed some functions with incorrect naming.
ecode: Plugins are now hot-reloaded when a its configuration file is being written.
2023-03-29 01:13:46 -03:00
Martín Lucas Golini
98b9a972e6 ecode: LSP fixes. 2023-03-27 12:28:23 -03:00
Martín Lucas Golini
53e44cbac9 ecode: Added LSP semantic highlighting support. 2023-03-27 03:16:27 -03:00
Martín Lucas Golini
d9dd3f6f41 This should fix the macOS build.
ecode: More implementation of semantic tokens.
2023-03-26 03:26:56 -03:00
Martín Lucas Golini
09c8265462 eepp: Performance optimizations. 2023-03-26 01:50:42 -03:00
Martín Lucas Golini
854e148a36 eepp: Added UIAnchor (Anchor or a).
UIRelativeLayout: Respect max width and height when using match_parent.
ecode: New icon WIP.
Fixed LSP TCP server connecting from the main thread (now connects async).
2023-03-20 16:33:35 -03:00
Martín Lucas Golini
08604e96a1 ecode: Fix signature help rendering when no suggestions are available. 2023-03-18 01:30:25 -03:00
Martín Lucas Golini
d20762bf8b TcpSocket: Added TcpSocket::startAsyncRead.
ecode: Added TCP support for the LSP client.
2023-03-16 12:01:52 -03:00
Martín Lucas Golini
e5a8146674 Clock: renamed getElapsed in favor of getElapsedTimeAndReset. Since it was not very clear what it was doing.
ecode: Some minor clean up.
2023-03-16 01:02:56 -03:00
Martín Lucas Golini
ec67e0b13f ecode: LSP - Don't fork a new process if the binary isn't available on the file system. Don't process notifications without method. Fix feature detection on initialize response when the server explicitly returns false for a feature. 2023-03-15 16:56:21 -03:00
Martín Lucas Golini
51381a38db ecode: Added textDocument/rename support ("Rename Symbol Under Cursor"). 2023-03-13 02:23:00 -03:00
Martín Lucas Golini
a78cdadfc3 eepp: Improved PopUpMenu positioning.
ecode: Added quick-fix support.
2023-03-12 21:19:14 -03:00
Martín Lucas Golini
6901cc7196 ecode: Added url to formatters and linters configuration. Improved the markdown report of feature health. 2023-03-12 15:01:22 -03:00
Martín Lucas Golini
f7faa6240e Find/Replace improvements.
Windows build fix.
ecode: Minor fix in lspclient.json.
Minor fix in features health.
2023-03-10 20:08:15 -03:00
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
9afac33690 ecode: LSP command can be customized per platform.
Added LSP support for Objective-C, ELM, Crystal, V, Scala, Swift and R.
Added formatter support for Objective-C and V.
Improved --health output.
2023-03-10 00:04:10 -03:00
Martín Lucas Golini
8eb7b8939f ecode: Crash fix from an old bug that wasn't breaking anything until now. 2023-03-06 17:22:08 -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
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
344d1c72f8 ecode: Improvements for the root path handling. Improvements for the workspace symbol search. 2023-03-02 03:35:15 -03:00
Martín Lucas Golini
323c3ebc01 ecode: Implemented search document symbols in current document. Fixed a minor bug in log level configuration. 2023-03-01 23:04:15 -03:00
Martín Lucas Golini
202e044f8a ecode: Improved visibility of file locator commands. File locator is now called Universal Locator. 2023-02-28 16:28:15 -03:00
Martín Lucas Golini
52803abcba ecode: Implemented workspace symbol search. 2023-02-28 02:03:32 -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
bf367b0dcb Closes SpartanJ/ecode#61. 2023-02-23 01:30:17 -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
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
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
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
76afcf71a9 Fix linux build. 2023-02-13 02:33:42 -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