[Code Samples Inspection] Proofreading > Typo

This commit is contained in:
Jakub Chrzanowski 2020-04-16 11:31:29 +02:00
parent 302968b024
commit 60104e0c79
5 changed files with 7 additions and 7 deletions

View File

@ -53,7 +53,7 @@
enabledByDefault= Inspection state when Inspections panel is created. enabledByDefault= Inspection state when Inspections panel is created.
level= The default level of error found by this inspection, e.g. INFO, ERROR, etc. level= The default level of error found by this inspection, e.g. INFO, ERROR, etc.
@see com.intellij.codeHighlighting.HighlightDisplayLevel @see com.intellij.codeHighlighting.HighlightDisplayLevel
inplementationClass= FQN of inspection implementation implementationClass= FQN of inspection implementation
--> -->
<localInspection language="JAVA" <localInspection language="JAVA"
displayName="SDK: '==' or '!=' used instead of 'equals()'" displayName="SDK: '==' or '!=' used instead of 'equals()'"

View File

@ -20,7 +20,7 @@
<change-notes> <change-notes>
<![CDATA[ <![CDATA[
<ul> <ul>
<li><b>2.1.0</b> Remove project component and use listener instead. No longer denies opening additional projets. Just notifies the user.</li> <li><b>2.1.0</b> Remove project component and use listener instead. No longer denies opening additional projects. Just notifies the user.</li>
<li><b>2.0.0</b> Convert to Gradle-based plugin.</li> <li><b>2.0.0</b> Convert to Gradle-based plugin.</li>
<li><b>1.0.0</b> Release 2018.3 and earlier.</li> <li><b>1.0.0</b> Release 2018.3 and earlier.</li>
</ul> </ul>

View File

@ -24,8 +24,8 @@ public class PopupDialogAction extends AnAction {
*/ */
@Override @Override
public void actionPerformed(@NotNull AnActionEvent event) { public void actionPerformed(@NotNull AnActionEvent event) {
Project proj = event.getProject(); Project project = event.getProject();
Messages.showMessageDialog(proj, Messages.showMessageDialog(project,
"Popup dialog action", "Popup dialog action",
"Greetings from PyCharm Basics Plugin", "Greetings from PyCharm Basics Plugin",
Messages.getInformationIcon()); Messages.getInformationIcon());

View File

@ -10,4 +10,4 @@ public class SimpleLanguage extends Language {
private SimpleLanguage() { private SimpleLanguage() {
super("Simple"); super("Simple");
} }
} }

View File

@ -32,8 +32,8 @@
<vendor url="https://plugins.jetbrains.com">IntelliJ Platform SDK</vendor> <vendor url="https://plugins.jetbrains.com">IntelliJ Platform SDK</vendor>
<extensions defaultExtensionNs="com.intellij"> <extensions defaultExtensionNs="com.intellij">
<fileType name="Simple file" implementationClass="org.intellij.sdk.language.SimpleFileType" fieldName="INSTANCE" <fileType name="Simple File" implementationClass="org.intellij.sdk.language.SimpleFileType" fieldName="INSTANCE"
language="Simple" extensions="simple"/> language="Simple" extensions="simple" />
<!-- Only required for versions of the IntelliJ Platform prior to v2019.2. <!-- Only required for versions of the IntelliJ Platform prior to v2019.2.
Use fileTypeFactory extension point INSTEAD of fileType. Use fileTypeFactory extension point INSTEAD of fileType.
<fileTypeFactory implementation="org.intellij.sdk.language.SimpleFileTypeFactory"/> <fileTypeFactory implementation="org.intellij.sdk.language.SimpleFileTypeFactory"/>