Commit Graph

170 Commits

Author SHA1 Message Date
xiaoxin dad6a58c50
feat: add goto definition var link (#1589) 2022-10-23 15:41:05 +01:00
dependabot[bot] c40d82b0b8
chore(deps): bump serde_json from 1.0.85 to 1.0.87 (#1585)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.85 to 1.0.87.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.85...v1.0.87)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-22 16:02:54 +01:00
Cameron 2f310ab43d
Add ability to copy active editor remote file url to clipboard (#1560) 2022-10-21 21:53:20 +01:00
Cameron 97a2686fe3
Add ability to discard file changes from context menu in source control (#1510)
* implement ability to discard git file changes from context menu

* remove unused import + update changelog
2022-10-21 20:40:28 +01:00
Jakub Panek b5f6488373
Icon themes (#1459) 2022-10-20 19:08:16 +01:00
Dongdong Zhou 64bf5eba34
fix tree sitter edit once more (#1556) 2022-10-19 19:03:13 +01:00
Dongdong Zhou fdb1e52f4e bump version to 0.2.1 2022-10-12 19:13:39 +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
Dongdong Zhou aea97b6ea3
Plugin Settings (#1449) 2022-10-09 20:10:43 +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
Jakub Panek 72a2d5e602
fix: format imports (#1431)
* fix: add nightly options

* style: format/sort imports
2022-10-02 14:18:22 +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
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
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
Paul Delafosse 42a23afd35
feat(lsp): implement syntax aware selection (#1353) 2022-09-27 19:40:23 +01:00
Maxim Leis 7213ae1dc8
implement logic for getting the installation progress (#1281)
* implement logic for getting the installation progress

* get the progress bar in the ui

* add status text to progress bar

* remove unused volt_downloader.rs + add suggestion from PR

* add progress indication if app is removed

* remove progress percentage + add ability for error text

* use rect height as distance to next progress, so it show's like a list

* use different font color if there is a error while installation

* handle remove_volt remove_dir_all error

* add error handeling for removing in progressbar

* remove redundant if statement in drawing progress

* show error messages from download plugins in the status bar

* run rustfmt

* Satisfy clippy: To big variants

* Satisfy clippy: adjust error check accordingly

* run rustfmt

* Satisfy clippy: fix local issues

* apply review changes

* only save (workspace) plugins if neccessary

* fix brackets after merge again
2022-09-27 19:39:22 +01:00
Dániel Buga 17e9311db5
A tiny message handling refactor (#1337)
* Avoid losing data coming from local sockets

* Align impls a bit, clean up
2022-09-25 21:17:17 +01:00
Dongdong Zhou c8a7675b9a
Merge pull request #1332 from panekj/fix/process-path
fix: replace process_path with stdlib current_exe()
2022-09-23 22:41:56 +01:00
Jakub Panek e64d5f60ec fix: replace process_path with stdlib current_exe()
Signed-off-by: Jakub Panek <me@panekj.dev>
2022-09-23 23:13:09 +02:00
Dongdong Zhou a6dfe22c35
Merge pull request #1327 from panekj/patch-1
fix: add svelte language_id
2022-09-23 19:24:03 +01:00
Dongdong Zhou ec139d726c
Utf8 utf16 (#1329)
* make utf8 utf16 convertion fall back in the middle of char

* fix test

* fix get editor from tab
2022-09-23 19:22:36 +01:00
Jakub Panek 6b3055b4da
fix: add svelte language_id 2022-09-23 16:17:55 +02:00
Jakub Panek 7c7ef50800 fix: replace lazy_static 2022-09-22 22:36:00 +02:00
Lukas Lihotzki a5477fb3ed feat: handle LSP ResourceOp 2022-09-22 01:51:45 +02:00
xiaoxin 11976fccfd
fix: Spelling mistake (#1285)
* fix: Spelling mistake

* fix: Spelling mistake

* fix: ClonableCallback Spelling mistake

* fix: Remove the warning

* fix: Recall ClonableCallback
2022-09-21 20:50:58 +01:00
Dongdong Zhou d2c6f66947
Merge pull request #1271 from MinusGix/psp-id-fix
Make PSP/LSP api use number and string identifiers
2022-09-20 21:20:41 +01:00
MinusGix 1bd5442282 Make PSP/LSP api use number and string identifiers 2022-09-19 13:06:49 -05:00
Chetan Vardhan 50c36a612a
Add language id for zig and elm languages 2022-09-19 17:14:24 +05:30
Maxim Leis 1e8f4ace59
Fix save-delay: Call callback of handle_server_request even though no plugins exist (#1265)
* fix save delay by calling the callback in handle_server_request even though no plugins exist

* satisfy clippy
2022-09-18 21:04:19 +01:00
Jakub Panek d990da2974 fix: dont lie to LSP, we didnt implement workspace/configuration 2022-09-18 15:13:00 +02:00
Dongdong Zhou ea8e7414f5 switch to document_selector for lsp 2022-09-14 21:34:49 +01:00
Dongdong Zhou 61f91c7635
Resize fix (#1189)
* resize fix and improvement

* hover hide improvement

* fix emoji

* fix lsp offset encoding

* fix redo

* fix text y offset

* insert/delete matching "/'

Fix #1098 #1031 #1033 #1166
2022-09-13 18:55:13 +01:00
Dongdong Zhou ca8872c28c
Merge pull request #1149 from bugadani/dirty
A bunch of tiny cleanups
2022-09-11 21:49:00 +01:00
Dániel Buga 0c0a37ab1c Don't unwrap the option 2022-09-11 20:17:22 +02:00
Dániel Buga 9565dc148e Only run command if file exists 2022-09-11 20:16:46 +02:00
Dániel Buga 3c3f2bfcdc Convert block comment 2022-09-11 20:15:55 +02:00
Dániel Buga 19e93fe7e6 Inline a few variables, remove explicit returns 2022-09-11 19:26:20 +02:00
Dániel Buga f195f25eed Remove load_rope 2022-09-11 19:23:29 +02:00
Jakub Panek 801571e08d fix: create directory tree before plugin download
Signed-off-by: Jakub Panek <me@panekj.dev>
2022-09-11 18:24:50 +02:00
Dániel Buga baa0e63bd0 Don't reexport contents of rope_text 2022-09-11 17:28:18 +02:00
Newbyte cd09309e34
Inline Flatpak-related functions 2022-09-11 10:01:03 +02:00
Newbyte ef7ac401c5
Check if flaptak-spawn --host works before attempting to use it
Users may have manually removed the org.freedestkop.Flatpak session
bus talk name from permissions, in which case flatpak-spawn --host
won't work.

Closes https://github.com/lapce/lapce/issues/1133
2022-09-11 10:00:47 +02:00
LunaTheFoxgirl ae45485a62 Add support for adding support for DLang LSPs 2022-09-10 19:31:30 +02:00
Dongdong Zhou 9bff49dd68
Merge pull request #1112 from panekj/fix/lowercase-filename
fix: lowercase filename when checking for language_id
2022-09-10 12:49:03 +01:00
Jakub Panek 980faad454 fix: add missing python file extensions
Signed-off-by: Jakub Panek <me@panekj.dev>
2022-09-10 11:59:12 +02:00
panekj f951f6248d fix: lowercase filename when checking for language_id 2022-09-09 23:43:16 +02:00