Commit Graph

142 Commits

Author SHA1 Message Date
MinusGix 2202343cdc
Fix terminal default profile saving incorrectly (#3142) 2024-04-01 05:34:42 +02:00
MinusGix 19cdabc84b
Add text color if file is changed according to source control (#3096) 2024-03-24 18:52:18 +00:00
MinusGix d8dc78c7f2
Add setting to toggle open editors section (#3095) 2024-03-24 17:57:06 +00:00
MinusGix f4a89ead78
Foldable panel sections (#3086) 2024-03-19 08:38:53 +00:00
MinusGix 750b12242c
Implement arbitrary theme variables (#3069) 2024-03-12 21:06:40 +00:00
MinusGix f5e862c78c
Tooltips (#3053)
* Minor changes

* Add tooltips to various places
2024-03-08 22:30:33 +00:00
MinusGix 70cee3b1b0
Implement line-ending switching (#3047) 2024-03-07 21:18:55 +00:00
MinusGix 25045a2213
Focus on app_view so that find receives keypresses (#3031) 2024-03-03 13:42:52 +00:00
MinusGix 54e6682755
Remaining file explorer context menu entries (#3026)
* Comments + minor style changes

* Remove unused id signal

* Initial reimpl of File Explorer context menu options

* Add New File/Directory & Duplicate

* Simplify handling of naming states

This makes so that rather than being separate state machines with their own functions, they just share the state logic, thus avoiding the need to rewrite the same functions N times.

* Deduplicate explorer children creation

* Allow opening context menu anywhere in file explorer

* Fix clippy
2024-02-28 12:47:29 +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
Benno Straub 9bddebda16
Improve search in keyboard shortcuts overview (#2918)
* improve search in keyboard shortcuts overview

* Update CHANGELOG.md
2024-01-13 15:41:07 +00:00
riverbl 5652efc39b
Implement comparing files in the diff editor (#2910)
The user can either:

* Select the files to compare by right clicking on them in the file explorer.

* Invoke the `diff_files` command and select the files to compare from the palette.

Fix double clicking on an unconfirmed diff editor tab not confirming it.
2024-01-06 14:33:00 +00:00
Alexandre Leblanc 83120215ad
Fix/git commit silently fail missing username email (#2878)
* fix: Commit on freshly initialized repository.

Fixes #2779

* fix: Prompt error message when Git user.name or user.email is missing.

Fixes #1277.

* Update CHANGELOG.md

---------

Co-authored-by: Alexandre Leblanc <a.leblanc@kitai.dev>
2024-01-02 09:44:52 +00:00
Alexandre Leblanc 1d585b2bb5
fix: detect git changes when no commit in repository (#2872)
* fix: Display untracked files on a fresh git repository.

Issue #2779.

Known issue: files without history are displaying text-less diff.

* fix: Display untracked files on a fresh git repository.

Issue #2779.

Known issue: files without history are displaying text-less diff.

* fix: clippy warnings

* fix: clippy errors

---------

Co-authored-by: Alexandre Leblanc <a.leblanc@kitai.dev>
2023-12-30 18:09:43 +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
Dongdong Zhou cb96e5ac3f bump version 2023-12-04 21:13:24 +00:00
Dimitri Tabatadze d8452a1e49
fix: save without formatting now calls save (#2820) 2023-11-28 11:14:17 +00:00
MinusGix 07040dab7f
Don't mark nonexistent files as read only (#2754) 2023-11-04 17:47:36 +00:00
Dongdong Zhou c49e281422 bump version 2023-10-31 21:13:43 +00:00
Dongdong Zhou c03153ba5e
Update CHANGELOG.md 2023-10-30 20:27:45 +00:00
Auguste Rame f724016297
Send diagnostics capabilities for LSP (#2650) 2023-10-06 09:49:27 +02:00
Dongdong Zhou 9b064f5c81
add replace (#2553)
* add replace

* focus back to workbench when pointer down on search

* update changelog

* update changelog
2023-08-18 20:48:54 +01:00
MarcusGrass b1864360b8
Vim motion multi-line yank and delete (#2549)
* Vim motion multi-line yank and delete

* Update changelog

* Cache count in motion mode
2023-08-16 21:18:17 +01:00
Veronika Bušová 6567b41390
Show Lapce as an option when doing "Open With..." on Linux (#2498) 2023-08-13 12:55:02 +02:00
MinusGix ca5ddd391f Impl completion lens 2023-06-04 09:56:08 -05:00
Dongdong Zhou 14534f4b05 bump version 2023-06-01 19:54:48 +01:00
Artem Aleshkov 664b6642a2
Feature: Add basic Vim marks feature (#2403)
Adds CreateMark and GoToMark funcitonality, but only local version:
e.g. within current buffer. (no global marks yet).

Co-authored-by: Artem Aleshkov <artem.aleshkov@ultra.io>
2023-05-25 22:15:46 +01:00
Jakub Panek 2afea4f583
docs: fix changelog (#2332) 2023-04-09 21:48:54 +02:00
Jakub Panek c9e3544fbd
Add option to open files at specific line/column (#1964)
Co-authored-by: JustForFun88 <alishergaliev88@gmail.com>
2023-03-25 13:19:12 +01:00
Dongdong Zhou ce1becfae4 bump version 2023-03-16 19:12:46 +00:00
Jakub Panek 75b8d2e514
docs: add git branch filter input in changelog (#2239) 2023-03-13 03:34:54 +01:00
Jakub Panek f28afd8c7c
Add StartupWMClass to desktop entry (#2228) 2023-03-11 11:09:15 +01:00
Dongdong Zhou 8761222958
revert back to old way of set_locale_enviroment (#2209)
* revert back to old way of set_locale_enviroment

* update changelog
2023-03-03 20:05:41 +00:00
Dongdong Zhou cc154ac94f bump version 2023-02-28 19:13:34 +00:00
Niklas Sirch d64935b972
Make auto_closing_matching_pairs dependent on BufferContent (#2188) 2023-02-28 19:09:02 +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
Jesse Stippel 122589a352
Added Lapce App Icon (#2128)
* added app icon for lapce

* updated changelog

* light variant

---------

Co-authored-by: Jesse Stippel <jesse.stippel@umwerk-systems.com>
2023-02-10 19:17:48 +00:00
Jakub Panek eb4cde2f47
fix: dont overwrite symlink (#2131) 2023-02-10 19:16:39 +00:00
Jakub Panek 4438eb551b
feat: add Ctrl+{a,e,k} keybinds on macOS (#2074) 2023-01-29 02:51:43 +01:00
Jakub Panek 49d219eac6
fix: find repository if it's not in current workspace path (#2069) 2023-01-28 21:28:38 +01:00
Jakub Panek 950b40d0d2
feat: add command and keybinds to delete line (#2071) 2023-01-28 19:51:42 +00:00
Jakub Panek 8fa454f58f
fix: remove ssh timeout option on windows (#2072) 2023-01-28 19:44:58 +00:00
Jovan Gerodetti 0e18acbde5
send user HOME dir from proxy to editor (#2056)
* send user HOME dir from proxy to editor

* update changelog
2023-01-24 19:23:17 +00:00
Árni Dagur 5b2d412fc8
Add 'Rename Symbol' option on right-click (#2045) 2023-01-22 10:43:09 +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
Alexander van Ratingen 10a82f9eb8
Fix cursor movement on selections with arrow up/down keys (#2036)
* Fix cursor movement on selections with arrow up/down keys.

* Update changelog.
2023-01-18 19:44:33 +00:00
Lukas Lihotzki b4e6b8bd5e
feat: ToggleHistory command (#2004) 2023-01-15 20:54:12 +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
Alexander van Ratingen 7e67729659
Implement file duplication (#1972)
* Implement file duplication.

* Create parent dirs when duplicating a file.

* Update readme.

* Apply rustfmt.

* Use `String` instead of `OsString`.
2023-01-12 19:26:18 +00:00