0.0.0 • Published 5 years ago

@nexus/typescript-language-service v0.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

nexus-typescript-service

an experiment

Test it locally

In a project like so:

projects/
  nexus-typescript-service/
  your-project/
    tsconfig.json

Add to your tsconfig.json:

{
  "compilerOptions": {
    "plugins": [{ "name": "../../../nexus-typescript-service" }]
  }
}

It seems necessary to go up relative twice to get out of /node_modules/node_modules/ according to trace logs.

Every change to nexus-typescript-service will require window reload for changes to take affect in test project.

View Logs With VSCode

  1. Edit your settings so that typescript.tsserver.log is not off.
  2. Go to output
  3. Go to typescript
  4. Copy last (downward) log file path. Example of what it looks like:

    [Info  - 03:20:17.86] <semantic> Log file: /Users/jasonkuhrt/Library/Application Support/Code/logs/20200125T181051/exthost3/vscode.typescript-language-features/tsserver-log-KSFpnA/tsserver.lo
  5. Tail it in a terminal

Links