tht13 / Python-vscode

A Python language pack for Visual Studio Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python-vscode

Build Status

A Python language pack for Visual Studio Code

Supports snippets and linting (see requirements below). Linting can be customised with a .pylintrc(pyLint) or setup.cfg(flake8) file in the root of the current working directory

Requirements

  • Python (2 or 3)
    • To instruct on Python 2 or 3 the shebang must be present at the top of the python file
      #!/usr/bin/python2 or #!/usr/bin/python3
      Not specifying 2 or 3 will default to 2.
  • One of these two linters
    • Pylint
    • Flake8

Configuration

  • python.maxNumberOfProblems
    • Specify the maximum number of reported problems from the linter, default: 100.
  • python.linter
    • Specify the linter to use, pyLint or flake8
    • If you wish to see other options please add an Issue on GitHub.

Change log

v0.2.3

  • Bug fixes and stability improvements

v0.2.2

  • Fixed "crazy" auto indentation bug

v0.2.0

  • Added compatability for different linters
  • Added auto indenting inside if/else/for statements

v0.1.2

  • Lint on save of file
  • Bug fixes

v0.1.1

  • Initial release

TODO

  • Gulp tasks
  • Tests
  • Travis
    • save npm log on build fail
  • Debugging
  • Linting
    • Lint on save of file
    • Modularised to allow choice of linters
  • Intellisense
  • Formatting
  • Snippets

About

A Python language pack for Visual Studio Code

License:MIT License


Languages

Language:TypeScript 99.9%Language:Batchfile 0.1%