Commit Graph

2277 Commits

Author SHA1 Message Date
Paul Delafosse 181764f96c
fix(view): autosave periodically resetting scroll (#1476) 2022-10-11 21:19:31 +01:00
Dongdong Zhou d5560f8f32 global search box style change 2022-10-10 20:26:32 +01:00
Dongdong Zhou c431b53c4d
Plugin settings load fix (#1473)
* load plugin settings

* switcher active when plugin is removed
2022-10-10 20:22:19 +01:00
Paul Delafosse ee83113246
feat(search): add case sensitive search ui button (#1441) 2022-10-10 20:21:32 +01:00
Jakub Panek c880b15993
fix: canonicalize paths (#1469) 2022-10-10 19:59:00 +01:00
Hanif Ariffin 5e507aa081
Delete scratch_docs when deleting scratch documents (#1465) 2022-10-09 20:21:54 +01:00
Dongdong Zhou e3b2875d63 Create PULL_REQUEST_TEMPLATE.md 2022-10-09 20:19:35 +01:00
Dongdong Zhou aea97b6ea3
Plugin Settings (#1449) 2022-10-09 20:10:43 +01:00
Hanif Ariffin 7d4e08bbf3
Refactor mouse_up handling into a function to keep the code consistent (#1464) 2022-10-09 19:19:38 +01:00
Hanif Ariffin d45b4f9c5c
Rewritten a loop-based variable to the more idiomatic iterator-based implementation (#1463) 2022-10-09 17:59:11 +01:00
Jakub Panek 7235c3a577
feat: allow custom codesign identity (#1457) 2022-10-08 14:47:55 +01:00
Jakub Panek 8fe444b71b
fix: add terraform extension to HCL syntax (#1450) 2022-10-08 11:50:00 +01:00
Dongdong Zhou 7c993f9435
IME Support for macOS (#1440) 2022-10-05 22:34:32 +01:00
Tzvi Melamed 278618b191
Correct terminal font sizing (#1443) 2022-10-05 21:59:28 +01:00
Jakub Panek cb7b8ac700
fix: correct joining PATH (#1436) 2022-10-03 22:46:27 +01:00
Jakub Panek 92e7199e23
fix: join PATH with correct platform separator (#1434) 2022-10-03 20:37:16 +01:00
Paul Delafosse 05b5caa296
feat(lsp): add 'codeAction/resolve' support (#1420) 2022-10-03 19:06:37 +01:00
Dániel Buga a19318e432
Fix self-update for installed Lapce (#1427)
* Download msi for non-portable Lapce

* Run the downloaded installer

* Set the portable flag for standalone exe
2022-10-02 17:28:20 +01:00
Jakub Panek 72a2d5e602
fix: format imports (#1431)
* fix: add nightly options

* style: format/sort imports
2022-10-02 14:18:22 +01:00
Cameron 7b61e48b7d
add cursor position/current selection in status bar (#1426) 2022-10-02 14:09:56 +01:00
Cameron a8fe7f5d0c
Merge semantic and syntax highlighting (#1401)
* combine semantic + syntax highlighting

* satisfy clippy

* refactor

* rename

* apply suggestions

* refactor, remove unneeded build
2022-10-01 22:06:30 +01:00
Jakub Panek a14043a305
fix: don't panic on non-existing key & remove config dep (#1425)
* fix: don't panic on non-existing key

* fix: remove unused config dep
2022-10-01 21:44:13 +01:00
Stanislav Lapata e715adf14f
add sticky headers to ruby and elixir (#1424) 2022-10-01 21:13:36 +01:00
MinusGix e760dce788
Fix: Check if get_editor request is non-scratch before early-returning (#1422) 2022-10-01 20:27:11 +01:00
NiceSieve 7463874355
Fix multiple cursor offset after inserting opening pair (#1423)
* fix multiple cursor offset after inserting opening pair

also add doc to matching_pair_direction function

* add test for mulpitle cursor paren insertion
2022-10-01 20:18:00 +01:00
NiceSieve 3ce1306927
Add Scheme tree-sitter support (#1416)
* add support for Scheme tree-sitter

* add test for Scheme language
2022-09-30 22:32:36 +01:00
NiceSieve 27578f4579
sort languages alphabetically (#1411) 2022-09-30 21:10:32 +01:00
Dongdong Zhou 80f6a19947
Volt activation (#1414)
* activated

* theme plugin enable/disable fix

* fix active editor tab child

* editor tab header style change

* hover scroll fix

* fix syntax crash

* panel maximze icon

* config lapce to core change

* config features
2022-09-30 20:19:52 +01:00
Dániel Buga 7de4193e47
Log panics with full backtrace as errors (#1404)
* Log panics with full backtrace as errors

* Store backtraces
2022-09-30 19:58:28 +01:00
Dániel Buga bd7701ed82
Clean up a few selection methods (#1403) 2022-09-30 19:58:12 +01:00
Cameron 038145070e
add sticky headers for json code (#1371) 2022-09-30 19:57:33 +01:00
NiceSieve 3551ad2c4d
add tree-sitter support for R (#1370) 2022-09-30 19:57:18 +01:00
Laurențiu Nicola 6eeb789201
Add keybindings for Shift-Del, Shift-Ins, Ctrl-Ins (#1040) 2022-09-30 19:56:53 +01:00
Jakub Panek 55c67d4d22
fix: disable format-on-save by default (#1413) 2022-09-30 19:56:40 +01:00
xiaoxin 0522da59f2
add vue highlight support (#1326)
* feat: add vue highlight support

* feat: add vue lang

* remove vue svg
because the licences is unknow
2022-09-29 19:18:31 +01:00
Paul Delafosse 0479eccea0
Add test & rustdoc to lacpe-core (#1386)
* test: add tests for lapce-core/word

* chore: remove unused tests

* docs: add rust doc for lapce-core/selection

* refactor: replace SelRegion getters with public field

* chore(selection): remove unused parameter for Selection::delete_range

* test(core): add more test and doc to selection

* ci: add doc test to ci action
2022-09-29 19:17:57 +01:00
Paul Delafosse 8c56be834c
Chore/remove unused deps (#1390)
* chore(lacpe-data): remove unused dependencies

* chore(lacpe-ui): remove unused dependencies

* chore(lacpe-core): remove unused dependencies
2022-09-29 19:17:38 +01:00
Dániel Buga 700784fac0
Rename exe instead of deletion (#1395) 2022-09-29 19:17:14 +01:00
MinusGix 8bb3f1a24f
Use proper flag bool for indicating that there shouldn't be a wasm file; Log errors if they occur (#1396) 2022-09-29 19:17:02 +01:00
Dongdong Zhou 8f1243ceef hover style change 2022-09-28 22:04:20 +01:00
Cameron cdc6abbade
Fix hover hints + show multiple hover hint items (#1381)
* improve hover hints to show multiple items

* improve

* fix heights

* satisy clippy
2022-09-28 21:27:12 +01:00
Dongdong Zhou 4454cefcfa proxy send shutdown when stdin is finished 2022-09-28 20:23:16 +01:00
Gökhan Karabulut ff57e8ae62
Fix deletion edit intervals (#1380)
Iterator with matcher `CounterMatcher::NonZero` yields correct intervals
for deletion edits. Remove faulty interval calculations for deletions.
2022-09-28 20:16:34 +01:00
Suraj Ghimire 196f896a2e
Lua support (#1375)
* initial support for lua

Signed-off-by: Suraj Ghimire <suraj@ghishadow.com>

* use master implementation for new_highlight_config

Signed-off-by: Suraj Ghimire <suraj@ghishadow.com>

* add proper License and source

Signed-off-by: Suraj Ghimire <suraj@ghishadow.com>

Signed-off-by: Suraj Ghimire <suraj@ghishadow.com>
2022-09-28 20:16:17 +01:00
Paul Delafosse f10e15b7bf
test: add code coverage CI action (#1385) 2022-09-28 20:16:00 +01:00
Dániel Buga 94558d884e
Merge pull request #1388 from gokhanettin/fix-terminal-regex-search
Fix regex search within the terminal
2022-09-28 20:07:37 +02:00
Gokhan Karabulut bb93bbaeb0 Fix regex search within the terminal
Escape search string to create safe regex search within the terminal.
Otherwise regex meta characters within the search string could freeze
the whole editor.
2022-09-28 16:57:55 +03:00
NiceSieve feb30c9ff4
add sticky headers for C and C++ (#1377)
* add sticky headers for C and C++

* run rustfmt
2022-09-27 21:34:03 +01:00
Dániel Buga d14664b21f
Add rust enums to sticky headers list (#1378) 2022-09-27 21:01:54 +01:00
Dongdong Zhou 7dbcfc0a6c config folder watcher improvement 2022-09-27 20:25:55 +01:00