2017년 4월 21일 금요일

Visual Studio Code

Visual Studio Code




 Visual Studio Code

Setting

 - Ctrl + , :  Visual Studio Code Environment Setting


Python [Extension]

  • pylint warning ignore :

    1) Create ".pylintrc" file in your home directory(Win: c:\Users\[Your ID]\.vscode\)
    2) Type following content in ".pylintrc" file

    [MESSAGES CONTROL]
    # Enable the message, report, category or checker with the given id(s). You can
    # either give multiple identifier separated by comma (,) or put this option
    # multiple time.
    #enable=

    # Disable the message, report, category or checker with the given id(s). You
    # can either give multiple identifier separated by comma (,) or put this option
    # multiple time (only on the command line, not in the configuration file where
    # it should appear only once).
    disable=C0103

    ref

    - http://mdickin.com/2016/06/03/python-in-vscode/
    - https://github.com/DonJayamanne/pythonVSCode/wiki/Linting#pylint

댓글 없음:

댓글 쓰기

Python Naming Convention

Type Option Default regular expression Argument argument-rgx [a-z_][a-z0-9_]{2,30}$ Attribute attr-rgx [a-z_][a-z0-9_]{2,30}...