Commit Graph

310 Commits

Author SHA1 Message Date
Martín Lucas Golini
6832032470 Added configuration for code-folding. 2024-06-02 22:12:52 -03:00
Martín Lucas Golini
80897f7c66 Improve rename symbol. 2024-05-31 01:20:50 -03:00
Martín Lucas Golini
a4be2966fd More code folding improvements. Added generic methods to not depend on the LSP when it's not available. 2024-05-30 00:56:20 -03:00
Martín Lucas Golini
416663675b Visual improvements for folding. 2024-05-29 21:33:05 -03:00
Martín Lucas Golini
73958d442f Code Folding fixes. 2024-05-28 23:49:32 -03:00
Martín Lucas Golini
0bd4de1d27 More code folding work. 2024-05-28 00:42:06 -03:00
Martín Lucas Golini
396f1e2558 Code Folding WIP. 2024-05-27 00:57:18 -03:00
Martín Lucas Golini
c6f9f10814 LineWrapping refactor WIP. Also reduced minimap draw calls (instead of per-line now are per-frame). 2024-05-23 20:41:31 -03:00
Martín Lucas Golini
2b0c59c658 Minor fix. 2024-05-21 20:14:11 -03:00
Martín Lucas Golini
c768277c71 Reset line wrap info on document reset. 2024-05-20 21:19:22 -03:00
Martín Lucas Golini
4bc952dcc2 Minimap fixes 2024-05-19 19:30:46 -03:00
Martín Lucas Golini
d74d460a5a Line Wrap fixes:
[x] Line clip

[x] Override commands
		"select-to-previous-line"
		"move-to-previous-"line"
		"select-to-next-line"
		"move-to-next-line"

[x] Draw underline for links

[x] Bugs
	- Delete line with shift+delete when the next line is wrapped
	- Delete line with shift+delete when the next line has a different offset than the current one

