Code Monkey home page Code Monkey logo

Comments (6)

jfcherng avatar jfcherng commented on September 15, 2024 1

You can sign in via the command palette.
https://github.com/TheSecEng/LSP-copilot/blob/ac4a8912f44a9fddd2dce548eb49bf666965b85f/Main.sublime-commands#L6-L9

from lsp-copilot.

jfcherng avatar jfcherng commented on September 15, 2024 1

Not sure why the log above would say I use ST 3

That means you migrate from ST 3. Without BC break, ST 4 has to look for ST 3's setting directory as a fallback if .../Library/Application Support/Sublime Text doesn't exist. You can manually rename it if you don't use ST 3 anymore.

from lsp-copilot.

smileBeda avatar smileBeda commented on September 15, 2024

Thanks @jfcherng - that did that trick, now it throws a new error:

[LSP-copilot] ✈ Copilot has been signed in.
failed to register session LSP-copilot to listener ViewListener(62)
Traceback (most recent call last):
  File ".../Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/core/windows.py", line 184, in _publish_sessions_to_listener_async
    listener.on_session_initialized_async(session)
  File ".../Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/documents.py", line 218, in on_session_initialized_async
    self._session_views[session.config.name] = SessionView(self, session, self._uri)
  File ".../Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/session_view.py", line 53, in __init__
    session_buffer = SessionBuffer(self, buffer_id, uri)
  File ".../Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/session_buffer.py", line 113, in __init__
    self._check_did_open(view)
  File ".../Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/session_buffer.py", line 142, in _check_did_open
    self.session.send_notification(did_open(view, language_id))
  File ".../Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/core/views.py", line 387, in did_open
    return Notification.didOpen(did_open_text_document_params(view, language_id))
  File ".../Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/core/views.py", line 340, in did_open_text_document_params
    return {"textDocument": text_document_item(view, language_id)}
  File ".../Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/core/views.py", line 315, in text_document_item
    "uri": uri_from_view(view),
  File ".../Library/Application Support/Sublime Text 3/Installed Packages/LSP.sublime-package/plugin/core/views.py", line 283, in uri_from_view
    raise MissingUriError(view.id())
LSP.plugin.core.views.MissingUriError: View 62 has no URI

This seems to be due to some configuration missing, but I wouldn't know what?

from lsp-copilot.

jfcherng avatar jfcherng commented on September 15, 2024

If you are using ST 3, I don't think we support it since we are using things from LSP for ST 4.

from lsp-copilot.

smileBeda avatar smileBeda commented on September 15, 2024

Actually I got it working now.
Well, apart of PHP files, lol - which is the one I'd use it for.

ST 4?
I do not get any notification of any update :(

I have build 4126, and that is the last one:
https://www.sublimetext.com/download
Screenshot 2022-07-16 at 11 03 23

Not sure why the log above would say I use ST 3

Thanks!

from lsp-copilot.

jfcherng avatar jfcherng commented on September 15, 2024

Closed as resolved.

from lsp-copilot.

Related Issues (20)

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.