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)
- react jsx 中不支持 tailwindcss HOT 3
- semantic-tokens 渲染modifiers时能否支持combine和override混用 HOT 7
- 调用 multi-server-function的时候,如果当前project 没有git init,则会报错,建议设置当前目录作为缺省值并且打印message提醒一下用户 HOT 1
- `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
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.