gpt4 book ai didi

plugins - PACKAGE CONTROL (Sublime Text 2) 上没有 INSTALL PACKAGE

转载 作者:行者123 更新时间:2023-12-02 18:37:43 25 4
gpt4 key购买 nike

(操作系统:Ubuntu)我要安装Sublime ALignment插件到我的 Sublime Text 2 。所以,我已经安装了 Package Control插件:

import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())

但我无法通过 Package Control 安装 ALignment。我的 Sublime Text 2 上没有 Install Package 选项。

首选项 > 包控制屏幕截图

enter image description here

你能解释一下如何安装 Sublime Alignment (和其他插件)?

最佳答案

ST2也有同样的问题。无论如何,它看起来像是关于本地化的问题,作为一个快速修复:只需在从命令行启动 Sublime Text 2 之前运行“LANG=C”命令即可。

aranel@aranel-desktop:~/Desktop/Sublime Text 2$ LANG=C

aranel@aranel-desktop:~/Desktop/Sublime Text 2$ ./sublime_text

现在应该可以正常工作了:)

PS:事实上,你回答了我的问题,Eray :) 我一直在寻找解决方案,只是注意到 Eray 也是一个土耳其名字。我注意到我们有一些共同点:)

关于plugins - PACKAGE CONTROL (Sublime Text 2) 上没有 INSTALL PACKAGE,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9353757/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com