2012-dream

 

 

sublime设置python解释器配置文件。

tools--build system--new build system

{  
    "cmd": "C:\\Users\\Administrator\\AppData\\Local\\Programs\\Python\\Python36\\python3.exe -u \"$file\"",  
    "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",  
    "selector": "source.python",
    "env": {"PYTHONIOENCODING": "utf8"}
}

 

save保存,重命名即可。按照默认路径保存。

 

sublime设置制表符提示。用惯了pycharm的再换到sublime,会觉得很多时候,莫名其妙被空格或者是tab、enter键困扰,配置上如下设置,可以让制表符更加明晰。

Preferences-Settings

{
    "draw_white_space": "all",
    "font-size": 16,
    "ignored_packages":
    [
        "Vintage"
    ]
}

 

分类:

技术点:

相关文章:

  • 2021-06-02
  • 2022-02-11
  • 2021-06-09
  • 2022-12-23
  • 2022-01-21
  • 2022-12-23
  • 2021-05-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-08-13
  • 2021-05-20
  • 2021-12-12
  • 2021-10-03
相关资源
相似解决方案