Commit Graph

125 Commits

Author SHA1 Message Date
MinusGix d8dc78c7f2
Add setting to toggle open editors section (#3095) 2024-03-24 17:57:06 +00:00
MinusGix b9d21e6003
Simplify settings (#3082) 2024-03-17 21:05:26 +00:00
MinusGix 2ea1c8aba2
Add tooltip coloring to settings.toml (#3077) 2024-03-15 07:33:05 +01:00
MinusGix 70cee3b1b0
Implement line-ending switching (#3047) 2024-03-07 21:18:55 +00:00
a.e 4f5318d519
Feat: add `files_exclude` option (Fixes #811) (#2955)
* feat: add `files_exclude` option

* chore: update feat changelog (#2955)

* fix: clippy warning
2024-02-15 09:12:19 +00:00
bbrabbitt 2c08177d9b
feat(editor): bracket colorization (#2835)
* feat(editor): bracket highlight

style: apply clippy fix

* feat(editor): use tree-sitter parser, add config and theme colors for colorization

* fix: clear bracket_pos to prevent miscolored characters

* fix: add fallback colors if theme does not provide bracket colors

chore: fmt

* fix: utf-8 char will cause crash

fix: brackets in string interpolation

* rename config; add get_base_color instead of using TERMINAL

* remove fallback

* fix: pass config to Document::new

* update colorization code

* cargo fmt

* feat(editor): use tree-sitter parser, add config and theme colors for colorization

* fix: clear bracket_pos to prevent miscolored characters

* fix: utf-8 char will cause crash

fix: brackets in string interpolation

* rename config; add get_base_color instead of using TERMINAL

* remove fallback

* fix: pass config to Document::new

* update colorization code

* cargo fmt

* add bracket colorization limit

* cargo fmt and clippy

* merge

* merge

* merge to latest doc.rs

* update doc.rs

* change from to_string to String::new

* set colorization to off by default
2024-01-18 22:50:01 +01:00
MinusGix e9435735f2
Implement inline completion (#2846) 2023-12-11 19:08:05 +00:00
MinusGix 87e0fc06f1
Line wrap (#2723)
* Line-wrap impl

* Fix paint normal selection around linewrapping and phantom text

* Fix linewise selection

* Maybe fix scroll bug

* Fix breakpoint positioning

* Clippy fixes

* Docs + Fixes + Cleanup

* Make phantom text before_col more indirect

This will be useful once we stop aggressively computing the full PhantomText whenever it is accessed.

* Make over-monomorphizations over TextLayoutProvider less likely

* Fix bench
2023-12-05 14:14:37 +00:00
Elmeri Keitaanranta d3e8ea8c6a
Auto-surround config (#2764)
* wrap selected text with corresponding char fix

* auto-surround config
2023-11-08 21:38:32 +00:00
Dongdong Zhou a636ad0436 display visual line and visual block mode 2023-11-02 22:20:18 +00:00
Dongdong Zhou 8c85108f8b theme color settings 2023-10-27 21:09:13 +01:00
Dongdong Zhou 36e908ecf2 add step into out 2023-10-20 19:47:28 +01:00
Dongdong Zhou 2cdd7af86f add debug step over 2023-10-19 21:27:38 +01:00
Dongdong Zhou 3ab7637b70 Merge branch 'master' into dap 2023-09-27 21:37:20 +01:00
Jakub Panek 1f62c4a3e5
feat: implement terminal profiles (#2467) 2023-09-26 21:14:05 +01:00
Dongdong Zhou 4401d46528 breakpoint display 2023-09-21 08:41:20 +01:00
Jakub Panek 83ca73b8f5
feat: allow changing position of close button in editor tabs (#2620) 2023-09-18 20:39:57 +01:00
Dongdong Zhou a32a915788
implement custom title (#2603)
* implement custom title

* add drag resize
2023-09-08 20:28:07 +01:00
Dongdong Zhou a8758d9e6b hover support 2023-08-23 20:42:01 +01:00
Dongdong Zhou 19057b048a
add keymap view (#2537)
* add keymap view

* change key popup

* multiple window support

* menu update

* menu update
2023-08-10 21:53:33 +01:00
Dongdong Zhou f85ba8583f diff show more section 2023-07-01 13:28:48 +01:00
Dongdong Zhou 144b5136d7 paint diff info in scroll bar 2023-06-10 22:16:59 +01:00
Dongdong Zhou 0d0f7bd721 add gutter diff info 2023-06-10 21:27:34 +01:00
Dongdong Zhou 09b033f193 Merge branch 'master' into floem 2023-06-01 21:15:03 +01:00
Dongdong Zhou c59fe3e816 find view 2023-05-16 20:59:12 +01:00
Dongdong Zhou bd30e5b394 global search ui
sdfasdf
sdlfkjsld
2023-05-12 19:49:23 +01:00
Dongdong Zhou ea480e9170 start file explorer 2023-05-05 19:59:00 +01:00
Dongdong Zhou 799641e35d panel picker 2023-04-28 20:43:15 +01:00
Dongdong Zhou 598aeae458 add diagnostics wave line 2023-04-20 20:51:07 +01:00
Dongdong Zhou f1a23436b3 more on run and debug 2023-04-11 21:34:35 +01:00
tk 4930ecc2bd
feat: highlight all occurrences of the selected text (#2222)
* feat: highlight all occurrences of the selected text

* ignore whitespaces

* search in screen_lines

* search in screen_lines
2023-03-09 19:45:31 +00:00
Dongdong Zhou 5e1b70d7f8 toggle breakpoints 2023-02-28 19:17:11 +00:00
Dongdong Zhou a422e894a8 paint breakpoint 2023-02-28 19:17:11 +00:00
Dongdong Zhou 34cdf32bb9 restart dap 2023-02-28 19:17:11 +00:00
Dongdong Zhou 9cbb57c870 more dap commands 2023-02-28 19:17:11 +00:00
Dongdong Zhou f402e965fe debug panel icon 2023-02-28 19:17:11 +00:00
Dongdong Zhou 3d920eb353 put run and debug in terminal 2023-02-28 19:17:11 +00:00
Dongdong Zhou b1a98caa27 add debug panel 2023-02-28 19:15:29 +00:00
Jesse Stippel b92c519e29
Extended double-click options (#2127)
* include options for double-click functionality

* update changelog

* change int to enum values

* implemented ClickModes enum

* rename def

* simplify continue conditional

* rem extra brackets

---------

Co-authored-by: Jesse Stippel <jesse.stippel@umwerk-systems.com>
2023-02-21 14:35:08 +01:00
Hanif Ariffin cdae7c8a9a
Add settings to configure the scroll speed (#2120)
Feature requested here: https://github.com/lapce/lapce/issues/2085

Signed-off-by: Hanif Ariffin <hanif.ariffin.4326@gmail.com>
2023-02-08 18:54:34 +00:00
tk 1e5af8e866
feat: configurable diff context lines (#2094)
* configurable diff context lines

* configurable diff context lines

* configurable diff context lines
2023-02-05 19:36:58 +00:00
Hanif Ariffin e191b9f230
Add an option to disable moving the focus area when you type (#2062)
It's extremely annoying when it flies to multiple places with each
and every keystroke

Signed-off-by: Hanif Ariffin <hanif.ariffin.4326@gmail.com>
2023-01-28 19:47:58 +00:00
Hanif Ariffin 3f842d9d5b
Implement basic double click delay (#2033)
* Implement basic double click delay

Fixes https://github.com/lapce/lapce/issues/2031

Signed-off-by: Hanif Ariffin <hanif.ariffin.4326@gmail.com>

* Updated CHANGELOG

Signed-off-by: Hanif Ariffin <hanif.ariffin.4326@gmail.com>

* Reimplement using the event itself

Signed-off-by: Hanif Ariffin <hanif.ariffin.4326@gmail.com>

Signed-off-by: Hanif Ariffin <hanif.ariffin.4326@gmail.com>
2023-01-18 19:45:06 +00:00
MinusGix 42fd6f002b
Implement rendering of images in markdown views (#1991) 2023-01-15 19:28:07 +00:00
Jakub Panek a647e1fa08
feat: add fg/bg modal status theme keys (#1988) 2023-01-13 18:55:31 +00:00
MinusGix 3ab5056d96
Implement completion lens (#1968) 2023-01-12 19:19:10 +00:00
MinusGix 7e66464173
Implement dropdown widget; Use dropdown widget for settings (#1938) 2023-01-08 18:07:14 +00:00
Dongdong Zhou 49a05edf90 panel collapse style change 2023-01-05 19:47:01 +00:00
Jakub Panek e24a5e10fe
fix: add option to change remote svg icon colour (#1820)
* fix: add option to change remote svg icon colour

* fix: disable plugin settings when none available

* docs: update CHANGELOG
2022-12-19 19:35:37 +00:00
Jacob Gonzalez 6a249275b0
Add sticky header theming option (#1794) 2022-12-13 12:31:48 +01:00