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

Typescript​Completion

by RonanDrouglazet ST2/ST3 Trending

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 44K
  • Win 22K
  • OS X 14K
  • Linux 8K
Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30
Windows 18 55 43 34 18 19 32 37 36 28 34 18 24 36 33 31 54 35 24 29 22 28 34 38 31 18 16 38 38 36 45 29 12 24 40 32 38 45 36 21 24 46 41 34 34 30
OS X 11 20 26 11 12 7 13 14 12 17 15 9 5 18 18 13 17 28 5 4 10 10 19 13 14 10 9 16 13 21 15 16 8 9 18 15 20 13 14 9 9 16 17 8 11 13
Linux 8 15 12 13 2 8 9 10 9 17 9 11 10 6 17 11 17 10 8 5 21 12 16 15 6 6 7 14 13 16 15 11 8 4 11 18 14 12 17 9 6 15 12 14 17 13

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 !