VSCode = Visual Studio Code 에서 사용할 수 있는 확장(Extension) 입니다.


Beautiful syntax and scoped snippets for perfectionists with deadlines


링크 : https://marketplace.visualstudio.com/items?itemName=batisteo.vscode-django




Improved syntax

  • Adds the filetype django-html
  • Adds the filetype django-txt for email templates.
  • Better syntax with more operators and default keywords:
    • Known default tags and filters
    • Known templatetags namespace from contrib in the {% load %} tag
    • Known keywords in tags, like: asasvarwithtrimmed
  • Syntax highlighting everywhere in your HTML document:
    • In the HTML tag itself"
    • In the id, class or any attribute
    • In inline CSS or Javascript code





  • No unnecessary new lines
  • Support for selected text (when inserting snippet from the menu)
  • Support for copied text


'언어 > Python' 카테고리의 다른 글

Python - 파이썬 확장  (0) 2018.10.13

VSCode = Visual Studio Code 에서 사용할 수 있는 확장(Extension) 입니다.


Linting, 디버깅, Intellisense, 코드 포맷팅, 리팩토링, 유닛 테스트, 스니펫을 지원하는 Python 확장입니다.


링크 : https://marketplace.visualstudio.com/items?itemName=ms-python.python




Python 이 설치되어 있어야 합니다.





Useful commands

Open the Command Palette (Command+Shift+P on macOS and Ctrl+Shift+P on Windows/Linux) and type in one of the following commands:

CommandDescription
Python: Select InterpreterSwitch between Python interpreters, versions, and environments.
Python: Create TerminalCreate a VS Code terminal with the selected Python interpreter (environment) activated.
Python: Start REPLStart an interactive Python REPL using the selected interpreter in the VS Code terminal.
Python: Run Python File in TerminalRuns the active Python file in the VS Code terminal. You can also run a Python file by right-clicking on the file and selecting Run Python File in Terminal.
Python: Select LinterSwitch from PyLint to flake8 or other supported linters.

To see all available Python commands, open the Command Palette and type Python.


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 Italian):

  • de
  • en
  • es
  • fr
  • it
  • ja
  • ko-kr
  • pt-br
  • ru
  • zh-cn
  • zh-tw


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 and PEP 526 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 yapfautopep8, or Black for code formatting (defaults to autopep8)
  • Linting
  • Debugging
    • Watch window
    • Evaluate expressions
    • Step through code ("Step in", "Step out", "Continue")
    • Add/remove breakpoints
    • Local variables and arguments
    • Multi-threaded applications
    • Web applications (such as Flask & Django, with template debugging)
    • Expanding values (viewing children, properties, etc)
    • Conditional breakpoints
    • Remote debugging (over SSH)
    • Google App Engine
    • Debugging in the integrated or external terminal window
    • Debugging as sudo
  • Unit testing
    • Support for unittestpytest, 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


'언어 > Python' 카테고리의 다른 글

Django - 장고 스니펫  (0) 2018.11.17

+ Recent posts