Skip to content

A js plugin implementation of TypeScript omnicompletion, using the typescript language services

License

Notifications You must be signed in to change notification settings

bryphe/vim-electrify-typescript-completion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Stories in Ready

vim-electrify-typescript-completion

Supercharge VIM into a TypeScript powerhouse

Intro

A js plugin implementation of JS omnicompletion, using the TypeScript language service.

This was built to give a premier TypeScript experience on Windows, through Vim.

vim-electrify-typescript-completion demo

The demo shows the following aspects:

  • Quick info through the status line
  • Autocompletion
  • Error flagging and highlighting
  • Goto definition

Installation

Windows

Prerequisites:

  • Vim 7.4
  • Node / npm (recommended version 6+ and 3+)
  • vim-electrify

Recommended:

Installation:

  • Clone into your plugins folder:

    git clone https://github.com/extr0py/vim-electrify-typescript-completion.git

  • Install dependencies

    npm install

Usage

Once the plugin is installed, it will automatically be activated for JavaScript and TypeScript files.

Commands

Goto definition

:TSDefinition

Navigates to the definition of an object, if possible.

Notes

  • Make sure to have a valid tsconfig.json or jsconfig.json for best results
  • Not yet tested for compatibility with AutoComplPop, YouCompleteMe, or Syntastic.
    • Recommend disabling these plugins for typescript files.

License

MIT License

Contact

extropy@extropygames.com

About

A js plugin implementation of TypeScript omnicompletion, using the typescript language services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages