Commit Graph

46 Commits

Author SHA1 Message Date
Martín Lucas Golini
36c91989d3 Lambda captures clean up, plus other minor clean ups. 2024-02-17 18:19:55 -03:00
Martín Lucas Golini
b3b5566f1c Try to load font family from @font-face (not tested yet).
Added NotoSans font family (Bold, Italic and BoldItalic).
Features Health will only check against language names (and ignore extensions).
2023-09-18 00:34:06 -03:00
Martín Lucas Golini
ff7d8c3478 ecode: Improve LSP code action implementation, now typescript-language-server will be able to recommend adding imports. Fixed a bug introduced in the previous commit, scrollTo for Y axis now moves correctly. Started implementing LSP Code Lens but I'll keep it for the moment since it's support in LSP implementations is very limited. 2023-07-07 01:01:26 -03:00
Martín Lucas Golini
1f1f2b5c17 ecode: Added range formatting support. Improved behavior when closing tabs with mouse. 2023-07-02 18:57:23 -03:00
Martín Lucas Golini
c3d89d0a64 eepp: Added "jump-lines-up" and "jump-lines-down" commands to UICodeEditor.
ecode: Fixed display of textDocument/references (wasn't displaying non opened files). Build command will save all modified files before running.
2023-07-01 19:46:28 -03:00
Martín Lucas Golini
f58866dd66 eepp: Added ScopedOp and BoolScopedOp. General optimization of lambda captures. Added support in UICodeEditorSplitter for navigation history.
ecode: Implemented navigation history over the editor, with Alt + Left | Right you can navigate over the relevant code navigation history.
2023-06-25 21:14:36 -03:00
Martín Lucas Golini
ba4655553c eepp:
Added to UIWidget: setClass, setClasses, resetClass.
Added support for custom styling of cells in models using custom classes. With the new ModelRole::Class.
ecode:
Fixed LSPs with multiple languages.
Fixed Status Bar not hiding.
Added option to request refresh the document semantic highlighting.
2023-06-09 19:36:03 -03:00
Martín Lucas Golini
32466ba8b7 ecode:
Fixed plugins not finding a running LSP for a language that it's not the default that made run the LSP when LSPs are shared between languages.
Finished implementing the project build configuration (added clone and fixed several minor stuff).
Fixed keybindings not loading the user configured keybidings in some components.
Improved status bar.
2023-06-09 01:27:17 -03:00
Martín Lucas Golini
168a7babaa eepp:
Minor improvements in UICodeEditor rendering.
Allow to limit the maximum line length accepted in the highlighter (will not highlight lines that are above the threshold).

ecode:
Allow to share processes between language LSPs that use the same process (for example: clangd for C and C++, it doesn't make sense to fire 2 processes because clangd will manage both languages just fine in a single instance).
Fixed some bugs when selecting the build type.
2023-05-12 14:06:44 -03:00
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
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
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
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
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
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
bf367b0dcb Closes SpartanJ/ecode#61. 2023-02-23 01:30:17 -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
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
ca84455fcc ecode: Minor LSP improvements. 2023-02-05 12:59:05 -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
389131b2b6 eepp:
LuaPattern::matchesAny.
Markdown syntax highlighting improvements.
ecode: Added OmniSharp support.
2023-02-04 03:28:37 -03:00
Martín Lucas Golini
587d552940 ecode: Added some minor configurations. 2022-12-23 01:26:20 -03:00
Martín Lucas Golini
68c61e5393 ecode: Fix LSP Server stop. 2022-12-22 19:30:16 -03:00
Martín Lucas Golini
00c92642c0 ecode: Switch header/source improvements. Fixed syncProjectTreeWithEditor. 2022-11-18 13:21:43 -03:00
Martín Lucas Golini
1875886c5f SSLSocket try to find CA bundle in SSL_CERT_DIR env path.
ecode:
Replaced python linter with ruff.
ProjectDirectoryTree now provides PluginMessageType::FindAndOpenClosestURI.
2022-11-18 02:46:46 -03:00
Martín Lucas Golini
9fc01999f3 ecode: More LSP work and auto completion. 2022-11-12 02:52:49 -03:00
Martín Lucas Golini
4f2c0e15af ecode: Added codicon to support completion symbols icons.
Improved auto-complete plugin and several fixes. Implementing signature help.
2022-11-11 03:17:41 -03:00
Martín Lucas Golini
8722518986 Auto-complete module improvements. 2022-11-10 11:42:42 -03:00
Martín Lucas Golini
a2e0005e8c ecode: Add LSP Code Completion support in the auto-complete plugin. 2022-11-09 19:02:07 -03:00
Martín Lucas Golini
85b4b8dbee Designing the inter-plugin communication protocol. 2022-11-08 02:39:45 -03:00
Martín Lucas Golini
4306e8018f ecode: LinterPlugin now supports LSP diagnostics. LSP client plugin refactor. 2022-11-07 01:34:55 -03:00
Martín Lucas Golini
3671db4ba6 More LSP implementation work. 2022-11-05 03:37:21 -03:00
Martín Lucas Golini
14997a945c ecode: More LSP work. 2022-11-04 01:32:30 -03:00
Martín Lucas Golini
36c22d63a9 LSP Improvements. 2022-11-03 00:11:51 -03:00
Martín Lucas Golini
bc5188ec28 LSP Client advances. Some LSPs are responding fine. 2022-10-31 22:14:09 -03:00
Martín Lucas Golini
ab9bd56a49 More LSP work. 2022-10-31 01:28:02 -03:00
Martín Lucas Golini
ec847e8678 More LSP work. 2022-10-30 15:49:02 -03:00
Martín Lucas Golini
5e7903337b Added Sys::getProcessID. Minor fixes.
ecode: LSP Client WIP. Some keybinding refactor.
2022-10-30 04:11:25 -03:00