Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSP-rust-analyzer asks to install Terminus package even though it is already installed #129

Closed
opedro-c opened this issue May 3, 2024 · 5 comments

Comments

@opedro-c
Copy link

opedro-c commented May 3, 2024

Hi, I'm trying to run my code through the run button placed on the main function declaration line. However, when I click on it, I'm asked to install the Terminus plugin, but when I verified it was already installed.
If you need anymore details I'm glad to share it.
image
image

@rwols
Copy link
Member

rwols commented May 3, 2024

Most likely the logic for terminus doesn’t work anymore since updating to py 3.8

@Levitanus
Copy link

Levitanus commented May 3, 2024

I've checked. At the moment everything works, if turn the test for importing terminus off. Needed the new way to check its availability. As hotfix just comment the lines 98-101:

    if not Terminus:
        sublime.error_message(
            'Cannot run executable. You need to install the "Terminus" package and then restart Sublime Text')
        return

@WZ-Tong
Copy link

WZ-Tong commented May 22, 2024

Another workaround (I think will be better):

  1. Package control: Add repository
  2. Add terminus's git repo (https://github.com/randy3k/Terminus/)
  3. Uninstall && Re-install terminus

This will force terminus's version keeps the same with github rather than packagecontrol.io

@opedro-c
Copy link
Author

opedro-c commented Jun 12, 2024

Another workaround (I think will be better):

1. Package control: Add repository

2. Add terminus's git repo (`https://github.com/randy3k/Terminus/`)

3. Uninstall && Re-install terminus

This will force terminus's version keeps the same with github rather than packagecontrol.io

@WZ-Tong Thank you so much! It worked like a charm

@predragnikolic
Copy link
Member

Terminus latest release does support 3.8 since August (so the workaround is unnecessary) -> randy3k/Terminus#421 (comment)

So the issue can be closed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants