Comments (7)
If lsp-bridge calls elisp functions to Emacs, please use emacs -Q
and load only the lsp-bridge configuration for testing. I think it is your Emacs configuration that is affecting it, causing you to be unable to display the results returned by lsp-bridge in the minibuffer. information
from lsp-bridge.
xref and eldoc are synchronous. These two libraries do not support asynchronous calls. If lsp-bridge uses xref and eldoc, lsp-bridge will be stuck due to these two libraries. We have experimented before, and it greatly affects performance. So I finally deleted it。
from lsp-bridge.
I see. Is there any way that you know to show the function signature in the minibuffer (under modeling) when cursor is over for example the function name?
from lsp-bridge.
lsp-bridge-signature-show-function
from lsp-bridge.
Hey @manateelazycat , sorry to be persistent, I know you are a busy man
I tried setting lsp-bridge-signature-show-function
as the docs say but it doesn't show the signature
My config:
(use-package lsp-bridge
:after (evil)
:defines
lsp-bridge-show-documentation
lsp-bridge-signature-show-with-frame
:straight '(lsp-bridge :type git :host github :repo "manateelazycat/lsp-bridge"
:files (:defaults "*.el" "*.py" "acm" "core" "langserver" "multiserver" "resources")
:build (:not compile))
:init
(global-lsp-bridge-mode)
:config
(setq lsp-bridge-enable-hover-diagnostic t
acm-enable-doc t
acm-enable-doc-markdown-render t
lsp-bridge-enable-inlay-hint t
lsp-bridge-signature-show-function 'lsp-bridge-signature-show-with-frame)
:bind
(:map lsp-bridge-mode-map
("C-c c a" . lsp-bridge-code-action)
("C-c c r" . lsp-bridge-rename)
("C-c c f" . lsp-bridge-code-format))
:os/bind ((:map (lsp-bridge-mode-map . normal)
("gr" . lsp-bridge-find-references)
("gd" . lsp-bridge-find-def)
("K" . lsp-bridge-show-documentation))))
And when I inspect value for lsp-bridge-signature-show-function
it's defined correctly but nothing shows in the minibuffer.
Can you guide me in the correct direction here?
from lsp-bridge.
Actually, sorry, the correct function to display signature in minibuffer, is message
which is the default, however, when the point is over a symbol or function, the signature is not displayed in minibuffer even when lsp-bridge-signature-show-function
is message
I see lsp-bridge
does the correct request whenever I move cursor to a symbol
--- [09:20:06.562594] Send textDocument/signatureHelp request (25212) to 'typescript' for project SQ2020-Frontend
--- [09:20:06.563739] Recv textDocument/signatureHelp response (25212) from 'typescript' for project SQ2020-Frontend
--- [09:20:08.847370] Send textDocument/signatureHelp request (40425) to 'typescript' for project SQ2020-Frontend
--- [09:20:08.848998] Recv textDocument/signatureHelp response (40425) from 'typescript' for project SQ2020-Frontend
--- [09:20:12.129343] Send textDocument/signatureHelp request (34733) to 'typescript' for project SQ2020-Frontend
--- [09:20:12.131022] Recv textDocument/signatureHelp response (34733) from 'typescript' for project SQ2020-Frontend
--- [09:20:29.864978] Send textDocument/signatureHelp request (56025) to 'typescript' for project SQ2020-Frontend
--- [09:20:29.868687] Recv textDocument/signatureHelp response (56025) from 'typescript' for project SQ2020-Frontend
Any ideas?
from lsp-bridge.
Continued the discussion in #911 to avoid multiple topics here
from lsp-bridge.
Related Issues (20)
- Can we reduce the frequency of `redisplay` execution? HOT 4
- 开启lsp-bridge-semantic-tokens-mode 在clangd server C++代码中似乎并没有生效 HOT 8
- Idea: Support lsp progress? HOT 6
- lsp-bridge-copilot-login 无法登录 HOT 30
- elisp 开启lsp-bridge,跳转返回时,提示:[LSP-Bridge] No lsp-bridge mark set HOT 3
- code-action无法使用 HOT 1
- Lsp-bridge does not work on doom emacs HOT 3
- lsp-bridge-code-action does not get imports HOT 7
- Cannot start "deno lsp" HOT 7
- 使用lsp-bridge-semantic-tokens-global-scope-face后,C++中的宏和函数的颜色无法区分开 HOT 9
- Rust中函数名不显示 HOT 1
- C++自己写的头文件函数名不显示,标准库可以 HOT 6
- Incorrect response to `window/workDoneProgress/create` HOT 2
- paramiko.ssh_exception.PasswordRequiredException: Private key file is encrypted HOT 3
- 补全自动修改窗口位置 HOT 3
- `lsp-bridge` clogging `org-babel-tangle` when enabled HOT 2
- Dynamically set up `lsp-bridge-get-single-lang-server-by-project` HOT 3
- rust remote server 失败,可能是在远程主机没有启动 tabnine HOT 7
- react jsx 中不支持 tailwindcss HOT 3
- semantic-tokens 渲染modifiers时能否支持combine和override混用 HOT 7
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.