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

Typescript​Completion

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 89K
  • Win 46K
  • Mac 25K
  • Linux 18K
Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11
Windows 9 4 9 6 5 3 1 7 4 8 8 4 2 2 2 6 4 6 6 6 2 3 9 5 4 5 3 2 0 5 6 4 2 4 1 3 6 5 4 4 4 2 6 2 6 7
Mac 3 2 3 4 2 1 3 6 2 1 2 1 1 0 1 2 4 4 5 1 1 5 1 1 1 3 2 1 4 3 6 2 3 0 7 0 2 1 4 0 1 0 3 3 4 1
Linux 3 1 1 2 3 0 0 3 0 1 2 2 0 1 3 2 1 6 3 1 2 2 1 0 1 0 0 2 2 3 2 1 1 2 3 1 2 2 4 5 5 3 0 3 2 2

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 !