0.0.0 • Published 5 years ago
@nexus/typescript-language-service v0.0.0
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
- Edit your settings so that
typescript.tsserver.log
is notoff
. - Go to
output
- Go to
typescript
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
Tail it in a terminal