Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1. Add the core setting auto_reload_plugin: Enable auto-reload for th… #143

Open
wants to merge 69 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
cab5dde
relase 0.4.1
dzhou121 Aug 7, 2024
36bebb6
add markup syntax color for markdown
dzhou121 Aug 8, 2024
7c3405c
just language configurations
dzhou121 Aug 8, 2024
e45e292
Avoid overflow. (#3420)
jm-observer Aug 9, 2024
08222a7
Implement feature "Run in Terminal" (#3419)
jm-observer Aug 9, 2024
48d09de
Fix pointer down on window message
dzhou121 Aug 9, 2024
be4b268
update changelog
dzhou121 Aug 9, 2024
8d63ee7
implement on screen find
dzhou121 Aug 9, 2024
082f63e
Filter out code-len without commands. (#3427)
jm-observer Aug 12, 2024
bb3709d
Implement 'Go To Location' functionality in the Diff editor. (#3426)
jm-observer Aug 12, 2024
0bbb901
implement document symbol (#3425)
jm-observer Aug 12, 2024
8efe4bb
change some panel icons
dzhou121 Aug 12, 2024
06c5174
update CHANGELOG
dzhou121 Aug 12, 2024
b9062c0
make file explorer horizontal scrollable
dzhou121 Aug 12, 2024
3dd37e7
scroll style fix
dzhou121 Aug 12, 2024
e95283f
A few style tweaks
dzhou121 Aug 13, 2024
74faab5
Implement a selection visual effect in the File Explorer. (#3434)
jm-observer Aug 13, 2024
5f58268
reveal file in explorer centered
dzhou121 Aug 13, 2024
81f3838
By default, open the parent directory. (#3439)
jm-observer Aug 14, 2024
1f22a05
add "Reveal in File Explorer" to right_click of editor (#3437)
jm-observer Aug 14, 2024
9ca4a99
some style changes
dzhou121 Aug 14, 2024
30ebe95
bump to latest floem
dzhou121 Aug 21, 2024
1595829
bump floem to fix panic
dzhou121 Aug 22, 2024
8047100
only cancel completion popup if scrolled vertically
dzhou121 Aug 23, 2024
b618c25
update CHANGELOG
dzhou121 Aug 24, 2024
76ed075
bump version to 0.4.2
dzhou121 Aug 24, 2024
5f07fc3
about dap: (#3456)
jm-observer Aug 27, 2024
a983f0b
The double-click event restriction only takes effect at the top of th…
jm-observer Aug 27, 2024
c88a8a0
support codeLens/resolve of lsp (#3458)
jm-observer Aug 29, 2024
f690ea7
Ensure the line height is not too small. (#3459)
jm-observer Sep 1, 2024
31178fd
implement "Open in GitHub" command (#3440)
jm-observer Sep 1, 2024
3125034
Closing a terminal tab should also close the underlying terminal. (#3…
jm-observer Sep 1, 2024
0adf2b3
1. Add `repeat` field to filter out long press (#3462)
jm-observer Sep 1, 2024
840b915
only modifiers keys can't repeat
dzhou121 Sep 3, 2024
81333eb
add error log (#3466)
jm-observer Sep 5, 2024
2815e17
1. add some error log for lapce-app (#3467)
jm-observer Sep 5, 2024
a239243
1. add another error log for lapce-app (#3468)
jm-observer Sep 5, 2024
3ff7ba9
1. add error log for lapce-core (#3469)
jm-observer Sep 5, 2024
35c5ff4
1. add error log for lapce-rpc (#3470)
jm-observer Sep 5, 2024
0403fb2
1. When closing a debug task, a stop request should be sent to the DA…
jm-observer Sep 5, 2024
ef65fa6
1. add error logging (#3474)
jm-observer Sep 5, 2024
dcc179e
Set the Palette to default to the Help Palette. (#3463)
jm-observer Sep 6, 2024
f6ff3aa
1. When receiving a DapStopped event, display the Debug panel. (#3476)
jm-observer Sep 6, 2024
ad3c7e0
add some error logging (#3478)
jm-observer Sep 6, 2024
6f62914
some improvements on palette help and file
dzhou121 Sep 7, 2024
fc021a6
Supports tracing the output of the task. (#3480)
jm-observer Sep 9, 2024
88028d5
When running a task, display the terminal(debug) panel (#3481)
jm-observer Sep 9, 2024
0e55cc4
Implement the LSP implementation method. (#3483)
jm-observer Sep 9, 2024
d3c87bf
1. Preliminary implementation of the "Find References" panel (#3484)
jm-observer Sep 10, 2024
29e7c3e
1. Add a default position. (#3486)
jm-observer Sep 10, 2024
debfbc4
1. Add the editor setting completion_item_show_detail. (#3489)
jm-observer Sep 11, 2024
690339f
1. Preliminary implementation of the "Go to Implementation" panel (#3…
jm-observer Sep 11, 2024
a2869a4
1. Add the editor setting completion_width. (#3491)
jm-observer Sep 11, 2024
001d766
1. Preliminary implementation of the "Go to Implementation" panel (#3…
jm-observer Sep 11, 2024
b8772ca
1. show message "Debugger not found. Please install the appropriate p…
jm-observer Sep 12, 2024
b09ed0a
optimize some logs (#3497)
jm-observer Sep 12, 2024
513be43
Update release.yml (#3495)
pauloxnet Sep 13, 2024
eafaa13
Fix loading the shell environment in Windows. (#3499)
jm-observer Sep 13, 2024
351cfa6
1. Add the field 'config_source' to 'RunDebugConfig' to indicate wher…
jm-observer Sep 13, 2024
2b8bc95
1. Add the editor setting disable_single_click: Disable single-click …
jm-observer Sep 16, 2024
ce154ce
Right click (#3496)
jm-observer Sep 16, 2024
a84ea98
1. reload the configuration when restarting a task from palette (#3501)
jm-observer Sep 16, 2024
2773c5c
Fix the issue where commands without a keymap would disappear. (#3504)
jm-observer Sep 16, 2024
0115151
Reimplement the functionality to capture terminal output. (#3506)
jm-observer Sep 16, 2024
e69729e
Add the 'references_resolve' method to the proxy. (#3507)
jm-observer Sep 16, 2024
b0ea448
Optimize the display of implementations (#3509)
jm-observer Sep 18, 2024
cfb7d20
Add thread names for easier tracking and troubleshooting. (#3510)
jm-observer Sep 18, 2024
18b1a70
1. Sending the 'UpdatePluginConfigs' proxy notification when the plug…
jm-observer Sep 18, 2024
b23ce61
1. Add the core setting auto_reload_plugin: Enable auto-reload for th…
jm-observer Sep 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ jobs:
os-version: lunar
- os-name: ubuntu
os-version: mantic
# - os-name: ubuntu
# os-version: noble
- os-name: ubuntu
os-version: noble
steps:
- uses: actions/checkout@v4

Expand Down
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

## Unreleased

### Features/Changes

- Add Ubuntu 24.04 LTS (noble) build

### Bug Fixes

## 0.4.2

### Features/Changes
- Implement "Run in terminal"
- Implement document symbols in a panel
- Implement "Go To Location" functionality in the Diff editor.
- Implement on screen find which is similar to `f` in vim but for the whole screen.
- Make file explorer horizontal scrollable
- Implement "Reveal in system file explorer"

### Bug Fixes
- Fix markdown syntax highlighting
- Fix click issue on window error message

## 0.4.1

### Features/Changes
- Add fedora builds
- Finish tree sitter dynamic libary support by downloading from https://github.com/lapce/tree-sitter-grammars
Expand Down
26 changes: 12 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ path = "lapce-proxy/src/bin/lapce-proxy.rs"
members = ["lapce-app", "lapce-proxy", "lapce-rpc", "lapce-core"]

[workspace.package]
version = "0.4.0"
version = "0.4.2"
edition = "2021"
rust-version = "1.77.0"
license = "Apache-2.0"
Expand Down Expand Up @@ -76,9 +76,9 @@ lapce-core = { path = "./lapce-core" }
lapce-rpc = { path = "./lapce-rpc" }
lapce-proxy = { path = "./lapce-proxy" }

floem = { git = "https://github.com/lapce/floem", rev = "54f0d1bcf0e1a91d82492ee7300a526adb60eb5c", features = ["editor", "serde", "default-image-formats", "rfd-async-std"] }
floem = { git = "https://github.com/lapce/floem", rev = "157631a49d6ba13a3467dcb994eb46a98c52eb76", features = ["editor", "serde", "default-image-formats", "rfd-async-std"] }
# floem = { path = "../floem", features = ["editor", "serde", "default-image-formats", "rfd-async-std"] }
floem-editor-core = { git = "https://github.com/lapce/floem", rev = "54f0d1bcf0e1a91d82492ee7300a526adb60eb5c", features = ["serde"] }
floem-editor-core = { git = "https://github.com/lapce/floem", rev = "157631a49d6ba13a3467dcb994eb46a98c52eb76", features = ["serde"] }
# floem-editor-core = { path = "../floem/editor-core/", features = ["serde"] }

[patch.crates-io]
Expand Down
8 changes: 8 additions & 0 deletions defaults/dark-theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ dim-text = "#5C6370"
"variable.other.member" = "$red"
"tag" = "$blue"

"markup.heading" = "$red"
"markup.bold" = "$orange"
"markup.italic" = "$orange"
"markup.list" = "$orange"
"markup.link.url" = "$blue"
"markup.link.label" = "$purple"
"markup.link.text" = "$purple"

"bracket.color.1" = "$blue"
"bracket.color.2" = "$yellow"
"bracket.color.3" = "$purple"
Expand Down
2 changes: 2 additions & 0 deletions defaults/icon-theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ name = "Lapce Codicons"
"keyboard" = "keyboard.svg"
"breadcrumb_separator" = "chevron-right.svg"
"symbol_color" = "symbol-color.svg"
"type_hierarchy" = "type-hierarchy.svg"

"window.close" = "chrome-close.svg"
"window.restore" = "chrome-restore.svg"
Expand Down Expand Up @@ -103,6 +104,7 @@ name = "Lapce Codicons"
"search.replace" = "replace.svg"
"search.replace_all" = "replace-all.svg"

"document_symbol" = "symbol-class.svg"
"symbol_kind.array" = "symbol-array.svg"
"symbol_kind.boolean" = "symbol-boolean.svg"
"symbol_kind.class" = "symbol-class.svg"
Expand Down
8 changes: 8 additions & 0 deletions defaults/light-theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,14 @@ dim-text = "#A0A1A7"
"variable.other.member" = "$red"
"tag" = "$blue"

"markup.heading" = "$red"
"markup.bold" = "$orange"
"markup.italic" = "$orange"
"markup.list" = "$orange"
"markup.link.url" = "$blue"
"markup.link.label" = "$purple"
"markup.link.text" = "$purple"

"bracket.color.1" = "$blue"
"bracket.color.2" = "$yellow"
"bracket.color.3" = "$purple"
Expand Down
4 changes: 4 additions & 0 deletions defaults/settings.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ modal = false
color-theme = "Lapce Dark"
icon-theme = "Lapce Codicons"
custom-titlebar = true
file-exploerer-double-click = false
auto-reload-plugin = false

[editor]
font-family = "monospace"
Expand All @@ -21,7 +23,9 @@ wrap-style = "editor-width"
wrap-column = 80
wrap-width = 600 # px
sticky-header = true
completion-width = 600
completion-show-documentation = true
completion-item-show-detail = false
show-signature = true
signature-label-code-block = true
auto-closing-matching-pairs = true
Expand Down
2 changes: 1 addition & 1 deletion extra/linux/dev.lapce.lapce.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
</screenshot>
</screenshots>
<releases>
<release version="0.4.0" date="2024-04-24"/>
<release version="0.4.2" date="2024-08-07"/>
</releases>
</component>
2 changes: 1 addition & 1 deletion extra/macos/Lapce.app/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.4.0</string>
<string>0.4.2</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
Expand Down
2 changes: 1 addition & 1 deletion extra/windows/wix/lapce.wxs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="windows-1252"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Product Name="Lapce" Id="*" UpgradeCode="9c09a374-1135-4782-959f-2dec376a1dfa" Language="1033" Codepage="1252" Version="0.4.0" Manufacturer="Lapce">
<Product Name="Lapce" Id="*" UpgradeCode="9c09a374-1135-4782-959f-2dec376a1dfa" Language="1033" Codepage="1252" Version="0.4.2" Manufacturer="Lapce">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine"/>
<MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A newer version of [ProductName] is already installed."/>
<Icon Id="lapce.exe" SourceFile=".\extra\windows\lapce.ico"/>
Expand Down
1 change: 1 addition & 0 deletions icons/codicons/type-hierarchy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion lapce-app/src/about.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::rc::Rc;
use floem::{
event::EventListener,
keyboard::Modifiers,
reactive::{RwSignal, Scope},
reactive::{RwSignal, Scope, SignalGet, SignalUpdate},
style::{CursorStyle, Display, Position},
views::{container, label, stack, svg, Decorators},
View,
Expand Down
2 changes: 1 addition & 1 deletion lapce-app/src/alert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::{

use floem::{
event::EventListener,
reactive::{ReadSignal, RwSignal, Scope},
reactive::{ReadSignal, RwSignal, Scope, SignalGet, SignalUpdate},
style::CursorStyle,
views::{container, dyn_stack, label, stack, svg, Decorators},
View,
Expand Down
Loading