mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Merge branch 'leonid/sql'
GitOrigin-RevId: 65a557bb38f6ac03afa9aabaf02cb8d99fc68a91
This commit is contained in:
committed by
intellij-monorepo-bot
parent
34be4bbf7d
commit
e1bb280f82
@@ -25,7 +25,7 @@ import com.intellij.openapi.wm.IdeFocusManager
|
||||
import java.io.File
|
||||
import java.util.regex.Pattern
|
||||
|
||||
class JBProtocolNavigateCommand : JBProtocolCommand(NAVIGATE_COMMAND) {
|
||||
internal class JBProtocolNavigateCommand : JBProtocolCommand(NAVIGATE_COMMAND) {
|
||||
override fun perform(target: String, parameters: Map<String, String>) {
|
||||
// handles URLs of the following types:
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.openapi.options;
|
||||
|
||||
import com.intellij.openapi.components.ServiceManager;
|
||||
@@ -47,13 +47,6 @@ public abstract class ShowSettingsUtil {
|
||||
|
||||
public abstract boolean editConfigurable(Component parent, String dimensionServiceKey, Configurable configurable);
|
||||
|
||||
/**
|
||||
* @deprecated create a new instance of configurable instead
|
||||
* to remove in IDEA 15
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract <T extends Configurable> T findProjectConfigurable(Project project, Class<T> confClass);
|
||||
|
||||
public static String getSettingsMenuName() {
|
||||
return SystemInfo.isMac ? "Preferences" : "Settings";
|
||||
}
|
||||
|
||||
@@ -176,11 +176,6 @@ public class ShowSettingsUtilImpl extends ShowSettingsUtil {
|
||||
return editConfigurable(project, createDimensionKey(configurable), configurable);
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T extends Configurable> T findProjectConfigurable(final Project project, final Class<T> confClass) {
|
||||
return ConfigurableExtensionPointUtil.findProjectConfigurable(project, confClass);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean editConfigurable(Project project, String dimensionServiceKey, @NotNull Configurable configurable) {
|
||||
return editConfigurable(project, dimensionServiceKey, configurable, isWorthToShowApplyButton(configurable));
|
||||
|
||||
@@ -1,18 +1,4 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.openapi.application;
|
||||
|
||||
import com.intellij.openapi.extensions.ExtensionPointName;
|
||||
@@ -25,7 +11,7 @@ import java.util.Map;
|
||||
* @author Konstantin Bulenkov
|
||||
*/
|
||||
public abstract class JBProtocolCommand {
|
||||
public static final ExtensionPointName<JBProtocolCommand> EP_NAME = new ExtensionPointName<>("com.intellij.jbProtocolCommand");
|
||||
private static final ExtensionPointName<JBProtocolCommand> EP_NAME = new ExtensionPointName<>("com.intellij.jbProtocolCommand");
|
||||
private final String myCommand;
|
||||
|
||||
public JBProtocolCommand(@NotNull String command) {
|
||||
@@ -37,12 +23,12 @@ public abstract class JBProtocolCommand {
|
||||
return myCommand;
|
||||
}
|
||||
|
||||
public abstract void perform(String target, Map<String, String> parameters);
|
||||
public abstract void perform(String target, @NotNull Map<String, String> parameters);
|
||||
|
||||
@Nullable
|
||||
public static JBProtocolCommand findCommand(@Nullable String commandName) {
|
||||
if (commandName != null) {
|
||||
for (JBProtocolCommand command : EP_NAME.getExtensions()) {
|
||||
for (JBProtocolCommand command : EP_NAME.getIterable()) {
|
||||
if (command.getCommandName().equals(commandName)) {
|
||||
return command;
|
||||
}
|
||||
|
||||
+7
-20
@@ -1,18 +1,4 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.openapi.application;
|
||||
|
||||
import com.intellij.CommonBundle;
|
||||
@@ -20,23 +6,24 @@ import com.intellij.openapi.application.ex.ApplicationManagerEx;
|
||||
import com.intellij.openapi.ui.MessageDialogBuilder;
|
||||
import com.intellij.openapi.ui.Messages;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author Konstantin Bulenkov
|
||||
*/
|
||||
public class JBProtocolShutdownCommand extends JBProtocolCommand {
|
||||
|
||||
public JBProtocolShutdownCommand() {
|
||||
final class JBProtocolShutdownCommand extends JBProtocolCommand {
|
||||
JBProtocolShutdownCommand() {
|
||||
super("shutdown");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void perform(String target, Map<String, String> parameters) {
|
||||
public void perform(String target, @NotNull Map<String, String> parameters) {
|
||||
if (StringUtil.isEmpty(target)) {
|
||||
ApplicationManager.getApplication().exit();
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
MessageDialogBuilder.YesNo confirmExitDialog = MessageDialogBuilder.yesNo(ApplicationBundle.message("exit.confirm.title"), target)
|
||||
.yesText(ApplicationBundle.message("command.exit")).noText(
|
||||
CommonBundle.message("button.cancel"));
|
||||
|
||||
-75
@@ -436,81 +436,6 @@ public class ConfigurableExtensionPointUtil {
|
||||
return !isValid(each, null) || (filter != null && !filter.isIncluded(each));
|
||||
}
|
||||
|
||||
/*
|
||||
private static void dumpConfigurable(ExtensionPointName<ConfigurableEP<Configurable>> configurablesExtensionPoint,
|
||||
ConfigurableEP<Configurable> ep,
|
||||
Configurable configurable) {
|
||||
if (configurable != null && !(configurable instanceof ConfigurableGroup)) {
|
||||
if (ep.instanceClass != null && (configurable instanceof SearchableConfigurable) && (configurable instanceof Configurable.Composite)) {
|
||||
Element element = dump(ep, configurable, StringUtil.getShortName(configurablesExtensionPoint.getName()));
|
||||
final Configurable[] configurables = ((Configurable.Composite)configurable).getConfigurables();
|
||||
for (Configurable child : configurables) {
|
||||
final Element dump = dump(null, child, "configurable");
|
||||
element.addContent(dump);
|
||||
}
|
||||
final StringWriter out = new StringWriter();
|
||||
try {
|
||||
new XMLOutputter(Format.getPrettyFormat()).output(element, out);
|
||||
}
|
||||
catch (IOException e) {
|
||||
}
|
||||
System.out.println(out);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static Element dump(@Nullable ConfigurableEP ep,
|
||||
Configurable configurable, String name) {
|
||||
Element element = new Element(name);
|
||||
if (ep != null) {
|
||||
element.setAttribute("instance", ep.instanceClass);
|
||||
String id = ep.id == null ? ((SearchableConfigurable)configurable).getId() : ep.id;
|
||||
element.setAttribute("id", id);
|
||||
}
|
||||
else {
|
||||
element.setAttribute("instance", configurable.getClass().getName());
|
||||
if (configurable instanceof SearchableConfigurable) {
|
||||
element.setAttribute("id", ((SearchableConfigurable)configurable).getId());
|
||||
}
|
||||
}
|
||||
|
||||
CommonBundle.lastKey = null;
|
||||
String displayName = configurable.getDisplayName();
|
||||
if (CommonBundle.lastKey != null) {
|
||||
element.setAttribute("key", CommonBundle.lastKey).setAttribute("bundle", CommonBundle.lastBundle);
|
||||
}
|
||||
else {
|
||||
element.setAttribute("displayName", displayName);
|
||||
}
|
||||
if (configurable instanceof NonDefaultProjectConfigurable) {
|
||||
element.setAttribute("nonDefaultProject", "true");
|
||||
}
|
||||
return element;
|
||||
}
|
||||
*/
|
||||
|
||||
/**
|
||||
* @deprecated create a new instance of configurable instead
|
||||
*/
|
||||
@Deprecated
|
||||
@NotNull
|
||||
public static <T extends Configurable> T findProjectConfigurable(@NotNull Project project, @NotNull Class<T> configurableClass) {
|
||||
return findConfigurable(Configurable.PROJECT_CONFIGURABLE.getExtensionList(project), configurableClass);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private static <T extends Configurable> T findConfigurable(@NotNull List<ConfigurableEP<Configurable>> extensions, Class<T> configurableClass) {
|
||||
for (ConfigurableEP<Configurable> extension : extensions) {
|
||||
if (extension.canCreateConfigurable()) {
|
||||
final Configurable configurable = extension.createConfigurable();
|
||||
if (configurableClass.isInstance(configurable)) {
|
||||
return configurableClass.cast(configurable);
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException("Cannot find configurable of " + configurableClass);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public static Configurable createProjectConfigurableForProvider(@NotNull Project project, Class<? extends ConfigurableProvider> providerClass) {
|
||||
return createConfigurableForProvider(Configurable.PROJECT_CONFIGURABLE.getExtensionList(project), providerClass);
|
||||
|
||||
+15
-19
@@ -1,18 +1,4 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.openapi.project.impl;
|
||||
|
||||
import com.intellij.ide.impl.ProjectUtil;
|
||||
@@ -21,21 +7,31 @@ import com.intellij.openapi.application.JBProtocolCommand;
|
||||
import com.intellij.openapi.application.ModalityState;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.openapi.vfs.LocalFileSystem;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.URLDecoder;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author Konstantin Bulenkov
|
||||
*/
|
||||
public class JBProtocolOpenProjectCommand extends JBProtocolCommand {
|
||||
public JBProtocolOpenProjectCommand() {
|
||||
final class JBProtocolOpenProjectCommand extends JBProtocolCommand {
|
||||
JBProtocolOpenProjectCommand() {
|
||||
super("open");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void perform(String target, Map<String, String> parameters) {
|
||||
String path = URLDecoder.decode(target);
|
||||
public void perform(String target, @NotNull Map<String, String> parameters) {
|
||||
String path;
|
||||
try {
|
||||
path = URLDecoder.decode(target, StandardCharsets.UTF_8.name());
|
||||
}
|
||||
catch (UnsupportedEncodingException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
String projectPath = StringUtil.trimStart(path, LocalFileSystem.PROTOCOL_PREFIX);
|
||||
ApplicationManager.getApplication().invokeLater(
|
||||
() -> ProjectUtil.openProject(projectPath, null, true), ModalityState.NON_MODAL);
|
||||
|
||||
@@ -115,4 +115,5 @@ Bazel 2018.12.03.0.2 2018.11.12.0.4
|
||||
ru.makkarpov.ucl 0.1 0.1.1 0.1.2
|
||||
com.undo_software.clion.reverse 2.0.0
|
||||
"Randori Compiler" 0.2.0 0.2.1 0.2.3 0.2.4 0.3.0
|
||||
Docker 173.2605 191.4212.41 191.4738.6
|
||||
Docker 173.2605 191.4212.41 191.4738.6
|
||||
"Log Support" 1.0.11-11_and_newer
|
||||
@@ -1,22 +1,9 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.openapi.application;
|
||||
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Collections;
|
||||
@@ -64,7 +51,8 @@ public class JetBrainsProtocolHandler {
|
||||
} else {
|
||||
ourParameters.put(key, value);
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
ourParameters.put(keyValue, "");
|
||||
}
|
||||
}
|
||||
@@ -102,6 +90,7 @@ public class JetBrainsProtocolHandler {
|
||||
ourCommand = null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static Map<String, String> getParameters() {
|
||||
init();
|
||||
return Collections.unmodifiableMap(ourParameters);
|
||||
|
||||
+5
-18
@@ -1,18 +1,4 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.openapi.vcs.checkout;
|
||||
|
||||
import com.intellij.openapi.application.JBProtocolCommand;
|
||||
@@ -23,22 +9,23 @@ import com.intellij.openapi.vcs.CheckoutProvider;
|
||||
import com.intellij.openapi.vcs.CheckoutProviderEx;
|
||||
import com.intellij.openapi.vcs.ProjectLevelVcsManager;
|
||||
import com.intellij.ui.AppIcon;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author Konstantin Bulenkov
|
||||
*/
|
||||
public class JBProtocolCheckoutCommand extends JBProtocolCommand {
|
||||
final class JBProtocolCheckoutCommand extends JBProtocolCommand {
|
||||
private static final String REPOSITORY_NAME_KEY = "checkout.repo";
|
||||
|
||||
public JBProtocolCheckoutCommand() {
|
||||
JBProtocolCheckoutCommand() {
|
||||
super("checkout");
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void perform(String vcsId, Map<String, String> parameters) {
|
||||
public void perform(String vcsId, @NotNull Map<String, String> parameters) {
|
||||
String repository = parameters.get(REPOSITORY_NAME_KEY);
|
||||
|
||||
if (StringUtil.isEmpty(repository)) {
|
||||
|
||||
@@ -75,26 +75,32 @@
|
||||
language="XML"/>
|
||||
|
||||
<localInspection language="XML" shortName="PluginXmlValidity" displayName="Plugin.xml Validity" applyToDialects="false"
|
||||
groupKey="inspections.group.name" enabledByDefault="true" level="ERROR"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.descriptor"
|
||||
enabledByDefault="true" level="ERROR"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.PluginXmlDomInspection"/>
|
||||
<localInspection language="JVM" shortName="ComponentNotRegistered"
|
||||
key="inspections.component.not.registered.name" groupKey="inspections.group.name" enabledByDefault="true"
|
||||
groupPath="Plugin DevKit"
|
||||
key="inspections.component.not.registered.name" groupKey="inspections.group.code" enabledByDefault="true"
|
||||
level="WARNING" implementationClass="org.jetbrains.idea.devkit.inspections.ComponentNotRegisteredInspection"/>
|
||||
<localInspection language="JAVA" shortName="InspectionDescriptionNotFoundInspection" displayName="Inspection Description Checker"
|
||||
groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.description.file"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.InspectionDescriptionNotFoundInspection"/>
|
||||
<localInspection language="JAVA" shortName="InspectionUsingGrayColors" displayName="Using new Color(a,a,a)"
|
||||
groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.UseGrayInspection"/>
|
||||
<localInspection language="JAVA" shortName="InspectionUniqueToolbarId" displayName="Specify toolbar id"
|
||||
groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.UniqueToolbarIdInspection"/>
|
||||
<localInspection language="JAVA" shortName="IntentionDescriptionNotFoundInspection" displayName="Intention Description Checker"
|
||||
groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.description.file"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.IntentionDescriptionNotFoundInspection"/>
|
||||
<localInspection language="JAVA"
|
||||
key="inspections.component.postfix.template.not.found.description.name"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.description.file"
|
||||
enabledByDefault="true"
|
||||
level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.PostfixTemplateDescriptionNotFoundInspection"/>
|
||||
@@ -104,61 +110,62 @@
|
||||
enabledByDefault="true" level="ERROR"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.RegistrationProblemsInspection"/>
|
||||
<localInspection language="XML" shortName="InspectionMappingConsistency" applyToDialects="false"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.descriptor"
|
||||
displayName="<inspection> tag consistency"
|
||||
enabledByDefault="true"
|
||||
level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.InspectionMappingConsistencyInspection"/>
|
||||
|
||||
<localInspection language="UAST" shortName="UndesirableClassUsage" displayName="Undesirable class usage"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.UndesirableClassUsageInspection"/>
|
||||
<localInspection language="JAVA" shortName="FileEqualsUsage" displayName="File.equals() usage"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.FileEqualsUsageInspection"/>
|
||||
<localInspection language="JAVA" shortName="UnsafeVfsRecursion" displayName="Unsafe VFS recursion"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.UnsafeVfsRecursionInspection"/>
|
||||
<localInspection language="JAVA" shortName="UseJBColor" displayName="Use Darcula aware JBColor"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseJBColorInspection"/>
|
||||
<localInspection language="JAVA" shortName="UseDPIAwareInsets" displayName="Use DPI-aware insets"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseDPIAwareInsetsInspection"/>
|
||||
<localInspection language="JAVA" shortName="UseDPIAwareBorders" displayName="Use DPI-aware borders"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseDPIAwareEmptyBorderInspection"/>
|
||||
<localInspection language="JAVA" shortName="UseCouple" displayName="Use Couple instead of Pair"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="false" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseCoupleInspection"/>
|
||||
<localInspection language="JAVA" shortName="DontUsePairConstructor" displayName="Don't use constructor of Pair class"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.DontUseNewPairInspection"/>
|
||||
<localInspection language="JAVA" shortName="UseVirtualFileEquals" displayName="Use VirtualFile.equals"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.UseVirtualFileEqualsInspection"/>
|
||||
<localInspection language="JAVA" shortName="UnsafeReturnStatementVisitor" displayName="Unsafe return statements visitor"
|
||||
groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.UnsafeReturnStatementVisitorInspection"/>
|
||||
<localInspection language="UAST" shortName="StatefulEp" displayName="Stateful Extension"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.StatefulEpInspection"/>
|
||||
<localInspection language="UAST" shortName="UElementAsPsi" displayName="UElement as PsiElement usage"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.UElementAsPsiInspection"/>
|
||||
<localInspection language="JAVA" shortName="UsePrimitiveTypes" displayName="Use .equals with primitive types"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.internal.UsePrimitiveTypesInspection"/>
|
||||
<localInspection groupPath="Java" shortName="HighlightVisitorInternal"
|
||||
@@ -168,28 +175,29 @@
|
||||
level="ERROR" implementationClass="org.jetbrains.idea.devkit.inspections.internal.HighlightVisitorInternalInspection"/>
|
||||
<localInspection language="JAVA" shortName="QuickFixGetFamilyNameViolation"
|
||||
displayName="QuickFix's getFamilyName() implementation must not depend on a specific context"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true"
|
||||
level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.QuickFixGetFamilyNameViolationInspection"/>
|
||||
<localInspection language="JAVA" shortName="PsiElementConcatenation"
|
||||
displayName="Using PsiElement string representation to generate new expression is incorrect"
|
||||
groupKey="inspections.group.name" enabledByDefault="true" level="WARNING"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.PsiElementConcatenationInspection"/>
|
||||
<localInspection language="UAST" shortName="NonDefaultConstructor" displayName="Non default constructors for extension class"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="ERROR"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.NonDefaultConstructorInspection"/>
|
||||
<localInspection language="UAST" shortName="PresentationAnnotation" displayName="Invalid icon path in @Presentation"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="ERROR"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.PresentationAnnotationInspection"/>
|
||||
<localInspection language="UAST" shortName="UnregisteredNamedColor" displayName="Unregistered named color"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" isInternal="true" level="WARNING"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.UnregisteredNamedColorInspection"/>
|
||||
<localInspection language="UAST" shortName="MissingRecentApi" displayName="Usage of IntelliJ API not available in older IDEs"
|
||||
groupKey="inspections.group.name"
|
||||
groupPath="Plugin DevKit" groupKey="inspections.group.code"
|
||||
enabledByDefault="true" level="ERROR"
|
||||
implementationClass="org.jetbrains.idea.devkit.inspections.missingApi.MissingRecentApiInspection"/>
|
||||
|
||||
|
||||
@@ -144,6 +144,9 @@ class.implementation=implementation
|
||||
structure.sort.alphabetically.in.groups=Sort Alphabetically in Groups
|
||||
|
||||
inspections.group.name=Plugin DevKit
|
||||
inspections.group.descriptor=Plugin Descriptor
|
||||
inspections.group.description.file=Description File
|
||||
inspections.group.code=Code
|
||||
inspections.plugin.xml.inner.class.must.be.separated.with.dollar=Inner class must be separated with '$'
|
||||
inspections.plugin.xml.plugin.should.have.jetbrains.vendor=Plugin developed as a part of IntelliJ IDEA project should specify 'JetBrains' as its vendor
|
||||
inspections.plugin.xml.plugin.should.include.jetbrains.vendor=Plugin developed as a part of IntelliJ IDEA project should include 'JetBrains' as one of its vendors
|
||||
|
||||
Reference in New Issue
Block a user