Coder Social home page Coder Social logo

porglezomp-misc / pythonvscode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from donjayamanne/pythonvscode

0.0 2.0 0.0 34.45 MB

Cross platform editing, debugging, linting, testing (and more) Python (2.7 to 3.6) code (including Jupyter support) using Visual Studio Code

Home Page: http://donjayamanne.github.io/pythonVSCode

License: MIT License

Python 70.86% TypeScript 29.10% JavaScript 0.04%

pythonvscode's Introduction

Python

An extension with rich support for the Python language (including Python 3.6), with features including the following and more:

Quick Start

  • Install the extension
  • optionally install ctags for Workspace Symbols, from here, or using brew install ctags on OSX.
  • If Python is in the current path
    • You're ready to use it.
  • To select a different Python Interpreter/Version (or use Virtual Environment), use the command Select Workspace Interpreter)

For further information and details continue through to the documentation.

  • Contributions are always welcome. Fork it, modify it and create a pull request.
    • Details on contributing can be found here
  • Any and all feedback is appreciated and welcome.

Feature Details

  • IDE Features
  • Auto indenting
  • Code navigation (Go to, Find all references)
  • Code definition (Peek and hover definition, View Signature)
  • Rename refactoring
  • Sorting Import statements (use "Python: Sort Imports" command)
  • Ability to include custom module paths (e.g. include paths for libraries like Google App Engine, etc.)
  • Use the setting python.autoComplete.extraPaths = []
  • For instance getting autocomplete/intellisense for Google App Engine, add the following to your settings file:
"python.autoComplete.extraPaths": [
    "C:/Program Files (x86)/Google/google_appengine",
    "C:/Program Files (x86)/Google/google_appengine/lib" ]
  • This functionality has been moved into a separate extension Jupyter
  • Auto formatting of code upon saving changes (default to 'Off')
  • Use either yapf or autopep8 for code formatting (defaults to autopep8)
  • It can be turned off (default is to be turned on and use pylint)
  • Multiple linters supported (along with support for configuration files for each linter)
  • Supported linters include pylint, pep8, flake8, pydocstyle, prospector
  • Paths to each of the linters can be optionally configured
  • Custom plugins such as pylint plugin for Django can be easily used by modifying the settings as follows:
"python.linting.pylintArgs": ["--load-plugins", "pylint_django"]
  • Watch window
  • Evaluate Expressions
  • Step through code (Step in, Step out, Continue)
  • Add/remove break points
  • Local variables and arguments
  • Multiple Threads and 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
  • Support for unittests, nosetests and pytest
  • Test results are displayed in the "Python" output window
  • Run failed tests, individual tests
  • Debugging unittests
  • Snippets
  • Miscellaneous
  • Running a file or selected text in python terminal
  • Refactoring

Generate Features

Debugging

Unit Tests

Scientific Tools

Local Help

Version 0.6.9 (22 July 2017)

  • Fix to enure custom linter paths are respected #1106

Version 0.6.8 (20 July 2017)

Version 0.6.6 (02 July 2017)

  • Provide details of error with solution for changes to syntax in launch.json #1047, #1025
  • Provide a warning about known issues with having pyenv.cfg whilst debugging #913
  • Create .vscode directory if not found #1043
  • Highlighted text due to linter errors is off by one column #965, #970
  • Added preminary support for WSL Bash and Cygwin #1049
  • Ability to configure the linter severity levels #941, #895
  • Fixes to unit tests #1051, #1050
  • Outdent lines following contibue, break and return #1050
  • Change location of cache for Jedi files #1035
  • Fixes to the way directories are searched for Python interpreters #569, #1040
  • Handle outputs from Python packages that interfere with the way autocompletion is handled #602

Thanks

Source

GitHub

License

MIT

pythonvscode's People

Contributors

donjayamanne avatar jabooth avatar gandhis1 avatar mircot avatar patrys avatar shengyfu avatar igornovozhilov avatar tyriar avatar robodair avatar aschlapsi avatar danielgindi avatar ianlini avatar splendido avatar jackqq avatar wakensky avatar tdamsma avatar skyjur avatar simoncoulton avatar shaypal5 avatar bryant1410 avatar ronjouch avatar jroimartin avatar robsonpeixoto avatar lefb766 avatar mpoindexter avatar xoob avatar vladsadovsky avatar crazy-owl avatar wade-ryan avatar weiwei avatar

Watchers

James Cloos avatar Cassie Jones 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.