sublime text3没有显示package control的问题

1】检查设置

Preferences - Settings Default
Preferences - Settings User
检查以上两处的ignored_packages配置信息,去掉Package Control项;

2】其它解决方案

在 Sublime Text 中,点击菜单上的 “view --> show control” 或按 "Ctrl + `"快捷键,打开控制台:
输入以下代码,回车运行:

import urllib.request,os,hashlib; h = pf2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

至此,Package Control 就已经安装完成了,在命令面板里可以选择 Package Control:Install Package 进行插件安装了。

如果提示如下,说明是Package Control:Install Package被忽略了,参考检查设置的解决方法。

DPI scale: 1.25
startup, version: 3083 windows x64 channel: stable
executable: /C/DevProgramFiles/Sublime Text 3/sublime_text.exe
working dir: /C/DevProgramFiles/Sublime Text 3
packages path: /C/Users/Administrator/AppData/Roaming/Sublime Text 3/Packages
state path: /C/Users/Administrator/AppData/Roaming/Sublime Text 3/Local
zip path: /C/DevProgramFiles/Sublime Text 3/Packages
zip path: /C/Users/Administrator/AppData/Roaming/Sublime Text 3/Installed Packages
ignored_packages: ["Package Control", "Vintage"]
pre session restore time: 0.367431
first paint time: 0.458431
startup time: 0.474431
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
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.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_file_settings
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.quick_panel
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.02-bz2
reloading plugin All Autocomplete.all_views_completions
reloading plugin AutoFileName.autofilename
reloading plugin AutoFileName.getimageinfo
reloading plugin Better CoffeeScript.CoffeeScript
reloading plugin BracketHighlighter.bh_core
reloading plugin BracketHighlighter.bh_logging
reloading plugin BracketHighlighter.bh_plugin
reloading plugin BracketHighlighter.bh_regions
reloading plugin BracketHighlighter.bh_remove
reloading plugin BracketHighlighter.bh_rules
reloading plugin BracketHighlighter.bh_search
reloading plugin BracketHighlighter.bh_swapping
reloading plugin BracketHighlighter.bh_wrapping
reloading plugin ChineseLocalizations.Localization
reloading plugin Coffee2Js.CoffeeToJS
reloading plugin CSS Less(ish).csslessish
reloading plugin CSS3.css3_completions
reloading plugin CSS3.rgb_to_hex
reloading plugin CSS3.validator
reloading plugin Emmet.emmet-plugin
reloading plugin HTMLBeautify.HTMLBeautify
reloading plugin Less2Css.less2css
reloading plugin Less2Css.lesscompiler
reloading plugin List LESS Variables.lessvariables
reloading plugin MarkdownPreview.helper
reloading plugin MarkdownPreview.markdown_settings
reloading plugin MarkdownPreview.markdown_wrapper
reloading plugin MarkdownPreview.MarkdownPreview
reloading plugin My Snippets.MySnippets
reloading plugin OpenInBrowser.openinbrowser
reloading plugin SideBarEnhancements.SideBar
reloading plugin SideBarEnhancements.SideBarAPI
reloading plugin SideBarEnhancements.SideBarDefaultDisable
reloading plugin Autoprefixer.Autoprefixer
reloading plugin Autoprefixer.node_bridge
reloading plugin ConvertToUTF8.ConvertToUTF8
reloading plugin HTML-CSS-JS Prettify.HTMLPrettify
reloading plugin LESS.less_completions
reloading plugin SublimeLinter.commands
reloading plugin SublimeLinter.sublimelinter
plugins loaded
SublimeLinter: debug mode: off 
Emmet: No need to update PyV8
Checking for updates:
	Sync Enabled: True
	Sync Timeout: 60000
	Latest Update at: Thu Jan  1 00:00:00 1970
	Thread is: Thread-4
	Paths: [{'display': '', 'path': ''}]
No snippets found: Context Menu not created.
``


你可能感兴趣的:(开发工具)