Comments (3)
i started over and created a clean reproduction of the error:
i am typing func for function check the popup and
select the "func" option.
after the selection from the menu starts a snippet out of the full stacktrace
in the snippet i type in the function name "hello", followed by the parentheses. as first argument i intent to write out "name", but at the second char ("na") the error pops off.
in the end it looks like this:
func hello(na)
^ -->> Error pops off after typing "a"
i included a follow up request for code completion, including context, in the stacktrace and the empty response thereafter.
it seems after the return message "request cancelled" with the code "-32800" the process sourcekit-lsp only provides empty responses.
this is accredited with the following error message out of stderr
2021-07-21 02:46:22.001 sourcekit-lsp[47:a15a5700] triggerFromIncompleteCompletions with incompatible completion session; expected DocumentURI(storage: \url{file:///work/cards/service/test/Sources/test/main.swift})@29, but got DocumentURI(storage: \url{file:///work/cards/service/test/Sources/test/main.swift})@35
the full stacktrace is to be found here:
https://termbin.com/0x2n
from lsp-sourcekit.
my assumption grows the responsibility relies on the client side for this behavior.
here is a backtrace:
https://termbin.com/5dkr
from lsp-sourcekit.
opened an issue on lsp-mode
emacs-lsp/lsp-mode#3028
from lsp-sourcekit.
Related Issues (13)
- Add lsp-sourcekit to MELPA HOT 2
- Emacs 25 incompatibility HOT 2
- no such module 'UIKit' HOT 2
- lsp-sourcekit can't get complete candidates HOT 8
- Example of working config? HOT 2
- Seems to be leaving red error indicators in the fringes of my markdown files.
- "could not open compilation database for /path/to/Foo.swift" HOT 2
- Error during redisplay: (eval (lsp-mode-line)) signaled (wrong-type-argument lsp--workspace nil) [6 times] HOT 5
- Configuration Help HOT 3
- Lagging interface with company-mode HOT 6
- lisp-sourcekit doesn't support LSP server of Xcode 11.4 HOT 2
- No completion on basic SPM project (Xcode 12 beta) HOT 10
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-sourcekit.