JetBrains / JetBrains.Annotations

Annotations to increase the accuracy of JetBrains ReSharper/Rider code inspections
https://www.jetbrains.com/help/resharper/Code_Analysis__Code_Annotations.html
MIT License
34 stars 18 forks source link

Add constructor taking a name of injected language as a string #9

Closed akarpov89 closed 2 years ago

akarpov89 commented 2 years ago

Currently [LanguageInjection] annotation uses a closed set of enum values to specify the injected language. This PR adds an ability to specify the language as a string allowing for a wider range of language injections beyond what ReSharper currently supports.