dsherret / dsherret/ts-morph

Support for Angular language service

Open
#892 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6.2k
Forks
238
Avg merge
2m
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**

I'm tying to find references to nodes that may come from Angular templates. WebStorm is able to resolve these references; I'm assuming it's using Angular's language service: https://angular.io/guide/language-service.

**Describe the solution you'd like**

A way to configure ts-morph (possibly through compiler options) to use Angular language service. I'm hoping there already is a way that I'm missing!

**Describe alternatives you've considered**

I've tried specifying the language service as a compiler plugin in `tsconfig.json`, and through the compiler options passed to ts-morph.

```
"plugins": [
{"name": "@angular/language-service"}
]
```

Other alternative is to consume the language service directly if support from `ts-morph` is not realistic.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.