[英]Unable to Manually Add New Packages to Sublime Text 3
I'm new to using Ubuntu. 我是使用Ubuntu的新手。 I installed Sublime Text 3 and Package Control .
我安装了Sublime Text 3和Package Control 。 I'm trying to install SideBarEnhancements but can't figure out how.
我正在尝试安装SideBarEnhancements,但不知道如何。 Instructions say to clone the directory from github into the Packages folder but when I try to do this, it says I do not have permissions.
说明说要将目录从github克隆到Packages文件夹中,但是当我尝试这样做时,它说我没有权限。 Steps taken to try this:
尝试执行此操作的步骤:
Downloaded the zip from here https://github.com/titoBouzout/SideBarEnhancements . 从此处https://github.com/titoBouzout/SideBarEnhancements下载了zip文件。
Copy zip to opt/sublime_text/packages
将zip复制到
opt/sublime_text/packages
I tried changing folder permissions in terminal but it would not let me do chmod saying I didn't have permissions. 我尝试在终端中更改文件夹权限,但不会让chmod说我没有权限。 Any help greatly appreciated!
任何帮助,不胜感激!
You are copying to the wrong directory. 您正在复制到错误的目录。
Copy to ~/.config/sublime-text-3/Packages
. 复制到
~/.config/sublime-text-3/Packages
。
To find where the Packages directory from Sublime Text go to Menu > Preferences > Browse Packages...
. 要找到Sublime Text中Packages目录的位置,请进入
Menu > Preferences > Browse Packages...
Rather than downloading and copying to the directory, you can add SideBarEnhancements as a Package Control respository. 您可以将SideBarEnhancements添加为Package Control存储库,而不是下载并复制到该目录。 This will give auto updates.
这将提供自动更新。
Menu > Preferences > Package Control
Menu > Preferences > Package Control
Add repository
Add repository
https://github.com/titoBouzout/SideBarEnhancements/tree/st3
https://github.com/titoBouzout/SideBarEnhancements/tree/st3
Package Control: Install Package
command. Package Control: Install Package
命令安装SideBarEnhancements。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.