microsoft / microsoft/TypeScript
Compile / edit time pluggable analyzers like C#
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Go
- Sterne
- 111k
- Forks
- 14.3k
- Ø Merge
- 2 T. 4 Std.
- Gemergte PRs (30 T.)
- 132
Beschreibung
It would be nice to have similar plugabble compile time / editing time analyzer plugins as [introduced in C# in Build 2015, see the video](http://channel9.msdn.com/Events/Build/2015/3-725).
Analyzer is a library that can do additional syntax checks, tag lines as errors / warnings, and are interpreted by language service.
I can imagine one could do similar things with it as Facebook's flow does e.g. own nullable checking just by writing own analyzer. This would be configurable from tsconfig, maybe one could whitelist the files each analyzer works on. This way the nullability check analyzer would only complain about the code I want.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Das Issue nennt zunächst keine Dateien, Tests oder Einstiegspunkte. Beginne damit, die Erweiterungspunkte für Compiler und Language-Service zu finden, und definiere anschließend die Analyzer-API, das Konfigurationsverhalten und die Integration der Diagnostik, bevor du mit der Implementierung beginnst.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- typescript
- Bereich
- compilers
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100