neoclide / coc-tsserver

Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript
MIT License
1.05k stars 68 forks source link

How to start tsserver without first opening a .ts file? #441

Open uri opened 8 months ago

uri commented 8 months ago

I want to open vim at the project root and run :CocList -I symbols but tsc isn't started until I open any .ts file. I have a tsconfig.json in my project's root.

I have workspace.patterns in my global config and this project has a .git folder.

  "workspace.rootPatterns": [
    ".vim",
    ".git",
    ".hg",
    ".projections.json",
    "go.mod"
  ],