Commit Graph

519 Commits

Author SHA1 Message Date
Martín Lucas Golini
e4bf8215a6 Prevent crashes when restarting the LSP server. 2025-06-14 14:03:58 -03:00
Martín Lucas Golini
c156b53e4b Rename "keyword2" to "type" and "keyword3" to "parameter".
Added some String overloaded functions.
2025-06-01 20:07:23 -03:00
Martín Lucas Golini
f580998b55 Allow to limit auto-completion results to the current document symbols (SpartanJ/ecode#482).
Added Typst LSP.
2025-05-31 00:48:36 -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
132dd01ecd More WIP for TextMate grammars support. 2025-05-19 20:54:03 -03:00
Martín Lucas Golini
c3faa293d3 Ensure Process::create is always checked as true before continue doing anything. 2025-05-12 19:07:27 -03:00
Martín Lucas Golini
058b9cab4d Fix for SpartanJ/ecode#461. Used CreateProcess is the Unicode version ("CreateProcessW"), and binary paths are now resolved as absolute paths in Windows. 2025-05-11 19:45:42 -03:00
Martín Lucas Golini
dbe674eecf Remember last used model in AI Assistant.
Minor change in goToNext and goToPrev in linter errors/warnings.
And a couple of nits.
2025-04-27 01:55:43 -03:00
Martín Lucas Golini
3c4b2698c3 Add new OpenAI and Google models.
Pump eepp and ecode versions.
Try to fix a minor bug in Plugin Manager window.
2025-04-19 00:15:47 -03:00
Martín Lucas Golini
be30ee67bc Update nlohmann/json library.
Removed "-ffast-math" flag for binary compilation (nlohmann/json is generating warnings due to the use of infinity, and actually binaries kinda don't need fast-math, it makes more sense in eepp).
Fix warning in Sys for macOS.
2025-04-12 00:42:54 -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
8a3b763b4a Fix bug introduced recently in semantic highlighting. 2025-04-08 15:24:43 -03:00
bytequill@codebased.xyz
ad2846e716 DiscordRPCPlugin: Git origin repository button (#103)
*  Git origin repository button

* 🔖 Bump plugin version and restore `gitplugin.hpp`

*  Restored git plugin to da85af1

* ♻️ Refactored to use `IniFile` parsing and eepp regex

* ♻️ impl suggested changes

* ♻️ Final touches

---------

Co-authored-by: Martín Lucas Golini <spartanj@gmail.com>
2025-04-08 15:09:27 -03:00
Martín Lucas Golini
9109f04b81 Fix google api key. 2025-04-08 00:32:42 -03:00
Martín Lucas Golini
dcfef15231 Leave coments for later. 2025-04-08 00:14:08 -03:00
Martín Lucas Golini
1d2c258ae7 Make Git plugin less verbose. 2025-04-07 21:16:20 -03:00
Martín Lucas Golini
2d62165657 Minor fixes in xit and markdown definitions.
Minor fix in text wrap.
Chat UI now displays Google Gemini error messages.
2025-04-06 23:41:35 -03:00
Martín Lucas Golini
6a3b58edc2 Allow to lock conversations in history (to not be deleted when deleting in mass).
Allow to delete files older than N number of days.
Improved the key bindings in chat ui editors.
Improved C3 syntax highlighting.
Try no to change the current tab when closing the other splitter.
2025-04-04 21:59:09 -03:00
Martín Lucas Golini
da85af1246 Added C3 syntax highlighting and LSP support.
Refactored TextUndoStack, now uses std::variant and avoids heap allocating each command.
Fix possible crash in Process::readAll.
Fix SyntaxDefinition::setSymbols.
Some minor improvements for Odin and Ü syntax definitions.
Fix Git plugin silent configuration.
2025-04-04 01:48:39 -03:00
Martín Lucas Golini
2a88bac8a1 Performance improvements due to not debouncing some function calls.
Adjust JSX and TS syntax definitions.
2025-04-02 20:24:45 -03:00
Martín Lucas Golini
bee677bdb8 Ups! Do not register Chat UI commands globally. 2025-03-31 22:56:36 -03:00
Martín Lucas Golini
473d4b48c9 Allow to configure the AI Assistant Chat UI keybindings.
Allow to prefer the LSP formatter over the command line formatter in the formatter plugin, changed that option as the default for the cases where we use clangd (which fallbacks to clang-format but does diff the file).
2025-03-31 22:40:15 -03:00
Martín Lucas Golini
67a86c3c05 Process class fix a dead-lock.
Compile with C++20 (compilation might fail on some systems, let's see the CI).
Fixed V1 syntax highlighting.
2025-03-31 18:52:42 -03:00
Martín Lucas Golini
80677554cf Fixed small and rare bug that prevented the scrollbars from being visible on the project view. 2025-03-30 20:59:24 -03:00
Martín Lucas Golini
8f090aba4a Fix some not ready all data from exited process. 2025-03-30 13:22:18 -03:00
Martín Lucas Golini
0ed85dc407 Update language definitions with some of the latest changes (remove auto-injected rules).
Allow search in chat input.
2025-03-29 18:49:12 -03:00
Martín Lucas Golini
5a728ddbfd Fix LLM Chat UI scroll.
Add some shortcuts to LLM Chat UI.
2025-03-29 16:54:57 -03:00
Martín Lucas Golini
7870ecbebe LLM Chat UI improvements. 2025-03-29 15:57:39 -03:00
Martín Lucas Golini
c7c45a87cf Fixes in UICodeEditor mouse click in gutter.
Added some basic culling in UICodeEditor.
Remember the Chat UI input text.
2025-03-29 02:17:56 -03:00
Martín Lucas Golini
f721ef92df Added a new tokenization method for the SyntaxTokenizer based on customized parsers. Initially is being used to parse numbers in C, C++ and JavaScript/TypeScript. This method is much more flexible and can be much faster than regex or lua patterns.
Improvets in AI Assistant.
Fix regression in size calculation of a UIAbstractTableView.
Fix in project search path filters.
2025-03-28 02:15:20 -03:00
Martín Lucas Golini
d003e49319 More improvements for AI Assistant UI.
Minor fix exporting syntax definitions.
2025-03-27 01:25:52 -03:00
Martín Lucas Golini
8ac5e1e2e8 Refactor in SyntaxDefinition and related classes.
Minor improvements in CPP, CSS, xit syntax highlighting.
AI Assistant / LLM Chat now can restore previous opened chats and states (last model used, panel split), can have private conversations, can clone a previous conversation, plus some visual improvements.
Fixed a bug in tab widget splitting.
2025-03-26 23:55:29 -03:00
Martín Lucas Golini
030b8dd9e6 Added Gemini 2.5 Pro Experimental support.
Minor changes in UIScrollView (now updates click step by default).
Minor optimization in SyntaxTokenizer.
Fix UIImage wrap_content and autosize.
Do not crash if no display is available.
2025-03-26 00:14:56 -03:00
Martín Lucas Golini
5b69427540 Minor refactor in abstract table view. 2025-03-25 01:49:58 -03:00
Martín Lucas Golini
cfd66fa438 Chat history WIP.
Reverted completion fuzzy search.
2025-03-23 03:37:34 -03:00
Martín Lucas Golini
12b2114a56 More ChatUI WIP. 2025-03-20 10:43:17 -03:00
Martín Lucas Golini
7f843ffbad Fix Process::readAll.
Fix possible crash in debugger initialization.
2025-03-19 21:09:08 -03:00
Martín Lucas Golini
88b1b4df86 Fix clearing breakpoints. 2025-03-19 00:30:26 -03:00
Martín Lucas Golini
770afa4a23 Minor modifications. 2025-03-15 22:42:26 -03:00
Martín Lucas Golini
129057ee03 Generate summary and save conversation WIP. 2025-03-15 01:25:05 -03:00
Martín Lucas Golini
9e6a29653f AI Assistant UI refactor.
Fixes in debugger an autocomplete plugin (from some of the new changes in both cases).
Fix UITextView not updating the aligment after padding change.
2025-03-14 21:56:05 -03:00
Martín Lucas Golini
c05dcd2c80 Fixed #93.
Fixed #94.
2025-03-14 11:24:41 -03:00
Martín Lucas Golini
d8aa670d12 Some minor fixes in debugger and gitplugin.
Minor visual improvement in status bar.
2025-03-14 00:30:53 -03:00
Martín Lucas Golini
2bccd1f836 More AI Assistant WIP. 2025-03-12 01:27:20 -03:00
Martín Lucas Golini
4ef3dfa312 AI Assistant WIP (first working version, no settings available and many things pending but chat working). 2025-03-11 22:04:46 -03:00
Martín Lucas Golini
dfb0820d0f Added a new fuzzy matching algorithm, it should be better than the previous version, it's similar to what most editors have (implementation is inspired in the sublime_text fuzzy matcher). 2025-03-08 18:33:25 -03:00
Martín Lucas Golini
7738a85906 Do not use OpenGL ARB functions anymore (it's time to deprecate OpenGL < 1.5).
Fix emscripten build.
Added an icon.
2025-03-05 21:16:02 -03:00
Martín Lucas Golini
976e940b30 Fix discordRPC icons. 2025-03-04 10:53:52 -03:00
Martín Lucas Golini
276ed6bfb0 Fix UIWidget::notifyLayoutAttrChangeParent() when used during a transaction.
Fix UIWidget::setLayoutMargin* not correctly invalidating the parent layout.
Fix a complete UI lock when trying to display a UIMessageBox after failed debugging in ecode.
2025-03-02 20:29:17 -03:00
Martín Lucas Golini
a91fde6dfd Improved whitespace rendering performance on wrapped lines, now it has the same cost than non-wrapped lines.
Fixed: Debugger gutter not drawing its background.
Fixed: horizontal scrollbar sometimes being visible on wrapped documents.
Updated CSS Specification documentation.
2025-02-27 19:26:08 -03:00