Skip to main content
Back to Extensions Directory
coc.nvim fallback icon

@fannheyward/coc-ts

Heyward Fann

TypeScript 7+ language features for coc.nvim

Installation CommandVim prompt
:CocInstall @fannheyward/coc-ts
GitHub owner
Heyward Fann
Version
v0.0.2
Requirements
coc ^0.0.80
License
MIT
Repository
GitHub
npm latest published 2026-10-12Registry summary

Published Package Summary

coc-ts

TypeScript 7+ language features for coc.nvim.

This extension intentionally targets TypeScript 7 and newer. For TypeScript 6 and older, use coc-tsserver.

Hover

Repeat :call CocActionAsync('doHover') at the same position to expand type definitions one level at a time. When the server can expand further, the hover includes a hint. After the final level, the next hover returns to the original type display. Hovering at a different position, editing or closing the current document, or restarting the server resets expansion.

This uses TypeScript's experimental hover verbosity protocol, verified with TypeScript 7.0.2. Servers without expansion support keep ordinary hover behavior. All hover queries, including getHover and definitionHover, share the expansion state.

Read the complete README
  • TypeScript 7+ language features for coc.nvim
Activation Events
  • onLanguage:javascript
  • onLanguage:javascript.jsx
  • onLanguage:javascriptreact
  • onLanguage:typescript
  • onLanguage:typescript.jsx
  • onLanguage:typescript.tsx
  • onLanguage:typescriptreact
Developer Resources

Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.

Open Developer Guide

Version History

This published npm package does not include a history.md or changelog.md file. Browse its npm versions or repository releases for available release information.