首页 > 建站教程 > 编辑器、IDE >  submit每次打开,都会卡死正文

submit每次打开,都会卡死

我爱模板网的Sublime Text 3每次打开都会卡很久才会好,有时甚至直接卡死,但是有时候想编辑个东西,打开如vscode、Android Studio等有没必要,今天卡顿的时间尤其长,没办法,打开控制台看看到底什么原因:

1、ctrl+~ 打开sublime控制台,然后看到下面运行日志:
DPI mode: per-monitor v2
startup, version: 3211 windows x64 channel: stable
executable: /D/Program Files/Sublime Text 3/sublime_text.exe
working dir: /D/Program Files/Sublime Text 3
packages path: /C/Users/Administrator.USER-20190521YY/AppData/Roaming/Sublime Text 3/Packages
state path: /C/Users/Administrator.USER-20190521YY/AppData/Roaming/Sublime Text 3/Local
zip path: /D/Program Files/Sublime Text 3/Packages
zip path: /C/Users/Administrator.USER-20190521YY/AppData/Roaming/Sublime Text 3/Installed Packages
ignored_packages: ["Vintage"]
pre session restore time: 0.217565
first paint time: 0.300565
startup time: 0.316565
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.detect_indentation
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin ShellScript.ShellScript
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 1Self.1self
reloading plugin 1Self.1selfOpenDashboardCommand
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
plugins loaded
Initializing 1self plugin
Traceback (most recent call last):
  File "D:\Program Files\Sublime Text 3\sublime_plugin.py", line 298, in on_api_ready
    plc()
  File "C:\Users\Administrator.USER-20190521YY\AppData\Roaming\Sublime Text 3\Installed Packages\1Self.sublime-package\1self.py", line 58, in plugin_loaded
    after_loaded()
  File "C:\Users\Administrator.USER-20190521YY\AppData\Roaming\Sublime Text 3\Installed Packages\1Self.sublime-package\1self.py", line 65, in after_loaded
    get_stream_id_if_not_present()
  File "C:\Users\Administrator.USER-20190521YY\AppData\Roaming\Sublime Text 3\Installed Packages\1Self.sublime-package\1self.py", line 135, in get_stream_id_if_not_present
    response = urllib2.urlopen(req)
  File "./python3.3/urllib/request.py", line 156, in urlopen
  File "./python3.3/urllib/request.py", line 475, in open
  File "./python3.3/urllib/request.py", line 587, in http_response
  File "./python3.3/urllib/request.py", line 513, in error
  File "./python3.3/urllib/request.py", line 447, in _call_chain
  File "./python3.3/urllib/request.py", line 595, in http_error_default
urllib.error.HTTPError: HTTP Error 502: No data received from server or forwarder
Package Control: No updated packages
在Initializing 1self plugin后面开始出现报错,我估计就是初始化这个1self的时候出了问题,我也不知道什么时候安装的这个插件,也懒得查看报错的原因了,直接Ctrl+shift+p打开CommandPalette ,在输入框内输入package,找到Remove Package,点击,然后输入“1self”,找到这个插件,点击卸载:



稍等片刻,卸载后,关闭submit,再次打开,发现很丝滑,一点不卡顿了!至于这个1self插件,下次遇到问题再安装吧~