Commit Graph

333 Commits

Author SHA1 Message Date
Martín Lucas Golini
bd96005bf8 ecode: Implemented LSP document symbol tree with search, integrated with the breadcrumb.
eepp: Added a new flag to UIWindow to create ephemeral windows (windows that close on focus loss).
2024-08-26 01:09:50 -03:00
Martín Lucas Golini
d6fc60a2ce Editor Breadcrumb WIP. 2024-08-25 01:18:31 -03:00
Martín Lucas Golini
fe69610cb7 Fix crash when reloading plugins and triggering subscribed events. 2024-08-15 00:29:15 -03:00
Martín Lucas Golini
7dd0579842 This is a fix for issue SpartanJ/ecode#310. 2024-08-11 01:40:43 -03:00
Martín Lucas Golini
42ca1900fa Display signature help if avialable and not symbol info is available when pressing lsp-symbol-info (F1). 2024-08-10 21:43:32 -03:00
Martín Lucas Golini
639e20c2f0 Several bug fixes detected with VS debugger. 2024-07-22 23:49:52 -03:00
Martín Lucas Golini
a836f6335e FoldRangeProvider is now an interface.
Fix rare crash in linter plugin.
2024-07-11 20:04:47 -03:00
Martín Lucas Golini
1cbdf3ba0c Try fix a weird crash with fold service. 2024-07-08 21:16:29 -03:00
Martín Lucas Golini
82d9448693 Fix crash when enqueued a fold action and editor was closed before the action executed.
Fix linter messages being too long (now wraps the text, fixes issue SpartanJ/ecode#289).
Fix minor issue when reloading linter plugin.
2024-07-08 01:21:20 -03:00
Martín Lucas Golini
a9de765b60 Minor clean up in TCPSocket and set timeout on HTTP socket connections.
LSP list view always selects first item.
2024-07-05 01:37:50 -03:00
Martín Lucas Golini
7f90b5afb3 Fix rounding errors for line positioning in UICodeEditor. 2024-07-04 21:32:58 -03:00
Martín Lucas Golini
8da73f749d Fix icon size. 2024-07-04 12:59:46 -03:00
Martín Lucas Golini
3168bb6d6c Display vertical scrollbar in UICodeEditor list views when required. 2024-07-04 11:05:36 -03:00
Martín Lucas Golini
1be7884c85 Better visual indicator of modified file.
Try fix a very rare crash when loading document while starting LSP and requesting folding information.
2024-06-30 20:33:12 -03:00
Martín Lucas Golini
e54c7dee4f Add $PROJECTPATH and ${project_root} as keywords for commands in LSP, Formatter and Linter. 2024-06-24 23:31:19 -03:00
Martín Lucas Golini
4ec00ee02d ecode: Quick Fix icon is now clickable. Minor fixes with incorrect usage of setCursor. 2024-06-23 22:05:04 -03:00
Martín Lucas Golini
5af8b2bbac Some fixes. 2024-06-07 02:10:53 -03:00
Martín Lucas Golini
a106b0d109 Some optimizations. 2024-06-06 00:58:56 -03:00
Martín Lucas Golini
efbc2c87bc Crash fix and optimization. 2024-06-05 20:11:09 -03:00
Martín Lucas Golini
0d4b18dd79 Pumps versions. 2024-06-05 00:23:40 -03:00
Martín Lucas Golini
c8288ed568 Ignore LSP folds that are less or equal to 2 lines. 2024-06-04 21:34:30 -03:00
Martín Lucas Golini
4f9bdbee47 Fix tab drag on scrolled tab widget.
Fix code action icon position.
2024-06-04 20:54:57 -03:00
Martín Lucas Golini
9a77c33a7e AutoCompletePlugin::updateDocCache is now aware of document closing
Set the tooltip on tab editor split
When changing folder update/save the last folder
Allow disabling welcome screen (SpartanJ/ecode#279).
2024-06-02 23:36:14 -03:00
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