sublime text3插件v8中的按键被禁用怎么开启?
步骤:
1.先到https://packagecontrol.io/packages/Sublime%20V8
下载包
2.把包解压缩放到:安装盘符:\SublimeText\Data\Packages路径下
3.重启sublime
4.ctrl+`打开控制台看加载情况
5.日志信息显示如下
sublime的控制台提示日志如下:
reloading plugin sublime-v8-master.BeautifulSoup
Traceback (most recent call last):
File "F:\SublimeText\sublime_plugin.py", line 74, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1022, in load_module
File "<frozen importlib._bootstrap>", line 1003, in load_module
File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 853, in _load_module
File "<frozen importlib._bootstrap>", line 980, in get_code
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "F:\SublimeText\Data\Packages\sublime-v8-master\BeautifulSoup.py", line 448
raise AttributeError, "'%s' object has no attribute '%s'" % (self.__class__.__name__, attr)
^
SyntaxError: invalid syntax
reloading plugin sublime-v8-master.core
Traceback (most recent call last):
File "F:\SublimeText\sublime_plugin.py", line 74, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1022, in load_module
File "<frozen importlib._bootstrap>", line 1003, in load_module
File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 853, in _load_module
File "<frozen importlib._bootstrap>", line 980, in get_code
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "F:\SublimeText\Data\Packages\sublime-v8-master\core.py", line 13
raise Exception, '''
^
SyntaxError: invalid syntax
reloading plugin sublime-v8-master.dom
Traceback (most recent call last):
File "F:\SublimeText\sublime_plugin.py", line 74, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1022, in load_module
File "<frozen importlib._bootstrap>", line 1003, in load_module
File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 868, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "F:\SublimeText\Data\Packages\sublime-v8-master\dom.py", line 1, in <module>
from BeautifulSoup import BeautifulSoup, Tag, NavigableString, Comment
ImportError: No module named 'BeautifulSoup'
reloading plugin sublime-v8-master.jshint
Traceback (most recent call last):
File "F:\SublimeText\sublime_plugin.py", line 74, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1022, in load_module
File "<frozen importlib._bootstrap>", line 1003, in load_module
File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 853, in _load_module
File "<frozen importlib._bootstrap>", line 980, in get_code
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "F:\SublimeText\Data\Packages\sublime-v8-master\jshint.py", line 97
except Exception,ex:
^
SyntaxError: invalid syntax
reloading plugin SublimeLinter.commands
reloading plugin SublimeLinter.sublimelinter
reloading plugin syncViewScroll.syncscroll
reloading plugin Terminal.Terminal
reloading plugin User.open_in_browser_alt
plugins loaded
SublimeLinter: debug mode: off
SublimeLinter: WARNING: jshint deactivated, cannot locate 'jshint'
CodeFormatter: Plugin Initialized
syncScroll starting
Emmet: No need to update PyV8
Run jshint和show console 这两个键都是被禁掉的,请问错在哪了?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你用的是Sublime Text 3吧,那个插件只支持 Sublime Text 2。
另外,我多说一句,Sublime安装插件不要手动安装,请用 Package Control!