为什么安装此 sublimetext 插件时没有任何反应?

Why nothing happens when installing this sublimetext plugin?

我今天从 http://www.sublimetext.com/3. It works but when I try installing this package for powershell https://packagecontrol.io/installation#st3 安装了 Sublimetext3 的便携式版本我只在控制台中得到了这个:

>>> import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + '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)
174110

当重新启动 sublimetext 时,我的 powsershell 脚本仍然是黑白的。

从你的问题来看,你似乎并没有真正安装 PowerShell 插件。在控制台的 Package Control Installation 页面输入代码并点击 Enter 后,您将需要重新启动 Sublime(看起来就像您所做的那样)。然后,打开命令面板并输入pci以调出Package Control: Install Package选项。按 Enter,等待菜单填充,然后键入 powershell 以找到 PowerShell插件。突出显示后,再次按 Enter 并观察 window 底部的状态栏,因为它会告诉您软件包何时安装。您现在应该能够打开 .ps1.psm1.psd1 Powershell 脚本并突出显示语法。