Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sublime text 3 and package control

Tags:

sublimetext3

I installed sublime text 3 editor and package control on my computer, but many of the packages only work on sublime text 2. However, I read articles on how branching to st3 could be a work around. But, I have no idea what that means, how can one branch to st3?

like image 653
user2580016 Avatar asked Jul 27 '13 18:07

user2580016


People also ask

What is package control in sublime?

As you probably noticed on the homepage, Package Control is the Sublime Text package manager. It includes a list of over 2,500 packages available for install, and users can add any GitHub or BitBucket repository themselves. Once installed, packages are kept up-to-date automatically.

How do I use Sublime Text 3 packages?

Once Package Control is installed, you can use this to install the below packages as follows: Go to SublimeText – Preferences – Package Control (MAC) or Preferences – Package Control (PC) Choose “Install Package” from the list of options. Find the name of the package you wish to install and select it.

What are packages in Sublime Text 3?

Packages are a collection of resource files used by Sublime Text: plugins, syntax highlighting definitions, menus, snippets and more. Sublime Text ships with several packages, and more user created ones are available. Packages are stored in .


3 Answers

Please follow the instructions at: https://packagecontrol.io/installation

like image 144
David Avatar answered Jan 04 '23 11:01

David


Do you mean in Package Control or for other packages? For Package Control, you need to manually clone the git repo. Then do git checkout python3. For installing packages, you need to add the branch URLs as an external repository. For example, one of my plugins that I have a ST3 branch on is AdvancedNewFile. To install the ST3 branch, I would have do the following.

  1. In the command palette search for "Package Control: Add Repository"
  2. In the input panel, insert https://github.com/skuroda/Sublime-AdvancedNewFile/tree/ST3
  3. Install AdvancedNewFile normally through package control.

The URL can be found by clicking the Branch dropdown on github and selecting the appropriate branch.

like image 42
skuroda Avatar answered Jan 04 '23 12:01

skuroda


If you want to use a Sublime 2 Package on Sublime 3, you can install the Package Manager as described here.

Then CTRL+ALT+P > Package Control: Add Repository > Paste the GitHub (or repository) URL > Install the package normally.

This doesn't guarantee the package will work, so you must check if there's a branch or something which is compatible with Sublime 3. I did that with freewizard/SublimeFormatSQL since one of the commits said 'Added Sublime Text 3 support', and it worked.

like image 33
hectorh30 Avatar answered Jan 04 '23 12:01

hectorh30