GithubHelp home page GithubHelp logo

Comments (3)

wibed avatar wibed commented on June 4, 2024

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

https://termbin.com/kwyw

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.

wibed avatar wibed commented on June 4, 2024

my assumption grows the responsibility relies on the client side for this behavior.
here is a backtrace:
https://termbin.com/5dkr

from lsp-sourcekit.

wibed avatar wibed commented on June 4, 2024

opened an issue on lsp-mode
emacs-lsp/lsp-mode#3028

from lsp-sourcekit.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.