Comments (3)
请检查
Line 558 in d491564
from lsp-bridge.
(when (cl-every (lambda (pred)
(if (functionp pred) (funcall pred) t))
lsp-bridge-completion-popup-predicates)
(lsp-bridge-update-candidates))
lsp-bridge-completion-popup-predicates 里的几个断言都是通过了,直接运行上述代码是可以弹出补全窗口的。
看来是 python 代码,没有调用 lsp-bridge-record-completion-items
这个代码。
看 lsp-bridge 的日志,我这边,只有没有输入任何字母时,lsp 有返回 Completion items。当有输入了某个前缀,例如 he
Completion items 返回是 0
--- Completion items number: 48 //当不输入字母前缀,或者输入 '.' 等特殊符号,有items
--- Completion items number: 0 // 当输入普通字母,如 'he' 没有补全 items
不知道是不是 gopls 是不是有问题。
from lsp-bridge.
打开,(setq lsp-bridge-enable-log t)
定位到问题:
应该是 gopls 的使用问题。需要首先创建一个 go module 才能正常的进行代码补全。
go mod init example.com/hello
from lsp-bridge.
Related Issues (20)
- lsp-bridge 不停地启动服务 HOT 6
- no candidate popup shows up HOT 2
- how to disable status line on hover doc HOT 2
- Are there any plans to separate the python LSP client into a library? HOT 2
- Code lens support HOT 3
- Support passing environment onto lsp server HOT 4
- README need update: vue server @volar/vue-language-server has been renamed to @vue/language-server
- error when start vscode-eslint-language-server.
- lsp-bridge-find-def 能不能检查隔壁的窗口就是要跳转的目标窗口? HOT 2
- lsp-bridge-popup-documentation 只显示部分文档 HOT 1
- Windows安装的python不一定含有python3.exe HOT 1
- Way to use tabnine as the default language server for all supported files? HOT 7
- Typescript/eslint help please HOT 5
- 如何在编辑本地文件的同时使用远程lsp server? HOT 2
- ruff执行参数报错 HOT 1
- flutter 能支持在widget定义后面添加widget名称吗? HOT 12
- TypeError("unhashable type: 'list'") when opening file with recentf HOT 16
- Huge memory consumption when doing package upgrade HOT 8
- Javascript react completions stop working; Error: missing 1 required positional argument: 'version' HOT 6
- Symbol('sequencep') rust 补全显示失败 HOT 9
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.