[x] Clean up UITextEdit
2024-05-17 01:58:15 -03:00
Martín Lucas Golini
bb7df84f8c More WIP, getting closer. 2024-05-15 00:46:58 -03:00
Martín Lucas Golini
8f6b536d34 More line wrap WIP. 2024-05-13 01:40:01 -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
ad2ed604f0 Added AutoComplete plugin configuration.
Reduced status bar buttons icons size.
2024-05-01 00:38:59 -03:00
Martín Lucas Golini
15e51118eb Auto complete suggestions improved. Snippets improvements. 2024-04-29 20:57:50 -03:00
Martín Lucas Golini
c6aedb8dd3 Safer LSP Server shutdown. 2024-04-29 19:36:33 -03:00
Martín Lucas Golini
630a611133 Two crash fixes. 2024-04-29 13:51:50 -03:00
Martín Lucas Golini
e9f6c32046 Snippet nav WIP. 2024-04-28 18:56:24 -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
893d2e69c1 Skip lintin if no linter binary is present (helps SpartanJ/ecode#270). 2024-04-24 11:09:23 -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
fcc9eb2204 Autocomplete improvements. 2024-04-16 23:41:46 -03:00
Martín Lucas Golini
c6a2bc2c44 Auto-complete improvements. Added some partial Emmet support via emmet lsp. 2024-04-15 23:51:33 -03:00
Martín Lucas Golini
6461402e30 Menu Bar keyboard navigation improvements. 2024-04-14 16:44:16 -03:00
Martín Lucas Golini
c6cc4fa4ac Display error when LSP Server fails to initialize. 2024-04-10 21:35:56 -03:00
Martín Lucas Golini
d493674363 A couple of minor fixes. 2024-04-10 13:08:17 -03:00
Martín Lucas Golini
acf0182e63 Implement terminal for legacy Windows users (SpartanJ/ecode#153).
Added Sys::getPlatformType.
Fix for TerminalEmulator selection.
2024-04-06 23:08:28 -03:00
Martín Lucas Golini
560733d25a Fix bug when deleting an item in UIBuildSettings.
Improve LSPClientServer::shutdown.
Fix possible div / 0 in UIConsole.
2024-03-28 10:59:17 -03:00
Martín Lucas Golini
bdc376a1eb Fix TypeScript React and JavasSript React files in LSP, they were recognized as TypeScript and JavaScript files so it was incorrectly parsed. 2024-03-21 12:55:36 -03:00
Martín Lucas Golini
eb19d5d8ee Run git commands with async io.
Fix accidental bug introduced in ProjectDirectoryTree.
2024-03-16 21:04:56 -03:00
Martín Lucas Golini
6db1e5ec43 Fix project search error incorrectly counting the result line number when searching with the wholeword flag.
A couple of minor fixes.
2024-03-13 20:14:41 -03:00
Martín Lucas Golini
b7a754a3c8 Fix bug in ProjectDirectoryTree when a file is renamed with a name that it's part of the gitignore, now it will properly *not* remove the file from the files list.
Small code refactor.
2024-03-11 02:22:11 -03:00
Martín Lucas Golini
7d12ceeabb Add native linter support for XML. 2024-03-10 15:53:07 -03:00
Martín Lucas Golini
6c94ea50d9 Fix bug in LSP Plugin when opening a same document in a split and then closing the original document, keybinds were lost after that. 2024-03-10 13:07:21 -03:00
Martín Lucas Golini
4fd4a02361 Improve LSP client close/exit.
Implemented Closing Symbol Override (SpartanJ/ecode#121), improved the auto-close bracket to be balanced.
2024-03-09 20:55:13 -03:00
Martín Lucas Golini
70c1c4daa5 Fix SpartanJ/ecode#169.
Shutdown correctly LSPs (wait for shudown response).
Allow LSPs definition to declare dynamic vars that can run external commands to set the vars.
Added AdeptLSP support (SpartanJ/ecode#157).
2024-03-08 23:02:59 -03:00
Martín Lucas Golini
5d7d31c236 Git plugin fixes. 2024-03-08 20:25:42 -03:00
Martín Lucas Golini
cc144c27c1 Added WordWrap for UITooltip.
LSP tooltip now wraps its contents.
2024-02-24 13:45:27 -03:00
Martín Lucas Golini
a1ee816608 Fix unlocked handler. 2024-02-21 22:03:35 -03:00
Martín Lucas Golini
9548d9f4cd Minor fix in git plugin. 2024-02-20 02:26:36 -03:00
Martín Lucas Golini
ca85127605 Added MoonScript and GraphQL langs.
Minor fixes.
2024-02-20 02:01:04 -03:00
Martín Lucas Golini
d7d56783c6 Added "ft" locator for switch file type.
Added "select-all-words" command for documents (default keybind is ctrl/cmd+shift+d).
Manage git plugin tab visibility when folder is closed, reopened, etc.
2024-02-18 12:26:07 -03:00
Martín Lucas Golini
36c91989d3 Lambda captures clean up, plus other minor clean ups. 2024-02-17 18:19:55 -03:00
Martín Lucas Golini
b2fff897be Revert round() of UIDrawable position.
Re-subscribe on model change for Git tree view styling
2024-02-16 18:27:18 -03:00
Martín Lucas Golini
b8d79fe493 Menu option for Git diff for staged files and repo.
Improved visually git file modified indicator.
Minor fix in auto complete.
Added Main Menu shortcut on welcome screen.
Added String::numberClean.
2024-02-15 19:42:24 -03:00
Martín Lucas Golini
ec1a09e9a3 Highlight git modified files in file tree. 2024-02-14 01:40:05 -03:00
Martín Lucas Golini
10099bf6bf Hide signature help if cursor moves to a new line. 2024-02-13 19:03:13 -03:00
Martín Lucas Golini
eccf1f1cba Optimize UITableView and UITreeView by only allocating as many cells as needed to cover the viewport. 2024-02-11 13:45:18 -03:00