no-emitter-name
@azure-tools/typespec-client-generator-core/no-emitter-nameSeverity: warning
This diagnostic is issued when TCGC cannot determine the emitter’s language because no usable emitter name is available (for example, the emitter name is missing or does not match the expected *-<language> pattern).
Impact
Section titled “Impact”- Area: TCGC host and tooling configuration. Generation falls back to an unknown emitter scope, which can make language-scoped decorators and names resolve incorrectly.
- Not affected: The TypeSpec service model is not changed by the missing option.
Diagnostic Message
Section titled “Diagnostic Message”TCGC reports:
Can not find name for your emitter, please check your emitter name.✅ How to Fix
Section titled “✅ How to Fix”Make sure the emitter is invoked with a resolvable package name (such as @azure-tools/typespec-csharp) so TCGC can derive the target language.
Suppression
Section titled “Suppression”This diagnostic should not be suppressed. Run TCGC with a proper emitter name and check the usage so language scope can be resolved.