Commit Graph

50 Commits

Author SHA1 Message Date
Martín Lucas Golini
9f18c81dfb Fix crash when re-running build while currently running a target binary. Separate processes from build and run. 2024-11-25 01:52:15 -03:00
Martín Lucas Golini
badced81d5 Fix crash when Build Settings due to invalid memory access.
Added ${arch} predefined custom variable for project build settings.
Expose cmake and ninja projects out of the box.
2024-10-22 01:02:30 -03:00
Martín Lucas Golini
73a868db55 Allow to drag folder into the editor and it will load the folder (SpartanJ/ecode/314).
Flag the document as modified until saved when changing it's line ending (SpartanJ/ecode/315).
Avoid processing document symbols on huge files. Avoid matching brackets on huge files.
2024-08-29 18:20:17 -03:00
Martín Lucas Golini
1046ee6237 Fixed bugs in Run Application. 2024-08-06 00:16:17 -03:00
Martín Lucas Golini
8e9d97f6ac Fix build and run runnin the executable when build failed (SpartanJ/ecode#278). 2024-05-14 11:43:49 -03:00
Martín Lucas Golini
9600f82f8c Fix Text::wrapText for string views.
ecode: Minor visual fixes.
2024-05-05 12:23:13 -03:00
Martín Lucas Golini
c971c16911 Added vertical menu for status build output and app output.
Fix incorrect initialization of the Git plugin model controller when loading a folder from the Welcome Screen.
2024-04-28 01:42:43 -03:00
Martín Lucas Golini
b7079d1f91 Added srt command to Switch Run Target. 2024-04-26 21:52:50 -03:00
Martín Lucas Golini
2360861a98 Detect if run command is not in PATH and prepend the working dir. Also create the process with NoWindow flag. 2024-04-25 20:55:26 -03:00
Martín Lucas Golini
fa580caa00 Added some logs. 2024-04-25 16:13:46 -03:00
Martín Lucas Golini
e55535cc7c Add dynamic vars to Run command. 2024-04-25 14:25:30 -03:00
Martín Lucas Golini
18452139ab Add build and run commnad. Fix memory leak in FileSystemModel. Fix Log stdOut flag. 2024-04-22 10:11:18 -03:00
Martín Lucas Golini
9f11c96e17 Add Application Output panel. 2024-04-20 19:59:58 -03:00
Martín Lucas Golini
944d6eeab3 Fix Run behavior on Windowses without terminal support. Now opens cmd.exe with a bat script helper that waits the user to terminate the process after it run.
ProjectBuild and StatusBuildOutputController clean up (unify build and clean).
2024-04-19 19:42:57 -03:00
Martín Lucas Golini
132db136f0 Added run target configuration. 2024-04-18 02:20:49 -03:00
Martín Lucas Golini
9032f3c899 Run step improvements. 2024-04-15 11:21:51 -03:00
Martín Lucas Golini
e18c29c595 Added a Run step for the Build Settings (SpartanJ/ecode#222). 2024-04-15 01:28:27 -03:00
Martín Lucas Golini
56765477d7 Added predefined variables for build:
${current_doc}: The last or current focused document path.
${current_doc_name}: The last or current focused document name (without extension).
2024-04-07 02:40:56 -03:00
Martín Lucas Golini
a9e3b8a19b ecode i18n fixes. 2024-02-17 19:35:03 -03:00
Martín Lucas Golini
9c2822e3d6 More work to get better i18n support. 2024-02-09 22:39:19 -03:00
Martín Lucas Golini
4a0533c28a Git Panel WIP. 2024-01-14 19:08:13 -03:00
Martín Lucas Golini
698af65045 Git Branches view WIP. 2024-01-14 14:04:03 -03:00
Martín Lucas Golini
b41cbfe1ce eepp: Added Sys::getEnvironmentVariables. Improved Process class.
ecode: Fixed a bug in StatusBuildOuputController. Improvements when code completion and signature help are present at the same time.
2023-12-16 00:21:20 -03:00
Martín Lucas Golini
d6a698bacc Project Build fixes. 2023-08-08 00:34:40 -03:00
Martín Lucas Golini
3e4ae1b1da ecode: Fix build button incorrect state. 2023-08-01 00:23:48 -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
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
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
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
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
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
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
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
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
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
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
7e62091732 ecode: Added clean stage to the project build config. 2023-04-20 01:12:56 -03:00
Martín Lucas Golini
7756ea7d03 ecode: Project Build minor fix. 2023-04-11 21:26:01 -03:00
Martín Lucas Golini
2c1811e519 eepp: Several fixes on widgets.
ecode: Build Side Panel WIP.
2023-04-10 18:58:34 -03:00
Martín Lucas Golini
f3e98ba745 ecode: Project Build correctly inherit environment variables. 2023-04-08 21:20:27 -03:00
Martín Lucas Golini
7b0eb1bcc0 ecode: Fix project build output parser. 2023-04-08 16:29:33 -03:00
Martín Lucas Golini
1ba74ae338 ecode: Project Build WIP. 2023-04-08 13:22:31 -03:00
Martín Lucas Golini
9eef0748f6 Project Build WIP. 2023-04-07 21:23:05 -03:00
Martín Lucas Golini
3d86c2e1e3 Status Bar + Build WIP 2023-04-07 20:01:16 -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
c593d2b791 Project Build WIP. 2023-04-06 16:17:38 -03:00