Sublime text3 can not be installed under Mac Package Control and Chinese garbage problem

sublime text3 is a lightweight code editor, I have been configured in Windows, but a long time to forget. This is configured on the mac, search the Internet some posts, some narrative is not very clear, it is recorded in detail about the process.

Online installation: https://packagecontrol.io/installation (because the network reasons not succeeded)

Offline installation: https://github.com/wbond/package_control

First, the installation process

1. Place the downloaded extract the zip package, rename Package Control.

VrYKCd.jpg

2. Open the Sublime text3

Select Sublime Text -> Preferences -> Browse Packages, which opens the finder, you can see the current directory is Packages, and then copy the Package Control folder into the directory version (originally installed, and copy the folder to the Package Control under Installed Packages directory, but this version seems to die, do not know why)

VrYn4H.jpg

VrYeED.jpg

3. Restart Sublime text3

If Sublime Text -> Preferences have Package Setting Package Control and then the installation is successful.

VrYmUe.jpg

4.command + Shift + p input install select Install Package Enter to install the plug

VrYGb8.jpg

5. Install Package When selected in the popup box enter the transport and installation ConvertToUTF8

However, due to limitations embedded Sublime Text Python 3, ConvertToUTF8 plug-ins may not work properly, this time also need to install the plug-Codecs33 to solve the Chinese garbled.

Can also download the offline package, after extracting the file folder name changed to Codecs33, then move this folder to Sublime Text of Packages folder (by Sublime Text menu in the Preferences - find Packages File> Browse Packages folder).

Codecs33 offline package: https://github.com/seanliang/Codecs33/tree/osx

Second, the problem may arise

1. error 1

VrYlvt.png

This bug just follow the installation method described above does not occur, the cause is dragged Package control directly on the Browser Package.

2. 2 error

VrYM8A.png

This bug is a bug in the country often appear only need to modify the configuration file. As follows:
VrY3KP.jpg

VrYQgI.jpg

Add the following to the configuration file.

"channels":

[

  "https://attachments-cdn.shimo.im/OykO0AIRnX0aeB4d/channel_v3.json"

],

Third, reference links

https://www.cnblogs.com/fitzroy343/p/10447599.html

https://www.jianshu.com/p/dc6abaf327f5

Guess you like

Origin www.cnblogs.com/codeapes666/p/12093714.html