Comments (19)
再更新一下吧。
from lsp-bridge.
能说一下重现步骤吗?我可能要到周末才有时间看呢
from lsp-bridge.
使用 emacs -q
debug,然后正常地把 lsp-bridge
导入,此时在 Elisp
文件中启用 lsp-bridge-mode
,就会在 *lsp-bridge*
这个 buffer 中出现以上提到的字段信息,同时补全弹窗没有正常出现。
from lsp-bridge.
你尝试按照 README 的方式使用 (global-lsp-bridge-mode) 了吗?
from lsp-bridge.
试了也不行,global-lsp-bridge-mode
也会报错;另外,发现如果只是出现search_list error: elisp not exist in backend_dict.
这个信息会大概率出现,如果出现了,补全弹窗是不会弹出的;ERROR:epc:ReturnError([Symbol('wrong-type-argument'), Symbol('stringp'), []])
这个信息必出现。
from lsp-bridge.
This message will appear with a high probability. If it does, the completion pop-up window will not pop up;
ERROR:epc:ReturnError([Symbol('wrong-type-argument'), Symbol('stringp'), []])
This message must appear.
I'm having the same issue here #787
from lsp-bridge.
试了也不行,
global-lsp-bridge-mode
也会报错;另外,发现如果只是出现search_list error: elisp not exist in backend_dict.
这个信息会大概率出现,如果出现了,补全弹窗是不会弹出的;ERROR:epc:ReturnError([Symbol('wrong-type-argument'), Symbol('stringp'), []])
这个信息必出现。
更新到最新版再尝试一下。
from lsp-bridge.
刚刚拉取了最新版,这些报错照常出现。
from lsp-bridge.
使用
emacs -q
debug,然后正常地把lsp-bridge
导入,此时在Elisp
文件中启用lsp-bridge-mode
,就会在*lsp-bridge*
这个 buffer 中出现以上提到的字段信息,同时补全弹窗没有正常出现。
为什么要在 elisp 中开启 lsp-bridge-mode?
(global-lsp-bridge-mode) 这个函数会在 elisp 文件中自动打开 lsp-bridge.
from lsp-bridge.
你是怎么安装 lsp-bridge 的? git clone 还是其他方式?
from lsp-bridge.
我是通过 git clone
安装 lsp-bridge 这个包的,我配置文件中使用的是 (global-lsp-bridge-mode)
启用 lsp-bridge 的。
from lsp-bridge.
使用
emacs -q
debug,然后正常地把lsp-bridge
导入,此时在Elisp
文件中启用lsp-bridge-mode
,就会在*lsp-bridge*
这个 buffer 中出现以上提到的字段信息,同时补全弹窗没有正常出现。为什么要在 elisp 中开启 lsp-bridge-mode?
(global-lsp-bridge-mode) 这个函数会在 elisp 文件中自动打开 lsp-bridge.
之前测试时没有用 (global-lsp-bridge-mode)
这个函数,而是直接在 Elisp 文件中使用 lsp-bridge-mode
启用,不过这次测试使用了 (global-lsp-bridge-mode)
报错。
from lsp-bridge.
我目前没法重现,如果有更多线索欢迎提供
from lsp-bridge.
应该是调用
Line 1559 in 1b3b50e
lsp-bridge/core/search_list.py
Line 47 in 1b3b50e
在
lsp-bridge/core/search_list.py
Line 47 in 1b3b50e
如果出现 elisp 不在字典中的情况, 应该是
Line 1548 in 1b3b50e
你可以在
Line 1541 in 1b3b50e
from lsp-bridge.
定位到问题了,是在 lsp-bridge.el
的 1579 行,(buffer-list)
返回的 buffer
可以不存在 buffer-file-name
,如果使用 substring-no-properties
处理这个 nil
会报错,我修改这个后,报错不出现了,也能正常工作了。
from lsp-bridge.
抱歉,不会像你一样引用文件具体的位置,只能这么描述了。
from lsp-bridge.
最新版我修复了其他issue类似问题,可以更新最新版试一下吗
from lsp-bridge.
已经更新最新版,发现你也注意到类似的问题了,但是上面提到的位置没有修复 buffer-file-name
这个问题,所以还是报错。
from lsp-bridge.
问题完全解决,感谢。
from lsp-bridge.
Related Issues (20)
- 请教如果想在其他地方使用补全怎么实现 HOT 1
- How can i make it work with emacs-direnv? HOT 1
- org-mode source block, manually complete not work , although auto pop up menu completion working HOT 11
- Orderless causes (wrong-type-argument stringp (seq (group 100))) HOT 1
- psearch-replace 导致 wrong-type-argument lsp-bridge-epc-manager nil ? HOT 2
- 执行 lsp-bridge-workspace-list-symbols 报错 HOT 4
- LSP Tailwind fails HOT 10
- Using it in terminal HOT 1
- Is it possible to use ACM with Orderless component separator like in Corfu? HOT 1
- lsp-bridge-workspace-list-symbols 查询结果集,如果是以 jdt:// 开始,无法正常跳转 HOT 7
- 补全消失 HOT 39
- (redisplay t) is consuming lots of cpu HOT 1
- Question: lsp-bridge-workspace-list-symbols can find the symbol, but lsp-bridge-find-def does not HOT 4
- 在latex启动lsp-bridge-mode后只能补全yasnippet中的模板,不能连接latex lsp服务器 HOT 2
- lsp-bridge-find-def not working with remote HOT 5
- Inlay hints HOT 8
- outdated diagnostic HOT 4
- 能加入mojo支持吗? HOT 8
- enabling lsp-bridge breaks syntax highlighting HOT 3
- I found how to fix Tailwindcss HOT 30
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.