3

My question is essentially a copy of (Install Kite plugin in GitHub's Atom Editor) for Sublime Text 3, specifically the portable no-install version (I'm on Windows 10, but this possibly applies cross platform).

How do I install the plugin for this please?

I tried the "Add Repository" option in Sublime Text 3, with URL: https://github.com/kiteco/plugins

but this doesn't seem to have added any functionality or add Kite to my package list.

Thanks

Community
  • 1
  • 1
SLater01
  • 459
  • 1
  • 6
  • 17

4 Answers4

2

open Preferences>Package Settings>Kite> Sublime Kite Settings - User

add

"expand_panel_on_select": true

That enabled the context dialog for me when I clicked on an import or def.

Eli McRae
  • 21
  • 2
1

1. Demonstration

I successful install Kite to my portable Sublime Text on disk D:\.

Kite tour

Kite in command palette


2. Relevancy

This answer relevance at February 2018. I hope, that soon Kite plugin would be possible install simply as another Sublime Text plugins and this answer will be obsolete.


3. Installation

  1. Download and install Kite service from home Page of Kite site.
  2. Run installed Kite. You need always run Kite service, when you use Kite.
  3. Download Kite Sublime Text plugin from here.
  4. Place Kite.sublime-package archive to <path_to_your_Sublime_Text_folder>\Data\Installed Packages. For example, I add Kite.sublime-package to D:\Sublime Text 3 x64\Data\Installed Packages folder.
  5. If you use Anaconda or any conflicted plugins, Kite will prompt you to change your settings.

4. Read more


5. Testing environment

Саша Черных
  • 2,561
  • 4
  • 25
  • 71
0

The structure they use is not natively supported by Sublime Text, because it does not load plugins from subfolders. However you can

  1. Clone/download the repository.
  2. In Sublime Text select Preferences > Browse Packages.... This should open a folder.
  3. In that folder create a subfolder Kite and copy the files from the kite sublime-text folder into it. As an alternative you can also create a symlink.
r-stein
  • 4,627
  • 2
  • 16
  • 27
  • Thanks for the reply, but this doesn't seem to work I'm afraid. When I click Preferences -> Settings, it opens the settings file (although I can work out the folder location from this). However, when cloning and exporting the sublime-text folder from the Kite repo to this folder, there is no change in Sublime. Kite is not listed in the packages, nor is any functionality available. Did this work for you with Kite and Sublime Text 3 please? – SLater01 Mar 31 '17 at 05:12
  • @SLater01 Sorry you need to click Preferences > Browse Packages... . I corrected it. At the end the folder structure should be `<...>/Packages/Kite/SublimeKite.py`. I don't use Kite, but SublimeKite.py is a Sublime Text plugin and they must be placed in a subfolder of Packages to be loaded into Sublime Text. You can also open the console ``ctrl+` `` and look, which packages and plugins are loaded on startup. If SublimeKite.py is one of them I cannot assist you anymore and you should create an issue at github. http://docs.sublimetext.info/en/latest/extensibility/plugins.html – r-stein Mar 31 '17 at 06:55
  • Thanks for this suggestion. I've checked that Kite is loaded but adds no discernible functionality, so it must be an issue with the plugin. I'll try and contact the Kite devs to see if they have a solution. Thanks r-stein for clarifying ST3 package imports. – SLater01 Mar 31 '17 at 08:36
  • You also need to start the Kite program, because it provides a server, which is used by the ST plugin. – r-stein Mar 31 '17 at 12:30
  • Ok, I did run the Kite installer and can see that it's active in my taskbar... so I think the server is running, although I still don't see any added functionality. I'd be intrigued to know if anyone else has managed to get this working? Cheers. – SLater01 Apr 02 '17 at 04:45
  • didn't work for me either. Console shows kite.sublimeKite loaded – theAnubhav Apr 11 '17 at 10:15
0

4 years later:

Clone the repo https://github.com/kiteco/KiteSublime or download and extract the latest KiteSublime

to

DRIVE:\[Sublime Path]\Data\Packages

That's it.

Pedro Lobito
  • 94,083
  • 31
  • 258
  • 268