TypescriptCompletion
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 91K
- Win 47K
- Mac 26K
- Linux 18K
Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 4 | 2 | 1 | 2 | 2 | 4 | 4 | 5 | 4 | 4 | 1 | 1 | 5 | 0 | 7 | 1 | 8 | 3 | 3 | 1 | 7 | 5 | 8 | 2 | 1 | 2 | 12 | 3 | 2 | 5 | 5 | 5 | 2 | 5 | 2 | 2 | 7 | 6 | 3 | 6 | 1 | 4 | 1 | 6 | 3 |
Mac | 0 | 2 | 3 | 1 | 3 | 2 | 1 | 1 | 2 | 0 | 0 | 0 | 0 | 1 | 2 | 1 | 3 | 2 | 1 | 0 | 1 | 1 | 2 | 2 | 2 | 2 | 3 | 3 | 0 | 0 | 2 | 0 | 2 | 0 | 2 | 2 | 3 | 1 | 6 | 0 | 0 | 2 | 3 | 3 | 0 | 3 |
Linux | 0 | 1 | 1 | 0 | 6 | 1 | 2 | 2 | 1 | 1 | 4 | 2 | 0 | 0 | 4 | 4 | 1 | 0 | 1 | 5 | 2 | 1 | 3 | 1 | 1 | 0 | 1 | 0 | 3 | 2 | 3 | 1 | 2 | 4 | 5 | 3 | 0 | 3 | 0 | 1 | 1 | 1 | 3 | 2 | 1 | 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
- find/read lib.d.ts of typescript to fill auto completion with it
- add constructor support
- add interface support
- 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)
- listen for dot “.”, sublime doesn't do it.
- a lot of idea remaining !