Commit Graph

72 Commits

Author SHA1 Message Date
Martín Lucas Golini
97fc336955 Fix: When build is triggered with unsaved files don't display the file save dialog for files that are just in text buffer.
Fix: Ctrl+W does not close the tab in Build Settings: Added Event::OnFocusWithin so the tab widget registers that event to setCurrenWidget in UICodeEditorSplitter.
2026-05-18 01:08:14 -03:00
Martín Lucas Golini
f95f32eeba Add ${relative_dir} useful to solve case mentioned at https://github.com/SpartanJ/ecode/discussions/876 2026-04-15 00:34:49 -03:00
Martín Lucas Golini
70f7a1cc61 Added String::stripAnsiCodes. Now used in build and run settings, this can be configured for the build and the run options.
Minor fixes in C and C++ grammars.
Debugger: Expressions are now evaluated as soon as they are added if debugger is running but paused.
Fix a newly introduced bug that incorrectly calculated string widths when string contained new lines.
2026-01-06 00:46:31 -03:00
Martín Lucas Golini
0ca36374c4 Terminal status bar now is a Tab Widget and can create any number of terminals.
Fix a bug when initializing the LSP that provoked to not correctly send the initial commands.
Added `expand-text` to UIPushButton.
Added `setAcceptsDropOfWidgetFn` to externally control which widgets are accepted as droppable in UITabWidget.
Improved draw invalidation in UIStackWidget.
2025-12-27 17:22:12 -03:00
Martín Lucas Golini
7004d7c282 Added an option to "Use status bar terminal" in the Run configuration. 2025-12-24 01:42:52 -03:00
Martín Lucas Golini
661c453d94 Added menu-width-mode for UIDropDownList. 2025-12-14 18:41:41 -03:00
Martín Lucas Golini
08a8c2b06e Added an option to reuse the previously launched terminal (SpartanJ/ecode#710). 2025-12-07 00:53:58 -03:00
Martín Lucas Golini
1cd943ae26 Side Panel right click context menu improvements (SpartanJ/ecode#712).
Side Panel: Right click on a sub-directory and "Find in folder..." (SpartanJ/ecode#720).
File Save now defaults to the most recent save location (SpartanJ/ecode#734).
Side Panel: right click on a directory and open it on new window (SpartanJ/ecode#736).
Build and Run: fix run in terminal on Windows 8.1 (SpartanJ/ecode#740).
2025-12-07 00:24:04 -03:00
Martín Lucas Golini
69a5c8c3c2 Fixes in process kill. 2025-11-27 13:31:01 -03:00
Martín Lucas Golini
03df17b96b Support setting environment to the terminal process.
WIP fixes in DAP runInTerminal and working on startDebugging.
2025-06-21 02:14:43 -03:00
Martín Lucas Golini
1b93c2e45e ecode:
Enable extracting PATH from default SHELL for Linux and BSD.
Fixed generic output-parser preset not being set as default.
Added a warning when the binary path is not found in project build steps.
Also print the exit code if process run fails.
Fix wheel scrolling issue.
2025-06-15 12:02:43 -03:00
Martín Lucas Golini
e4bf8215a6 Prevent crashes when restarting the LSP server. 2025-06-14 14:03:58 -03:00
Martín Lucas Golini
b6ead5f2fd Added "Build & Run" and "Build & Debug" buttons. 2025-05-21 00:33:25 -03:00
Martín Lucas Golini
da4386ddff Address: Specifying non-existing working directory for a build step isn't handled properly (SpartanJ/ecode#432).
ChatUI hide tooltips after button click.
Enable Tab Stops by default.
2025-04-10 18:40:46 -03:00
Martín Lucas Golini
0dd9ee141b Fix Modula-2 and 3 syntax definitions (both languages are case-sensitive).
Fix project settings focus.
2025-04-05 17:47:18 -03:00
Martín Lucas Golini
ad39ced875 Fix in project build. 2025-01-28 23:59:09 -03:00
Martín Lucas Golini
75ba896f80 Merge branch 'develop' into debugger 2025-01-12 11:44:56 -03:00
Martín Lucas Golini
ef7908fdb6 Added ${current_doc_dir} build variable (issue SpartanJ/ecode#383). 2025-01-12 11:44:48 -03:00
Martín Lucas Golini
2f6f825a63 More WIP implementing more functionalities in DAP. This commit will probably fail on some OSes. 2025-01-11 16:24:27 -03:00
Martín Lucas Golini
10e128c7f5 Initial implementation of mouse hover symbol during debugging session + some improvements. 2025-01-09 01:50:53 -03:00
Martín Lucas Golini
cf84fc7cff Save side panel tabs order. 2025-01-01 16:18:26 -03:00
Martín Lucas Golini
bbfcc74977 More WIP, debugger starting correctly. Tested several commands and all working. 2024-12-28 20:31:33 -03:00
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