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 53K
  • Win 27K
  • OS X 16K
  • Linux 10K
Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7
Windows 26 37 26 25 15 11 29 20 27 34 30 18 27 30 16 39 30 31 17 13 30 43 31 31 25 11 11 31 29 26 28 28 20 16 24 32 40 25 39 18 18 35 22 23 28 19
OS X 8 8 13 10 6 11 10 14 11 13 19 10 11 13 7 9 15 13 9 15 15 15 9 10 5 9 10 10 10 15 11 10 8 9 15 11 11 12 15 6 10 9 16 17 18 13
Linux 10 10 6 11 4 7 13 7 15 14 9 6 4 15 5 15 7 9 2 4 21 8 7 8 7 5 2 8 14 6 12 13 8 11 14 9 10 15 8 9 2 15 9 8 13 11

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 !