为什么 Sublime Text 2 Ctrl+P 在某些项目上不起作用而在其他项目上起作用?
感谢skuroda的提示,按ctrl+p后登录控制台如下:
command: show_overlay {"overlay": "goto", "show_files": true}
Unable to auto detect encoding, using fallback encoding Western (Windows 1252)
Unable to auto detect encoding, using fallback encoding Western (Windows 1252)
Traceback (most recent call last):
File ".\sublime_plugin.py", line 175, in on_load
callback.__module__, "on_load", EVENT_TIMEOUT)
File ".\sublime_plugin.py", line 154, in run_timed_function
ret = f()
File ".\sublime_plugin.py", line 174, in <lambda>
run_timed_function(lambda: callback.on_load(v),
File ".\sublime_gbk.py", line 51, in on_load
File ".\sublime_gbk.py", line 36, in gbk2utf8
Boost.Python.ArgumentError: Python argument types in
Window.focus_view(Window, NoneType)
did not match C++ signature:
focus_view(class SP<struct edit_window::reference>, class SP<class TextBufferView>)
Traceback (most recent call last):
File ".\sublime_plugin.py", line 175, in on_load
callback.__module__, "on_load", EVENT_TIMEOUT)
File ".\sublime_plugin.py", line 154, in run_timed_function
ret = f()
File ".\sublime_plugin.py", line 174, in <lambda>
run_timed_function(lambda: callback.on_load(v),
File ".\sublime_gbk.py", line 51, in on_load
File ".\sublime_gbk.py", line 36, in gbk2utf8
Boost.Python.ArgumentError: Python argument types in
Window.focus_view(Window, NoneType)
did not match C++ signature:
focus_view(class SP<struct edit_window::reference>, class SP<class TextBufferView>)