Comments (6)
I'll make it happen in a while. I've been a little too busy lately.
from lsp-bridge.
I have push c767902 to support workDoneProgress protocol.
Control by option acm-backend-lsp-show-progress , when acm-backend-lsp-show-progress is t, show progress in minibuffer.
I use my awesome-tray, not use modeline, any PR about modeline are welcome! ;)
from lsp-bridge.
Can you give me some code to test workDoneProgress? Thanks.
from lsp-bridge.
Can you give me some code to test workDoneProgress? Thanks.
You can try this rust repo:
git clone --depth=1 https://github.com/BurntSushi/ripgrep.git
from lsp-bridge.
Great job on implementing support for the workDoneProgress protocol! Thank you! 💙
I use my awesome-tray, not use modeline, any PR about modeline are welcome! ;)
Now I can use the following spinner characters to display the status of WorkDoneProgress in modeline:
;; spinner = {"⣾", "⣽", "⣻", "⢿", "⡿", "⣟", "⣯", "⣷"},
(defvar lsp-bridge--mode-line-spin-id 0)
(defvar lsp-bridge--spiners
;; '("⣾" "⣽" "⣻" "⢿" "⡿" "⣟" "⣯" "⣷")
'("▁" "▃" "▄" "▅" "▆" "▇" "█" "▇" "▆" "▅" "▄" "▃")
)
(defun lsp-bridge--mode-line-format ()
"Compose the LSP-bridge's mode-line."
(setq-local mode-face
(if (lsp-bridge-process-live-p)
'lsp-bridge-alive-mode-line
'lsp-bridge-kill-mode-line))
(when lsp-bridge-server
(propertize (format "lsp-bridge %s "
(nth lsp-bridge--mode-line-spin-id lsp-bridge--spiners)) 'face mode-face)))
(defun lsp-bridge--update-spin-id ()
(setq lsp-bridge--mode-line-spin-id
(mod (1+ lsp-bridge--mode-line-spin-id) (length lsp-bridge--spiners)))
(force-mode-line-update))
(run-with-timer 0 0.1 'lsp-bridge--update-spin-id)
The effect:
a.mp4
from lsp-bridge.
Enjoy it.
from lsp-bridge.
Related Issues (20)
- `lsp-bridge-find-def` with `pyright` takes to stub file (`.pyi`) instead of code (`.py`). HOT 1
- When I open the vue project, ts doesn't recognize my directory HOT 5
- vue模式下跳转定义文件,第二次就失败了 HOT 4
- Document how to use lsp-bridge with python installed via pyenv HOT 1
- An error occurred when I use lap-bridge to edit a file remotely HOT 4
- 使用最新代码(commitid: 1f47c8fb),js 无法补全 HOT 1
- 刚装上,同时出现了 YASnippet 和 lsp 的补全列表,怎么去选中 YASnippet 的候选项了 HOT 2
- Probably a typo in multiserver/qmlls_javascript.json HOT 1
- 一个小问题 HOT 2
- How can I detect if ACM menu is active when hitting Tab? HOT 2
- python 缩进问题 HOT 1
- volar [LSP-Bridge] Current server not support code action. HOT 1
- lsp-bridge-open-remote-file not working and all problems HOT 3
- lsp-bridge-peek-mode with errors HOT 3
- jdtls code action error, it cannot pop candidates. HOT 1
- Build a multi-thread backend for CAPF
- completion not working on windows with doomemacs HOT 2
- Submit to GNU ELPA HOT 1
- Rust mode does not show expected diagnostic info HOT 1
- Win10行安装后报错: No compression program defined HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsp-bridge.