VSCode extension to sort and refactor python imports using reorder-python-imports.

Overview

reorder-python-imports

VSCode extension to sort and refactor python imports using reorder-python-imports.

Unlike other import organizers, reorder-python-imports focuses on reducing the frequency of merge conflicts, using static analysis to avoid the need for an active venv, and providing better better compatibility with pre-commit and black.

To learn more, visit the original tool's homepage.

Features

Refactoring the imports is provided as a code action, which can be invoked by right clicking on the code or the lightbulb icon and selecting Reorder Imports, or selecting Python Refactor: Reorder Imports from the command palette.

Example usage from context menu

Settings

Below is an example of a settings.json file with settings relevant to vscode-reorder-python-imports.

{
    "reorder-python-imports.args": [
        "--application-directories=.:src",
        "--add-import 'from __future__ import absolute_import'",
        "--add-import 'from __future__ import division'",
        "--add-import 'from __future__ import print_function'"
  ]
}

Reordering on Save

Reordering imports on save is also supported, but requires you to set the following in your settings to prevent Microsoft's python extension from running isort:

"[python]": {
    "editor.codeActionsOnSave": {
        "source.organizeImports": false,
        "source.organizeImports.reorder-python-imports": true
    },
}

Requirements

reorder-python-imports must be installed in the venv used by visual studio.

Known Issues

isort from Microsoft's Python Extension also provides a code action for organizing imports. When vscode is configured to organize imports on save, both isort and reorder-python-imports are run. To work around this, see the reordering on save section.

Release Notes

v0.1.0

Added support and documentation for reordering on save. First feature-complete release.

v0.0.1

Initial version with minimal required features - provided context menu and command through which the code action can be run.

