Comments (7)
which language? have test code?
from lsp-bridge.
which language? have test code?
its in every rust project that I have on.
one example would be having a rust file with a few functions and then trying to auto-import them using lsp-bridge-code-actions
just like I can with lsp-execute-code-actions
from lsp-bridge.
I rechecked and found that the auto import function is available in languages similar to TypeScript. The main source code is
Line 257 in 471012f
I also checked Rust’s LSP Server. Currently, it seems that Rust LSP Server does not support the auto-import function: rust-lang/rust-analyzer#12761
If other Emacs LSP Clients support the auto-import function, please give me feedback.
from lsp-bridge.
I rechecked and found that the auto import function is available in languages similar to TypeScript. The main source code is
Line 257 in 471012f
.organizeImports option to control.I also checked Rust’s LSP Server. Currently, it seems that Rust LSP Server does not support the auto-import function: rust-lang/rust-analyzer#12761
If other Emacs LSP Clients support the auto-import function, please give me feedback.
lsp-mode
in Doom emacs when calling the function lsp-execute-code-actions
lets me import missing imports by choosing from a selection within a pop-up buffer.
I am not sure why you cannot do this.
from lsp-bridge.
I am not sure why you cannot do this.
This is a personal open source project that does not charge users any fees. Why do you think it is natural for others to fix issues? Can't you maintain a little respect for others?
from lsp-bridge.
I am not sure why you cannot do this.
This is a personal open source project that does not charge users any fees. Why do you think it is natural for others to fix issues? Can't you maintain a little respect for others?
I highlighted an issue, provided more information as requested and you flip out?
I genuinely don't understand your behaviour.
When I said I am not sure why you cannot do this.
I literally mean what is the blocker.
If you do not want to do so or can't be bothered that's fine its your project.
from lsp-bridge.
@hhamud
I'm sorry. I believe this is a misunderstanding between languages. In the Chinese context, I am not sure why you cannot do this
means why lsp-mode can do it but lsp-bridge cannot. Yes, it's a bit provocative.
If lsp-mode works, can you send me the LSP logs that lsp-mode sends to the rust lsp server? I can study the logs to analyze what lsp-bridge is missing that causes the auto import function to be unavailable.
Apologize again
from lsp-bridge.
Related Issues (20)
- Pop up buffer stuck on screen HOT 3
- No signature help when using lsp-bridge within org babel source block HOT 3
- Using eldoc & xref for finding references & showing function signature HOT 7
- LSP signature help does not display for most symbols, only when point is inside function parameters [Typescript] HOT 1
- AttributeError: 'NoneType' object has no attribute 'strip' HOT 3
- 安装说明中是否可以增加spacemacs? HOT 2
- acm popup menu not align well with cursor on KDE plasma 6 wayland HOT 5
- 提供选中区域格式化的功能 HOT 9
- 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
- Cannot start "deno lsp" HOT 7
- 使用lsp-bridge-semantic-tokens-global-scope-face后,C++中的宏和函数的颜色无法区分开 HOT 9
- Rust中函数名不显示 HOT 1
- C++自己写的头文件函数名不显示,标准库可以 HOT 6
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.