ARTICLE DETAIL

资讯详情

深耕网站建设、视觉设计与SEO优化的一线实战洞察。

vscode python format

vscode python format
  1. 下载插件 Black Formatter
  2. 配置 .vscode/settings.json
    '''
    {
    "python-envs.defaultEnvManager": "ms-python.python:conda",
    "python-envs.defaultPackageManager": "ms-python.python:conda",
    "python-envs.pythonProjects": [],
    "black-formatter.args": [
    "--line-length", "150"
    ]
    }
    '''
  3. vim GG=G
返回列表