We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
code fix
In diesem Fall produziert Ihre Analyzer die Diagnose und das Codeupdate.
In this case, your analyzer produces both the diagnostic and the code fix.
Dies ist eine besonders gute Wahl, weil Sie nicht wollen, die AST zu aktualisieren, es sei denn, der Entwickler tatsächlich das Codeupdate auswählt.
This is a particularly good choice here, because you don't want to update the AST unless the developer actually selects the code fix.
Da die vorhandene AST unveränderlich ist, gibt die Methode eine neue AST, die für die aktuellen AST vom IDE ersetzt wird, wenn das Codeupdate aktiviert ist.
Because the existing AST is immutable, the method returns a new AST, which is substituted for the current AST by the IDE if the code fix is selected.
Jeder Codeupdate richtet sich an eine oder mehrere diagnostische IDs.
Abbildung 5 zeigt, wie das Codeupdate für den Entwickler im Visual Studio, als vertraute QuickInfo angezeigt wird.
Figure 5 illustrates how the code fix appears to the developer in Visual Studio, as a familiar tooltip.
In diesem Fall produziert Ihre Analyzer die Diagnose und das Codeupdate.
In this case, your analyzer will only produce one kind of diagnostic, so there's nothing to change here.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.