rookie211 / pythonVSCode

This repository is no longer maintained. All work on this extension is done on the Microsoft fork.

Home Page:https://github.com/Microsoft/vscode-python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python extension for Visual Studio Code

A Visual Studio Code extension with rich support for the Python language (including Python 3.6), with features including the following and more:

  • Linting (Prospector, Pylint, pycodestyle, Flake8, pylama, pydocstyle, mypy with config files and plugins)
  • Intellisense (autocompletion with support for PEP 484 and PEP 526)
  • Auto indenting
  • Code formatting (autopep8, yapf, with config files)
  • Code refactoring (Rename, Extract Variable, Extract Method, Sort Imports)
  • Viewing references, code navigation, view signature
  • Excellent debugging support (remote debugging over SSH, mutliple threads, django, flask)
  • Running and debugging Unit tests (unittest, pytest, nose, with config files)
  • Execute file or code in a python terminal
  • Snippets

Quick Start

  • Install the extension
  • optionally install ctags for Workspace Symbols, from here, or using brew install ctags on macOS
  • Select your Python interpreter
    • If it's already in your path then you're set
    • Otherwise, to select a different Python interpreter/version/environment (use the command Select Workspace Interpreter or look in the status bar)

For further information and details continue through to the documentation.

Questions, Issues, Feature Requests, and Contributions

  • If you have a question about how to accomplish something with the extension, please ask on Stack Overflow
  • If you come across a problem with the extension, please file an issue
  • Contributions are always welcome! Please see our contributing guide for more details
  • Any and all feedback is appreciated and welcome!
    • If someone has already file an issue that encompasses your feedback, please leave a 👍/👎 reaction on the issue
    • Otherwise please file a new issue

Feature Details

  • IDE-like Features
    • Automatic indenting
    • Code navigation ("Go to", "Find all" references)
    • Code definition (Peek and hover definition, View signatures)
    • Rename refactoring
    • Sorting import statements (use the Python: Sort Imports command)
  • Intellisense and Autocomplete (including PEP 484 support)
    • Ability to include custom module paths (e.g. include paths for libraries like Google App Engine, etc.; use the setting python.autoComplete.extraPaths = [])
  • Code formatting
    • Auto formatting of code upon saving changes (default to 'Off')
    • Use either yapf or autopep8 for code formatting (defaults to autopep8)
  • Linting
  • Debugging
    • Watch window
    • Evaluate Expressions
    • Step through code ("Step in", "Step out", "Continue")
    • Add/remove break points
    • Local variables and arguments
    • Multi-threaded applications
    • Web applications (such as Flask & Django, with template debugging)
    • Expanding values (viewing children, properties, etc)
    • Conditional break points
    • Remote debugging (over SSH)
    • Google App Engine
    • Debugging in the integrated or external terminal window
    • Debugging as sudo
  • Unit Testing
    • Support for unittest, pytest, and nose
    • Ability to run all failed tests, individual tests
    • Debugging unit tests
  • Snippets
  • Miscellaneous
    • Running a file or selected text in python terminal
  • Refactoring
    • Rename Refactorings
    • Extract Variable Refactorings
    • Extract Method Refactorings
    • Sort Imports

General Features

Debugging

Unit Tests

Supported locales

The extension is available in multiple languages thanks to external contributors (if you would like to contribute a translation, see the pull request which added simplified Chinese):

  • en
  • ru
  • zh-cn

Data/Telemetry

The Microsoft Python Extension for Visual Studio Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. This extension respects the telemetry.enableTelemetry setting which you can learn more about at https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting.

About

This repository is no longer maintained. All work on this extension is done on the Microsoft fork.

https://github.com/Microsoft/vscode-python

License:MIT License


Languages

Language:Python 57.0%Language:TypeScript 42.6%Language:JavaScript 0.4%