missing image alt texts

This commit is contained in:
Yann Cébron 2021-09-23 17:19:28 +02:00
parent 3b8630cc5e
commit 8c70c95a26
2 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ In addition, the comparing_references_inspection code sample demonstrates implem
You can also create custom inspections through the IntelliJ IDEA user interface.
See [Code Inspection](https://www.jetbrains.com/idea/webhelp/code-inspection.html) and [Creating Custom Inspections](https://www.jetbrains.com/idea/help/creating-custom-inspections.html) for more information.
See [Inspections](https://jetbrains.design/intellij/text/inspections/) topic in the IntelliJ Platform UI Guidelines on naming, writing description, and message texts for inspections.
## Creating an Inspection Plugin
@ -156,7 +156,7 @@ You can specify the Java classes to participate in the code inspection and the s
On the main menu, open the <menupath>Settings/Preferences | Editor | Inspections</menupath> dialog.
In the list of the IntelliJ IDEA <control>Java</control> inspections, expand the <control>Probable bugs</control> node, and then click <control>SDK: '==' or '!=' instead of 'equals()'</control>.
![](comparingReferences_options.png)
![Comparing References inspection options](comparingReferences_options.png)
Under <control>Options</control>, you can specify the following plugin settings:
* From the <control>Severity</control> list, select the severity level of probable bugs the plugin finds such as <control>Warning</control>, <control>Error</control>, etc.
@ -168,7 +168,7 @@ Under <control>Options</control>, you can specify the following plugin settings:
The plugin inspects your code opened in the IntelliJ IDEA editor.
The plugin highlights the code fragments where two variables of the reference type are separated by `==` or `!=` and proposes to replace this code fragment with `.equals()`:
![](comparingReferences.png)
![Comparing References inspection highlighting and quick fix](comparingReferences.png)
In this example, the `str1` and `str2` are variables of the String type.
Clicking <control>SDK: Use equals()</control> replaces:

View File

@ -10,7 +10,7 @@ In addition, the sample plugin contains a JUnit-based test.
The IntelliJ Platform analyzes your code and helps handle situations that may result in errors.
When a possible problem is suspected, the IDE suggests an appropriate intention action, denoted with special icons.
For more information, refer to [Intention Actions](https://www.jetbrains.com/help/idea/intention-actions.html) in the IntelliJ IDEA Web Help.
See [Inspections](https://jetbrains.design/intellij/text/inspections/) topic in the IntelliJ Platform UI Guidelines on naming, writing description, and message texts for inspections/intentions.
You can view a list of all available intention actions as well as enable/disable them using the [Intentions List](https://www.jetbrains.com/help/idea/intention-actions.html#intention-settings) in <menupath>Settings/Preferences | Editor | Intentions</menupath>.
@ -28,7 +28,7 @@ The [conditional_operator_intention](https://github.com/JetBrains/intellij-sdk-c
When launched, this plugin adds the <control>Convert ternary operator if statement</control> item to the <control>Conditional Operator</control> node in the Intentions List:
![](IntentionsList.png)
![Intention settings dialog](IntentionsList.png)
#### Running the Plugin
@ -39,7 +39,7 @@ See [Code Samples](code_samples.md) on how to set up and run the plugin.
The plugin analyzes symbols under the cursor in your code opened in the editor.
If the cursor is positioned on the `?` conditional operator, IntelliJ IDEA proposes to replace this conditional (ternary) operator with the "if-then-else" statement:
![](TernaryOperator.png)
![Convert ternary operator intention popup](TernaryOperator.png)
In this example, the code: