Coder Social home page Coder Social logo

songjlg / pythonvscode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from donjayamanne/pythonvscode

0.0 2.0 0.0 13.07 MB

Python support for Visual Studio Code

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

License: MIT License

Python 74.19% TypeScript 25.81%

pythonvscode's Introduction

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

  • Linting (Prospector, PyLint, Pep8, Flake8, pydocstyle with config files and plugins)
  • Intellisense (autocompletion)
  • Auto indenting
  • Code formatting (autopep8, yapf, with config files)
  • Renaming, Viewing references, and code navigation
  • View signature and similar by hovering over a function or method
  • Excellent debugging suppot (variables, arguments, expressions, watch window, stack information, break points, remote debugging, mutliple threads)
  • Unit testing (unittest, pytest, nosetests, with config files)
  • Sorting imports
  • Snippets

##Quick Start

  • Install the extension
  • If Python is in the current path
    • You're ready to use it.
  • If using a custom Python Version or a Virtual Environment
    • Configure the path to the python executable in python.pythonPath of the settings.json file (further details here)

For further information and details continue through to the documenetation.

##Feature Requests and contributions

  • Contributions are always welcome. Fork it, modify it and create a pull request.
  • Any and all feedback is appreciated and welcome.

##Roadmap Please note, not all of these feature may be developed.
Your feedback is crucial in prioritizing the items and in determining whether we shift focus our attention to some other feature request(s).

  • Intellisense and Linting
    • Performance improvements
    • Linting as you type
    • Context actions for some linter messages
    • Remote Interpretter
  • Miscellaneous IDE enhancements
    • Code Refactoring
    • Auto-generate docstring
    • Documentation viewer
    • Improved integration of Unit Tests
  • Integration
    • Code coverage
    • Profiler
    • Integrating IPython
  • Debugging enhancements
    • Integration with VS Code Terminal window
    • Securely debugging Python applications in the cloud (Azure, AWS or Google Cloud)
    • Remote debugging over SSH

##Issues and Feature Requests

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" ]
  • 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 turn it on and use pylint)
  • Multiple linters supported (along with support for configuration files for each linter)
  • Supported linters include pylit, 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) (Windows and Mac)
  • Expanding values (viewing children, properties, etc) (Windows and Mac)
  • Conditional break points
  • Remote debugging
  • Unit Testing
  • Support for unittests, nosetests and pytest
  • Test results are displayed in the "Python" output window
  • Snippets

Image of Generate Features

Image of Debugging

Current Version 0.3.18

  • Modifications to support environment variables in settings #148
  • Modifications to support formatting of selected text #197 and #183
  • Added support to intellisense for parameters #71
  • Display name of linter along with diagnostic messages #199

Source

GitHub

License

MIT

pythonvscode's People

Contributors

aschlapsi avatar cbenz avatar danielgindi avatar donjayamanne avatar felixfbecker avatar jstnlef avatar lfrodrigues avatar luis-palacios avatar mircot avatar ronjouch avatar simoncoulton avatar tyriar avatar wakensky avatar

Watchers

 avatar  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.