我想在SublimeText2使用SublimeLinter SublimeLinter。包安裝,也node.exe,路徑node.exe是正確的:錯誤與SublimeText 2
{
"sublimelinter_executable_map": {
"javascript":"C:\\Program Files\\nodejs\\node.exe",
"css":"C:\\Program Files\\nodejs\\node.exe"
}
}
寫簡單的代碼:
function foo(){
x != hg
а = р
в hghhgg
}
保存和棉短絨沒有消息! 在控制檯同時我看到錯誤:
Traceback (most recent call last):
File ".\sublime_plugin.py", line 190, in on_post_save
File ".\sublime_plugin.py", line 154, in run_timed_function
File ".\sublime_plugin.py", line 189, in <lambda>
File ".\SublimeLinter.py", line 744, in on_post_save
File ".\SublimeLinter.py", line 611, in reload_view_module
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 9: ordinal not in range(128)
OS:Win7的32位
我理解你的想法,但我特意做了這個錯誤,專門測試棉絨。但即使是純代碼'var x = 100;'我在控制檯上看到錯誤 –