ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Typescript​Completion

by RonanDrouglazet ST2/ST3

Typescript auto completion with your project method name, and inject method manually with a module/class/method dictionary build from your TypeScript project

Details

Installs

  • Total 56K
  • Win 29K
  • OS X 17K
  • Linux 11K
Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6
Windows 13 33 23 43 11 10 31 30 34 27 23 25 23 16 30 26 25 25 14 15 12 32 24 28 22 10 18 19 20 20 22 31 13 16 23 35 37 25 27 20 16 25 35 34 36 25
OS X 8 17 12 12 9 8 5 13 16 11 5 7 6 13 12 10 10 15 4 6 11 14 17 15 9 9 6 8 10 15 13 7 6 7 5 12 10 9 10 6 2 7 13 8 14 9
Linux 6 12 14 6 9 7 8 8 8 9 15 4 5 7 7 9 6 14 5 7 11 10 10 8 10 2 4 14 14 14 14 19 10 7 11 5 14 9 9 4 6 11 10 7 10 17

Readme

Source
raw.​githubusercontent.​com

TypescriptCompletion

TypeScript Auto Completion with your project method name, and inject method manually with a module/class/method dictionary build from your TypeScript project

It's one of my first Python's project, so write in a basic Python way, please fork me or leave comment / issue and help me improve this plugin !

Installation

With Package Control:

search for TypescriptCompletion on package control and you will find it !

Manual:

Clone this repository in your sublime package, generally:

> /Users/yourname/Library/Application Support/Sublime Text 3/Packages/

If you want to check if sublime text correctly load the plugin, you can show the console on view > show console and see a line:

reloading plugin User.TSCompletion

Usage

Auto completion:

Classic Sublime Text auto-completion popup was extend with your own project method. If you are not in a sublime project, you can fill manually a project path to inspect for auto-completion, press:

cmd+shift+a

Then it's ok for this session ! Sublime text auto completion will work as usual, but extend with your method, so more powerfull for you !!

Manual auto completion with class choice:

cmd+shift+a

When you choose a class, then a method, TypescriptCompletion will write for you the method name and it's arguments for you

ToDo

  1. find/read lib.d.ts of typescript to fill auto completion with it
  2. add constructor support
  3. add interface support
  4. detect module of the current file and use it to auto complet static method from other module (not write absolute “path” like root.module1.module2.Static if we are already on module1 but write module2.Static)
  5. listen for dot “.”, sublime doesn't do it.
  6. a lot of idea remaining !