GithubHelp home page GithubHelp logo

cclauss / vscode-python Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/vscode-python

0.0 1.0 0.0 100.63 MB

Python extension for Visual Studio Code

License: MIT License

JavaScript 0.31% Python 58.50% TypeScript 41.19%

vscode-python's Introduction

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
  • Local help file (offline documentation)
  • 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 (or use a virtual environment), use the command Select Workspace Interpreter)

Documentation

For further information and details continue through to the documentation.

Issues, Feature Requests, and Contributions

  • 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

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.

vscode-python's People

Contributors

ajmathews avatar amirelemam avatar arthepsy avatar aschlapsi avatar brettcannon avatar cbenz avatar danielgindi avatar diablodale avatar dipietrantonio avatar donjayamanne avatar efremovd avatar ericwlange avatar felixfbecker avatar gandhis1 avatar ianlini avatar igornovozhilov avatar jabooth avatar jackqq avatar kavakuo avatar millin avatar mircot avatar patrys avatar porglezomp avatar robodair avatar shengyfu avatar slint avatar splendido avatar tyriar avatar wakensky avatar xoob avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.