sublime text3安装python插件和flake8_Flake8 linter未突出显示Sublime Tex中的错误

我在我的Windows10电脑上安装了Sublime Text3 v3.2.1 Build 3207。我在conda环境中通过pip命令安装了flake8。我还在sublime text上安装了sublime flake8 linter和python flake8包。在

问题是,我可以使用anaconda提示符(例如flake8)在我的文件中看到相关的linting错误实用工具.py). 然而,sublime linter并没有在sublime文本编辑器中突出显示同一文件中的那些错误。不过,我确实看到了文本编辑器状态栏中的flake8(erred)。在

我在这里可能遗漏了什么?在

下面是两个过梁的设置-

Flake8Lint设置:

{

"debug": false,

"lint_on_save": true,

"lint_on_load": false,

"live_mode_lint_delay": 1000,

"set_ruler_guide": false,

"popup": true,

"highlight": true,

"highlight_type": "error",

"highlight_color_critical": "#981600",

"highlight_color_error": "#DA2000",

"highlight_color_warning": "#EDBA00",

"gutter_marks": "theme-simple",

"report_on_success": false,

"blink_gutter_marks_on_success": true,

"use_flake8_global_config": true,

"use_flake8_project_config": true,

"python_interpreter": "auto",

"builtins": [],

"pyflakes": true,

"pep8": true,

"pydocstyle": true,

"naming": true,

"debugger": true,

"import-order": false,

"import-order-style": "cryptography",

"complexity": -1,

"pep8_max_line_length": 79,

"select": [],

"ignore": [],

"ignore_files": []

}

崇高短绒设置:

{

"debug": false,

"delay": 0.1,

"gutter_theme": "Default",

"highlights.demote_while_editing": "none",

"highlights.demote_scope": "",

"highlights.time_to_idle": 1.5,

"highlights.start_hidden": false,

"kill_old_processes": false,

"lint_mode": "background",

"linters": {

"linter_name": {

"disable": false,

"args": [],

"executable": "",

"env": {},

"excludes": [],

"filter_errors": [],

"lint_mode": "manual",

"selector": "",

"styles": [

{

"codes": [""]

}

],

"working_dir": "",

"python": 3,

"disable_if_not_dependency": false

}

},

"no_column_highlights_line": false,

"paths": {

"linux": [],

"osx": [],

"windows": []

},

"show_hover_line_report": true,

"show_hover_region_report": true,

"show_marks_in_minimap": true,

"show_panel_on_save": "never",

"statusbar.counters_template": "({}|{})",

"statusbar.messages_template": "{message}","statusbar.show_active_linters": true,

"styles": [

{

"scope": "region.yellowish markup.warning.sublime_linter",

"types": ["warning"]

},

{

"priority": 1,

十字架/错误.png"

“icon”:“点”

^{pr2}$

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值