Commit Graph

370 Commits

Author SHA1 Message Date
Martín Lucas Golini
c2e8a55bfa ecode: Added XML Tools plugin, currently provides highlight of matching xml tags and auto edit of xml tag name. Some minor fixes are still pending. 2023-07-09 23:09:59 -03:00
Martín Lucas Golini
1f6122cb85 Minor fix in terminal commands.
Replaced PHP LSP server in favor of an open-source and free LSP.
2023-07-08 14:24:17 -03:00
Martín Lucas Golini
c1dfb83ed6 Minor fixes and refactor. 2023-07-08 02:16:35 -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
2a069ad747 eepp: Fixed a UILinearLayout bug.
ecode: Added --open-clean / -x CLI parameter.
2023-07-07 01:46:36 -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
c6b308a118 ecode: Improve rust support. 2023-07-06 02:03:45 -03:00
Martín Lucas Golini
6a4a2881ab eepp:
UICodeEditorSplitter, goto line of document opened when creating a split.
StyleSheetParser allow UTF-8 BOM files.
Improved UICodeEditor::scrollTo.
ecode:
Fixed a crash in universal locator.
2023-07-06 00:32:07 -03:00
Martín Lucas Golini
19de1a1af1 ecode: Added "sb" (switch build) and "sbt" (switch build type) commands to the universal locator. Added two commands to switch between the folder tree view and the build view. 2023-07-04 19:09:27 -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
0fc9fb3895 eepp: Remove usage of std::list.
ecode: Some minor code refactor.
2023-07-02 03:36:56 -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
d11c4ce865 eepp:
Reduced the default indent in UITreeView.
ecode:
Search Project every minute when editor is active.
Added "Copy Error Message" in editor right-click context menu
2023-06-30 00:37:10 -03:00
Martín Lucas Golini
93c3971c94 Fix emscripten and macOS builds. 2023-06-28 00:59:16 -03:00
Martín Lucas Golini
0a9059771e eepp:
Minor changes in Action implementation.
Added setTimeout and setInterval to Node.
Runnable action now can loop.
Editor splitter will always try to focus an open document in the current tab widget.
ecode:
Trim memory every 60 seconds when editor has been active (Linux).
2023-06-28 00:24:00 -03:00
Martín Lucas Golini
c260d60730 ecode: Prevent from saving an empty project build on new opened folders. 2023-06-26 02:03:46 -03:00
Martín Lucas Golini
b1fe8a0543 Should fix windows build and a couple of minor fixes. 2023-06-26 00:54:41 -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
5d54f01352 eepp:
Added Window::flash().
FileSystemModel will not spam invalidations when not needed.
UIAbstractTableView and UIAbstractView won't queue more than 1 invalidation per frame when invalidations comes from a non-main thread.
ecode:
UniversalLocator now understands pasted file paths (with and withouth cursor position) and allows to go to that file and position.
2023-06-23 20:28:22 -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
4120a25a24 ecode: Project Build Fixes. List open files in universal locator. Added some shortcuts. 2023-06-21 01:10:23 -03:00
Martín Lucas Golini
47552cdebe ecode: Allow copy error message and file path from build output issues. 2023-06-20 02:39:25 -03:00
Martín Lucas Golini
4495626e3c Allow to load files with : in their names. 2023-06-18 15:50:33 -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
c29f43ed34 eepp: UITabWidget now let you set how a tab should be focused when the current focused tab is closed (search for the closest tab or focus the previous focused tab).
ecode: Document Info is shown in the status bar if the status bar is present. Fixed a bug when parsing the file path of a status build issue.
2023-06-15 00:55:56 -03:00
Martín Lucas Golini
c0aabb56d8 eepp: Fixed UI Editor crash when opening projects.
ecode: Status Build Output Controller crash fix. Added icons to the status bar buttons.
2023-06-13 20:44:49 -03:00
Martín Lucas Golini
de4875b255 eepp: Allow to unselect selection from UIAbstractView.
ecode: Updated icons ttf.
Completed implementation of Build Output, now it will list Issues found when compiling in the Issues section inside Build.
Tentative fix in LSPDocumentClient when parsing semantic highlight.
Improved Features Health GUI.
2023-06-11 17:23:18 -03:00
Martín Lucas Golini
a1b173818e eepp: Improved cell classes performance.
ecode: Implemented languages health window.
2023-06-10 01:42:40 -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
2e12b8313e ecode: Project Build Settings save and load working. 2023-06-08 01:13:30 -03:00
Martín Lucas Golini
3759b1cfd6 UINode::isScrollable is now virtual. Minor improvements in scrollable widgets and tables columns. 2023-06-07 02:16:55 -03:00
Martín Lucas Golini
b1296048a8 eepp:
UIAbstractTableView added support for selection type (row or cell).
ModelEditingDelegate, UIDataBind, UISpinBox, UITableHeaderColumn, ItemListModel fixes.
ecode:
UIBuildSettings almost done.
2023-06-06 01:52:50 -03:00
Martín Lucas Golini
d1b35f052e ecode: ModelEditingDelegate implementation WIP, already working. 2023-06-04 22:00:14 -03:00
Martín Lucas Golini
58c6b3708d ecode: Improved auto-completion suggestions. Fixed not being able to comment a single line with ctrl + /. 2023-06-02 21:12:39 -03:00
Martín Lucas Golini
ac416fab20 ecode: WIP Build settings fixes. 2023-06-02 01:56:22 -03:00
Martín Lucas Golini
84c9fe4e6b Fixed an old deadlock in ActionManager, reproducible when reloading LSP servers in ecode.
Improved syntax definition for tsx and jsx files.
Minor improvements in the SyntaxTokenizer.
2023-06-02 00:51:46 -03:00
Martín Lucas Golini
cc62ec5790 ecode:
Improved drastically UIBorderDrawable performance.
Added Event::OnItemValueChange event and ItemValueEvent.
Added i18n function to UIWidget.
Remamed Node::addMouseClickListener to Node::onClick.
Added UI_SCROLLABLE flag and UINode::isScrollable to indicate if the widget implements some scrolling function and now UIScrollView will check if it can scroll by checking if the widget over is scrollable or not.
UISceneNode now implements loadLayoutFromString with const char* to avoid unnecessary std::string allocations.
Several fixes in UIListBox and UIDropDownList.
ecode:
Continued working on UIBuildSettings screen and Project Build configuration.
2023-06-01 02:32:03 -03:00
Martín Lucas Golini
bd50db3cd8 eepp: Fix UIScrollView size update.
ecode:More build settings WIP.
2023-05-31 00:14:31 -03:00
Martín Lucas Golini
64cf18d3bd eepp: Fix in uicodeeditor highlight search, improved performance, still is an unsafe op. Fixed a crash when dropping files when no editor is open.
ecode: Fix VS2022 build.
2023-05-30 19:34:03 -03:00
Martín Lucas Golini
5ea1678832 eepp: Layouts improvements. Added UICodeEditorSplitter::createWidget. Fixed a bug in UITouchDraggableWidget.
ecode: WIP Build Settings UI.
2023-05-30 02:04:43 -03:00
Martín Lucas Golini
8443ae385b eepp:
UIStackLayout added wrap_content support for layout_width.
All Layouts: added max-width support.
UIListBox: Allow adding empty items.
UICodeEditor: Added resetSyntaxDefinition.
ecode:
Added "Folder/Project Settings" menu. Added/made visible "Treat .h files as C++ code" option.
Added project build preset output parsers, added "generic" output parser as default preset.
Added enabled state for build steps.
Hide status bar when ecode is opened in terminal mode.
eterm:
Force rendering even if buffer is still incomplete.
2023-05-28 03:09:35 -03:00
Martín Lucas Golini
af284a4c1b Crash fix when formatting a document while searching for a string in the document. 2023-05-25 22:51:23 -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
d4091a2adf ecode: Respect project global config in global search. 2023-05-15 17:49:29 -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
a37d3c2717 eepp: Fix crash in FileSystemModel when deleting symlinks.
ecode: Fix clangd shutdown.
2023-05-11 08:02:14 -03:00