question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

isort over Language Server Protocol and VS Code extension

See original GitHub issue

The Python team for VS Code has been working on putting various tools we support behind LSP and breaking them out into their own extensions This work is now far enough along that we wanted to share the extension prototypes for your tool with you and see if you had any interest in owning the extension or the Python-based LSP server backing it yourself?

If you don’t want to take on that responsibility that’s totally fine and understandable! If you want to leave the extension to us, then we would publish the extension on the VS Code Marketplace ourselves. We also plan to publish the extension as open source and support the extension for as long as we felt it made sense based on usage numbers. But due to the difficulty of migrating extension ownership, we wanted to ask early whether you wanted to own the extension from the start? If you did want to own the extension we would give you the code, help you publish to the VS Code Marketplace, and do anything else we can to help you be successful with this.

We have attached a zip file to this issue containing a prototype extension to give you an idea of what we are planning. You can download it, extract the .vsix file, and then install the VSIX to try it out python-isort.zip. This prototype version was built with python 3.10 and bundles isort v5.10.1 (as fallback if nothing is found in your environment).

To be very clear, there’s no pressure or expectations from us. We just want to make sure you as a project had an opportunity to own this extension instead of us from the get-go before the extension gained traction.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
karthiknadigcommented, Apr 21, 2022

If you use the pre-release version of the python extension it detects if there isort extension and disables its own import sorting.

0reactions
markusddcommented, Apr 21, 2022

works like a charm! Thanks a lot, really looking forward to the release.

By the way, is there already a change-ticket for the python extension removing i-sorting from there? because each time on saving it still produces this error message in conjunction with .venvs that we talked about in another ticket.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Language Server Extension Guide - Visual Studio Code
Learn how to create Language Servers to provide rich language features in Visual Studio Code.
Read more >
Import sorting extension for Visual Studio Code using isort
A Visual Studio Code extension that provides import sorting using isort . The extension ships with isort=5.10.1 . Note: This extension is supported...
Read more >
October 2022 - Visual Studio Code
Migration to isort extension​​ In our May 2022 release, we announced a new isort extension that works alongside the Python extension to sort...
Read more >
Python Extension Template - Visual Studio Code
The extension template has two parts, the extension part and language server part. The extension part is written in TypeScript, and language ......
Read more >
Common Language Server Protocol - Visual Studio Code
Between languages bundled in the tool or extensions in the Marketplace, we have support for over 150 languages.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found