Comments
  • does not work with setting.json

    does not work with setting.json

    I added the following setting to the settings.json.

        "reorder-python-imports.args": [
            "--py310-plus",
            "--add-import 'from __future__ import annotations'",
        ],
    

    image Those lines are highlighted and the message says Unknown Configuration Setting.

    The setting does not work.

    opened by azriel1rf 19
  • Pass `--application-directories`

    Pass `--application-directories`

    As a cli, I usually run

    reorder-python-imports --application-directories=src
    

    when the project uses an src/ directory.

    Is there a way to pass a value to the --application-directories arg through the extension?


    Thanks for the extension, it's been really useful!

    opened by paw-lu 4
  • Publish to Open VSX

    Publish to Open VSX

    opened by tetov 2
  • Bump @typescript-eslint/eslint-plugin from 5.15.0 to 5.16.0

    Bump @typescript-eslint/eslint-plugin from 5.15.0 to 5.16.0

    Bumps @typescript-eslint/eslint-plugin from 5.15.0 to 5.16.0.

    Release notes

    Sourced from @​typescript-eslint/eslint-plugin's releases.

    v5.16.0

    5.16.0 (2022-03-21)

    Bug Fixes

    • eslint-plugin: [consistent-type-assertions] enforce assertionStyle for const assertions (#4685) (8ec05be)
    • scope-manager: incorrect reference for this within a jsx identifier (#4535) (dd49280)
    • utils: RuleTester: Only call afterAll if defined (#4656) (0fe0683)

    Features

    • eslint-plugin: [prefer-optional-chain] support logical with empty object (#4430) (d21cfe0)
    Changelog

    Sourced from @​typescript-eslint/eslint-plugin's changelog.

    5.16.0 (2022-03-21)

    Bug Fixes

    • eslint-plugin: [consistent-type-assertions] enforce assertionStyle for const assertions (#4685) (8ec05be)

    Features

    • eslint-plugin: [prefer-optional-chain] support logical with empty object (#4430) (d21cfe0)
    Commits
    • aff9654 chore: publish v5.16.0
    • d21cfe0 feat(eslint-plugin): [prefer-optional-chain] support logical with empty objec...
    • 8ec05be fix(eslint-plugin): [consistent-type-assertions] enforce assertionStyle for `...
    • f3a97ff chore: replace deprecated String.prototype.substr() (#4693)
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

    Dependabot will merge this PR once CI passes on it, as requested by @tetov.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump @vscode/test-electron from 1.6.2 to 2.1.3

    Bump @vscode/test-electron from 1.6.2 to 2.1.3

    Bumps @vscode/test-electron from 1.6.2 to 2.1.3.

    Changelog

    Sourced from @​vscode/test-electron's changelog.

    2.1.3 | 2022-03-04

    • Support arm64 builds on Linux

    2.1.2 | 2022-02-04

    • Fix executable path being returned incorrectly on cross-platform downloads
    • Fix tests sometimes failing with EACCESS errors on OSX

    2.1.1 | 2022-01-20

    • Fix excessive logging when running in CI

    2.1.0 | 2022-01-14

    • Add a progress reporter option on the TestOptions, which can be used to see more detail or silence download progress.

    2.0.3 | 2022-01-11

    • Fix @vscode/test-electron auto updating
    • Use arm64 version of VS Code on relevant platforms

    2.0.2 | 2022-01-07

    • Add resolveCliArgsFromVSCodeExecutablePath

    2.0.1 | 2021-12-29

    • Fix extra new lines added to test output

    2.0.0 | 2021-12-14

    • Run tests using a separate instance of VS Code by default. This can be disabled by setting reuseMachineInstall: true.
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 2
  • Bump @typescript-eslint/eslint-plugin from 5.33.1 to 5.36.0

    Bump @typescript-eslint/eslint-plugin from 5.33.1 to 5.36.0

    Bumps @typescript-eslint/eslint-plugin from 5.33.1 to 5.36.0.

    Release notes

    Sourced from @​typescript-eslint/eslint-plugin's releases.

    v5.36.0

    5.36.0 (2022-08-30)

    This release includes full support for TS 4.8

    Bug Fixes

    Features

    v5.35.1

    5.35.1 (2022-08-24)

    Features

    • eslint-plugin: [explicit-member-accessibility] suggest adding explicit accessibility specifiers (#5492) (0edb94a)
    • eslint-plugin: [prefer-optional-chain] support suggesting !foo || !foo.bar as a valid match for the rule (#5266) (aca935c)
    • types: add unbound property in parser options (#5419) (e08a9dd)

    Bug Fixes

    • eslint-plugin: correct rule schemas to pass ajv validation (#5531) (dbf8b56)
    • ast-spec: NewExpression argument can be SpreadElement now (#5422) (3ced62f)
    • eslint-plugin: [no-useless-constructor] handle parameter decorator (#5450) (864dbcf)
    • scope-manager: visit static blocks (#5489) (78745c2)
    Changelog

    Sourced from @​typescript-eslint/eslint-plugin's changelog.

    5.36.0 (2022-08-30)

    Bug Fixes

    Features

    5.35.1 (2022-08-24)

    Bug Fixes

    • eslint-plugin: correct rule schemas to pass ajv validation (#5531) (dbf8b56)

    5.35.0 (2022-08-24)

    Features

    • eslint-plugin: [explicit-member-accessibility] suggest adding explicit accessibility specifiers (#5492) (0edb94a)

    5.34.0 (2022-08-22)

    Bug Fixes

    • eslint-plugin: [no-useless-constructor] handle parameter decorator (#5450) (864dbcf)

    Features

    • eslint-plugin: [prefer-optional-chain] support suggesting !foo || !foo.bar as a valid match for the rule (#5266) (aca935c)
    Commits
    • 4b37b9a chore: publish v5.36.0
    • 7a8afe2 fix(eslint-plugin): revert #5266 (#5564)
    • 81450ed feat: support TypeScript 4.8 (#5551)
    • 39829c0 docs: Fix links to getting started in README.md (#5546)
    • 4483a4b chore(utils): use Extract generic for ast-utils' predicates' helper fun...
    • cb43b4a chore: publish v5.35.1
    • dbf8b56 fix(eslint-plugin): correct rule schemas to pass ajv validation (#5531)
    • 96b6639 chore: publish v5.35.0
    • 0edb94a feat(eslint-plugin): [explicit-member-accessibility] suggest adding explicit ...
    • 4a805d5 chore(eslint-plugin): use defs, not definitions, in rule schemas (#5534)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @typescript-eslint/parser from 5.34.0 to 5.36.0

    Bump @typescript-eslint/parser from 5.34.0 to 5.36.0

    Bumps @typescript-eslint/parser from 5.34.0 to 5.36.0.

    Release notes

    Sourced from @​typescript-eslint/parser's releases.

    v5.36.0

    5.36.0 (2022-08-30)

    This release includes full support for TS 4.8

    Bug Fixes

    Features

    v5.35.1

    5.35.1 (2022-08-24)

    Features

    • eslint-plugin: [explicit-member-accessibility] suggest adding explicit accessibility specifiers (#5492) (0edb94a)
    • eslint-plugin: [prefer-optional-chain] support suggesting !foo || !foo.bar as a valid match for the rule (#5266) (aca935c)
    • types: add unbound property in parser options (#5419) (e08a9dd)

    Bug Fixes

    • eslint-plugin: correct rule schemas to pass ajv validation (#5531) (dbf8b56)
    • ast-spec: NewExpression argument can be SpreadElement now (#5422) (3ced62f)
    • eslint-plugin: [no-useless-constructor] handle parameter decorator (#5450) (864dbcf)
    • scope-manager: visit static blocks (#5489) (78745c2)
    Changelog

    Sourced from @​typescript-eslint/parser's changelog.

    5.36.0 (2022-08-30)

    Note: Version bump only for package @​typescript-eslint/parser

    5.35.1 (2022-08-24)

    Note: Version bump only for package @​typescript-eslint/parser

    5.35.0 (2022-08-24)

    Note: Version bump only for package @​typescript-eslint/parser

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @typescript-eslint/parser from 5.34.0 to 5.35.1

    Bump @typescript-eslint/parser from 5.34.0 to 5.35.1

    Bumps @typescript-eslint/parser from 5.34.0 to 5.35.1.

    Release notes

    Sourced from @​typescript-eslint/parser's releases.

    v5.35.1

    5.35.1 (2022-08-24)

    Features

    • eslint-plugin: [explicit-member-accessibility] suggest adding explicit accessibility specifiers (#5492) (0edb94a)
    • eslint-plugin: [prefer-optional-chain] support suggesting !foo || !foo.bar as a valid match for the rule (#5266) (aca935c)
    • types: add unbound property in parser options (#5419) (e08a9dd)

    Bug Fixes

    • eslint-plugin: correct rule schemas to pass ajv validation (#5531) (dbf8b56)
    • ast-spec: NewExpression argument can be SpreadElement now (#5422) (3ced62f)
    • eslint-plugin: [no-useless-constructor] handle parameter decorator (#5450) (864dbcf)
    • scope-manager: visit static blocks (#5489) (78745c2)
    Changelog

    Sourced from @​typescript-eslint/parser's changelog.

    5.35.1 (2022-08-24)

    Note: Version bump only for package @​typescript-eslint/parser

    5.35.0 (2022-08-24)

    Note: Version bump only for package @​typescript-eslint/parser

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @typescript-eslint/eslint-plugin from 5.33.1 to 5.35.1

    Bump @typescript-eslint/eslint-plugin from 5.33.1 to 5.35.1

    Bumps @typescript-eslint/eslint-plugin from 5.33.1 to 5.35.1.

    Release notes

    Sourced from @​typescript-eslint/eslint-plugin's releases.

    v5.35.1

    5.35.1 (2022-08-24)

    Features

    • eslint-plugin: [explicit-member-accessibility] suggest adding explicit accessibility specifiers (#5492) (0edb94a)
    • eslint-plugin: [prefer-optional-chain] support suggesting !foo || !foo.bar as a valid match for the rule (#5266) (aca935c)
    • types: add unbound property in parser options (#5419) (e08a9dd)

    Bug Fixes

    • eslint-plugin: correct rule schemas to pass ajv validation (#5531) (dbf8b56)
    • ast-spec: NewExpression argument can be SpreadElement now (#5422) (3ced62f)
    • eslint-plugin: [no-useless-constructor] handle parameter decorator (#5450) (864dbcf)
    • scope-manager: visit static blocks (#5489) (78745c2)
    Changelog

    Sourced from @​typescript-eslint/eslint-plugin's changelog.

    5.35.1 (2022-08-24)

    Bug Fixes

    • eslint-plugin: correct rule schemas to pass ajv validation (#5531) (dbf8b56)

    5.35.0 (2022-08-24)

    Features

    • eslint-plugin: [explicit-member-accessibility] suggest adding explicit accessibility specifiers (#5492) (0edb94a)

    5.34.0 (2022-08-22)

    Bug Fixes

    • eslint-plugin: [no-useless-constructor] handle parameter decorator (#5450) (864dbcf)

    Features

    • eslint-plugin: [prefer-optional-chain] support suggesting !foo || !foo.bar as a valid match for the rule (#5266) (aca935c)
    Commits
    • cb43b4a chore: publish v5.35.1
    • dbf8b56 fix(eslint-plugin): correct rule schemas to pass ajv validation (#5531)
    • 96b6639 chore: publish v5.35.0
    • 0edb94a feat(eslint-plugin): [explicit-member-accessibility] suggest adding explicit ...
    • 4a805d5 chore(eslint-plugin): use defs, not definitions, in rule schemas (#5534)
    • e41bc94 chore: publish v5.34.0
    • aca935c feat(eslint-plugin): [prefer-optional-chain] support suggesting `!foo || !foo...
    • 81f3ffc chore(website): generate rule docs options automatically (#5386)
    • faaac27 chore: bump Prettier to 2.7 (#5491)
    • 68c937e chore: update eslint-plugin-eslint-plugin to 5.0.5 (#5493)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @typescript-eslint/eslint-plugin from 5.33.1 to 5.34.0

    Bump @typescript-eslint/eslint-plugin from 5.33.1 to 5.34.0

    Bumps @typescript-eslint/eslint-plugin from 5.33.1 to 5.34.0.

    Release notes

    Sourced from @​typescript-eslint/eslint-plugin's releases.

    v5.34.0

    5.34.0 (2022-08-22)

    Bug Fixes

    • ast-spec: NewExpression argument can be SpreadElement now (#5422) (3ced62f)
    • eslint-plugin: [no-useless-constructor] handle parameter decorator (#5450) (864dbcf)
    • scope-manager: visit static blocks (#5489) (78745c2)

    Features

    • eslint-plugin: [prefer-optional-chain] support suggesting !foo || !foo.bar as a valid match for the rule (#5266) (aca935c)
    • types: add unbound property in parser options (#5419) (e08a9dd)
    Changelog

    Sourced from @​typescript-eslint/eslint-plugin's changelog.

    5.34.0 (2022-08-22)

    Bug Fixes

    • eslint-plugin: [no-useless-constructor] handle parameter decorator (#5450) (864dbcf)

    Features

    • eslint-plugin: [prefer-optional-chain] support suggesting !foo || !foo.bar as a valid match for the rule (#5266) (aca935c)
    Commits
    • e41bc94 chore: publish v5.34.0
    • aca935c feat(eslint-plugin): [prefer-optional-chain] support suggesting `!foo || !foo...
    • 81f3ffc chore(website): generate rule docs options automatically (#5386)
    • faaac27 chore: bump Prettier to 2.7 (#5491)
    • 68c937e chore: update eslint-plugin-eslint-plugin to 5.0.5 (#5493)
    • a28e0ef chore(eslint-plugin): stop linting rule output formatting in tests (#5379)
    • 864dbcf fix(eslint-plugin): [no-useless-constructor] handle parameter decorator (#5450)
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump vsce from 2.10.1 to 2.10.2

    Bump vsce from 2.10.1 to 2.10.2

    Bumps vsce from 2.10.1 to 2.10.2.

    Release notes

    Sourced from vsce's releases.

    v2.10.2

    2.10.2 (2022-08-19)

    Bug Fixes

    • clarify simultaneous use of packagePath and target in vsce publish (#765) (3024d0f), closes #764
    Commits
    • 3024d0f fix: clarify simultaneous use of packagePath and target in vsce publish (#765)
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Set up as LSP server

    Set up as LSP server

    microsoft/vscode-python is moving isort functionality to microsoft/vscode-isort where import organizing is provided as a LSP server written in Python.

    They still bundle isort in vscode-python but I hope they will stop doing that. When that's done it would be enough to ask the users to disable vscode-isort globally or per workspace.

    It might be good to move to something similar. Here's a template for python tools vscode-python-tools-extension-template.

    Making a LSP server for reorder-python-imports would mean that it could be used in more editors too..

    opened by tetov 2
  • Saving does not reorder imports

    Saving does not reorder imports

    This does not seem to work for me. I am adding this to my settings.json

    "[python]": {
            "editor.codeActionsOnSave": {
                "source.organizeImports": false,
                "source.organizeImports.reorder-python-imports": true
            },
        }
    

    Saving does not reorder imports

    Originally posted by @jahamilton12121 in https://github.com/TheButlah/vscode-reorder-python-imports/issues/14#issuecomment-1163392997

    opened by tetov 1
  • Bundle extension on before deployment

    Bundle extension on before deployment

    vsce nags us to bundle the extension.

    This extension consists of 1710 files, out of which 1317 are JavaScript files. For performance reasons, you should bundle your extension: https://aka.ms/vscode-bundle-extension. You should also exclude unnecessary files by adding them to your .vscodeignore: https://aka.ms/vscode-vscodeignore
    
    opened by tetov 0
VSCode Development Container Template

VSCode Development Container Template This template enables you to use a full-fledged containerized development environment for your machine learning

Paige Bailey 10 Oct 10, 2022
ROS2 Docker tutorial with VSCode

ROS2-Docker-tutorial I made this repository using athackst/vscode_ros2_workspace templete with foxy-nvidia branch. You could see more information abov

Tae Young Kim 4 Nov 3, 2022
💻 Open recent VS Code folders and files using Ulauncher

ulauncher-vscode-recent ?? Open recent VS Code folders and files using Ulauncher. Quickly open recently-opened VS Code project directories and files.

Mihir Chaturvedi 14 Nov 24, 2022
Gaphor is a UML and SysML modeling application written in Python.

Gaphor is a UML and SysML modeling application written in Python. It is designed to be easy to use, while still being powerful. Gaphor implements a fully-compliant UML 2 data model, so it is much more than a picture drawing tool. You can use Gaphor to quickly visualize different aspects of a system as well as create complete, highly complex models.

Gaphor 1.3k Jan 7, 2023
cottonformation is a Python tool providing best development experience and highest productivity

Welcome to cottonformation Documentation Full Documentatioin Here cottonformation is a Python tool providing best development experience and highest p

Sanhe 6 Jul 8, 2022
Automatically detect obfuscated code and other state machines

Scripts to automatically detect obfuscated code and state machines in binaries.

Aaron 110 Dec 4, 2022
A Sublime Text package that allows a user to view all the available core/plugin commands for Sublime Text and Sublime Merge, along with their documentation/source.

CommandsBrowser A Sublime Text package that allows a user to view all the available core/plugin commands for Sublime Text and Sublime Merge, along wit

Sublime Instincts 26 Nov 15, 2022
Python Indent - Correct python indentation in Visual Studio Code.

Python Indent Correct python indentation in Visual Studio Code. See the extension on the VSCode Marketplace and its source code on GitHub. Please cons

Kevin Rose 57 Dec 15, 2022
Spyder - The Scientific Python Development Environment

Spyder is a powerful scientific environment written in Python, for Python, and designed by and for scientists, engineers and data analysts. It offers a unique combination of the advanced editing, analysis, debugging, and profiling functionality of a comprehensive development tool with the data exploration, interactive execution, deep inspection, and beautiful visualization capabilities of a scientific package.

Spyder IDE 7.3k Jan 8, 2023
notebookJS: seamless JavaScript integration in Python Notebooks

notebookJS enables the execution of custom JavaScript code in Python Notebooks (Jupyter Notebook and Google Colab). This Python library can be useful for implementing and reusing interactive Data Visualizations in the Notebook environment.

jorgehpo 146 Dec 7, 2022
Mu - A Simple Python Code Editor

A small, simple editor for beginner Python programmers. Written in Python and Qt5.

Mu 1.2k Jan 3, 2023
A GitHub Action hosted Python IDE!

What is this ? This is an IDE running on GitHub Actions which can help in..... Running small snippets. Running codes whenever PC is not available and

Jainam Oswal 21 Nov 9, 2022
Python 3 patcher for Sublime Text v4107-4114 Windows x64

sublime-text-4-patcher Python 3 patcher for Sublime Text v4107-4114 Windows x64 Credits for signatures and patching logic goes to https://github.com/l

null 187 Dec 27, 2022
Python IDE or notebook to generate a basic Kepler.gl data visualization

geospatial-data-analysis [readme] Use this code in your Python IDE or notebook to generate a basic Kepler.gl data visualization, without pre-configura

null 2 Sep 5, 2022
A Python code editor that looks like GNU Emacs.

?? WARNING ?? : Under development... Testing is not recommended! Welcome to Snake Editor! Hi! This is our repository, we are here to present our new p

Marcio Dantas 5 May 20, 2022
This is code for IDLE python/ Magic8Ball Code

Magic8Ball this is code for IDLE python/ Magic8Ball Code this code is for beginers i hope you can learn code form this don't ever be a script kiddie a

null 1 Nov 5, 2021
Live coding in Python with PyCharm, Emacs, Sublime Text, or even a browser

Live Coding in Python Visualize your Python code while you type it in PyCharm, Emacs, Sublime Text, or even your browser. To see how to use one of the

Don Kirkby 256 Dec 14, 2022
An amazing simple Python IDE for developers!

PyHub An amazing simple Python IDE for developers! Get ready to compile and run your code in the most simplest and easiest IDE of the ancient world! T

Aniket Bhattacharjee 2 Dec 31, 2022
This project is an Algorithm Visualizer where a user can visualize algorithms like Bubble Sort, Merge Sort, Quick Sort, Selection Sort, Linear Search and Binary Search.

Algo_Visualizer This project is an Algorithm Visualizer where a user can visualize common algorithms like "Bubble Sort", "Merge Sort", "Quick Sort", "

Rahul 4 Feb 7, 2022
Joshua McDonagh 1 Jan 24, 2022