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 61K
  • Win 32K
  • OS X 18K
  • Linux 12K
Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5
Windows 27 13 13 19 15 14 22 27 21 12 16 17 19 20 24 15 14 8 23 24 14 19 17 9 13 11 18 15 25 21 10 10 22 19 20 27 28 9 0 0 25 24 20 15 11 6
OS X 9 11 6 1 6 10 7 12 5 2 8 5 10 9 16 4 6 7 4 11 10 15 15 6 4 3 6 8 5 13 0 4 7 5 8 9 6 3 0 0 17 10 11 8 2 6
Linux 6 4 4 3 6 7 9 9 3 3 5 11 8 6 7 10 6 4 10 12 5 7 10 3 4 7 9 6 6 8 6 5 11 9 7 13 5 2 0 0 11 4 6 6 4 7

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 !