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