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

Add LSP-basedpyright #113

Merged

Conversation

jfcherng
Copy link
Contributor

Copy link

@STReviewBot STReviewBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated testing result: ERROR

Repo link: LSP-basedpyright
Results help

Packages added:
  - LSP-basedpyright

Processing package "LSP-basedpyright"
  - ERROR: No valid semver tags found at https://github.com/sublimelsp/LSP-basedpyright/tags for the package "LSP-basedpyright".

@jfcherng jfcherng force-pushed the feat/lsp-basedpyright branch from 2a4c9b2 to 4f39f20 Compare March 29, 2024 14:28
Copy link

@STReviewBot STReviewBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated testing result: ERROR

Repo link: LSP-basedpyright
Results help

Packages added:
  - LSP-basedpyright

Processing package "LSP-basedpyright"
  - ERROR: Calling unsafe method 'packages_path' of sublime module when API may not have been initialized
    - File: plugin.py
    - Line: 17, Column: 20
  - ERROR: File 'messages/1.1.68.md', as specified by key '1.1.68', does not exist
    - File: messages.json
  - WARNING: It looks like you're using platform-dependent code. Make sure you thought about the platform key in your pull request.
    - File: plugin.py
    - Line: 32, Column: 8
  - WARNING: It looks like you're using platform-dependent code. Make sure you thought about the platform key in your pull request.
    - File: plugin.py
    - Line: 222, Column: 16
  - WARNING: Command class 'LspBasedpyrightCreateConfiguration' does not end with 'Command'
    - File: commands.py
    - Line: 16, Column: 1

@jfcherng jfcherng force-pushed the feat/lsp-basedpyright branch from 4f39f20 to 4d29544 Compare March 29, 2024 14:34
Signed-off-by: Jack Cherng <[email protected]>
Copy link

@STReviewBot STReviewBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated testing result: ERROR

Repo link: LSP-basedpyright
Results help

Packages added:
  - LSP-basedpyright

Processing package "LSP-basedpyright"
  - ERROR: Calling unsafe method 'packages_path' of sublime module when API may not have been initialized
    - File: plugin.py
    - Line: 16, Column: 20
  - WARNING: It looks like you're using platform-dependent code. Make sure you thought about the platform key in your pull request.
    - File: plugin.py
    - Line: 28, Column: 8
  - WARNING: It looks like you're using platform-dependent code. Make sure you thought about the platform key in your pull request.
    - File: plugin.py
    - Line: 218, Column: 16

@jfcherng
Copy link
Contributor Author

jfcherng commented Mar 29, 2024

As per ST API docs, sublime.packages_path() can be used at anytime as of ST 4081, and this plugin targets on ST >= 4148 (copied from LSP-pyright).

@predragnikolic predragnikolic merged commit 957f410 into sublimelsp:main Mar 29, 2024
1 check passed
@jfcherng jfcherng deleted the feat/lsp-basedpyright branch March 29, 2024 14:44
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

Successfully merging this pull request may close these issues.

3 participants