mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-27 16:57:49 +08:00
[Code Samples Inspection] Proofreading > Typo
This commit is contained in:
parent
302968b024
commit
60104e0c79
@ -53,7 +53,7 @@
|
||||
enabledByDefault= Inspection state when Inspections panel is created.
|
||||
level= The default level of error found by this inspection, e.g. INFO, ERROR, etc.
|
||||
@see com.intellij.codeHighlighting.HighlightDisplayLevel
|
||||
inplementationClass= FQN of inspection implementation
|
||||
implementationClass= FQN of inspection implementation
|
||||
-->
|
||||
<localInspection language="JAVA"
|
||||
displayName="SDK: '==' or '!=' used instead of 'equals()'"
|
||||
|
@ -20,7 +20,7 @@
|
||||
<change-notes>
|
||||
<![CDATA[
|
||||
<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>1.0.0</b> Release 2018.3 and earlier.</li>
|
||||
</ul>
|
||||
|
@ -24,8 +24,8 @@ public class PopupDialogAction extends AnAction {
|
||||
*/
|
||||
@Override
|
||||
public void actionPerformed(@NotNull AnActionEvent event) {
|
||||
Project proj = event.getProject();
|
||||
Messages.showMessageDialog(proj,
|
||||
Project project = event.getProject();
|
||||
Messages.showMessageDialog(project,
|
||||
"Popup dialog action",
|
||||
"Greetings from PyCharm Basics Plugin",
|
||||
Messages.getInformationIcon());
|
||||
|
@ -10,4 +10,4 @@ public class SimpleLanguage extends Language {
|
||||
private SimpleLanguage() {
|
||||
super("Simple");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -32,8 +32,8 @@
|
||||
<vendor url="https://plugins.jetbrains.com">IntelliJ Platform SDK</vendor>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
<fileType name="Simple file" implementationClass="org.intellij.sdk.language.SimpleFileType" fieldName="INSTANCE"
|
||||
language="Simple" extensions="simple"/>
|
||||
<fileType name="Simple File" implementationClass="org.intellij.sdk.language.SimpleFileType" fieldName="INSTANCE"
|
||||
language="Simple" extensions="simple" />
|
||||
<!-- Only required for versions of the IntelliJ Platform prior to v2019.2.
|
||||
Use fileTypeFactory extension point INSTEAD of fileType.
|
||||
<fileTypeFactory implementation="org.intellij.sdk.language.SimpleFileTypeFactory"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user