Commit Graph

76 Commits

Author SHA1 Message Date
Martín Lucas Golini
2e80cdb77e Don't remove keybindings of formatter and linter plugins if any document is still open.
Converting from UTF8 now checks for BOM UTF8 strings.
2023-09-15 23:47:47 -03:00
Martín Lucas Golini
9ba49ffab4 Minor improvements in symbol search. 2023-09-09 22:30:40 -03:00
Martín Lucas Golini
87afb70851 ecode: Use default modifier for all the shortcuts using KEYMOD_CTRL. 2023-07-28 21:12:34 -03:00
Martín Lucas Golini
9e1549647b ecode macOS fixes (WIP) 2023-07-18 02:32:07 -04:00
Martín Lucas Golini
f9ead38c9c ecode: More XML Tools plugin fixes. 2023-07-11 17:49:01 -03:00
Martín Lucas Golini
dbfedc5b58 eepp: Fixes for UICodeEditor setScroll (again)
ecode: Minor fix in text document range formatting.
2023-07-07 19:15:52 -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
6871fd3b65 ecode:
Fix in LSP Client, incorrectly unbinding commands from document.
Emscripten improvements (clipboard).
2023-07-03 12:31:51 -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
b68161b64e ecode: Display the the error or warning message in the symbol info tooltip. Try to prevent reloading a plugin when it's currently loading. 2023-07-02 15:40:47 -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
7e1e715dfd ecode: Linter now allows to navigate between erros and warnings with keyboard shortcuts. 2023-06-24 16:25:53 -03:00
Martín Lucas Golini
5ab1fa72d3 ecode: Fix for textDocument/rename not loading un-opened files correctly (they were opening without plugins). Fixed Open Documents listing in Universal Locator. 2023-06-22 01:50:48 -03:00
Martín Lucas Golini
0afbaa2971 eepp: Fixed SyntaxTokenizer with empty string. Fixed Process when building with custom environment variables. Fixed MD5::fromStream. Added Node::hasEventsOfType.
ecode: Fixed Build Settings UI (bug in event handling). Improvements in project builds. Improvements and fixes in formatter plugin.
2023-06-17 03:34:28 -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
893943cc85 eepp: Improved String::unescape. Improved JavaScript+TypeScript regex tokenization. Minor fix for unescaped search in text highlights in UICodeEditor.
ecode: Avoid reloading plugins when a new instance of ecode is opened. Improved plugins logs.
2023-05-25 02:10:41 -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
3a8bd77c95 Allow disabling semantic highlighting for a specific lang. 2023-04-14 21:29:38 -03:00
Martín Lucas Golini
5632caa5ff ecode: Minor fixes. 2023-04-10 12:02:20 -03:00
Martín Lucas Golini
19d7d4a06e ecode: LSP minor improvements. 2023-03-30 12:40:01 -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
53e44cbac9 ecode: Added LSP semantic highlighting support. 2023-03-27 03:16:27 -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
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
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
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
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
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
b15756bcd6 ecode: Improved command palette. Fixed a bug in the LSP Client. 2023-02-10 03:12:56 -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
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
dd070b303b Plugins preferences are (configs, keybindings) are now all displayed in the user preferences file (you won't not need to search them in the documentation). 2023-01-29 15:56:56 -03:00
Martín Lucas Golini
eb4943f1bd ecode: LSP text document hover don't make range obligatory. 2023-01-28 02:58:18 -03:00