Remove other specific code after removing 182
#KT-33536 Fixed
This commit is contained in:
@@ -61,8 +61,6 @@ public class KotlinCodeStyleSettingsProvider extends CodeStyleSettingsProvider {
|
|||||||
addBlankLinesTab(settings);
|
addBlankLinesTab(settings);
|
||||||
addTab(new ImportSettingsPanelWrapper(settings));
|
addTab(new ImportSettingsPanelWrapper(settings));
|
||||||
|
|
||||||
// BUNCH: 182
|
|
||||||
//noinspection IncompatibleAPI
|
|
||||||
for (CodeStyleSettingsProvider provider : CodeStyleSettingsProvider.EXTENSION_POINT_NAME.getExtensions()) {
|
for (CodeStyleSettingsProvider provider : CodeStyleSettingsProvider.EXTENSION_POINT_NAME.getExtensions()) {
|
||||||
if (provider.getLanguage() == KotlinLanguage.INSTANCE && !provider.hasSettingsPage()) {
|
if (provider.getLanguage() == KotlinLanguage.INSTANCE && !provider.hasSettingsPage()) {
|
||||||
createTab(provider);
|
createTab(provider);
|
||||||
|
|||||||
@@ -13,7 +13,6 @@ import org.jetbrains.kotlin.idea.KotlinIcons
|
|||||||
import org.jetbrains.kotlin.idea.highlighter.dsl.DslHighlighterExtension
|
import org.jetbrains.kotlin.idea.highlighter.dsl.DslHighlighterExtension
|
||||||
import javax.swing.Icon
|
import javax.swing.Icon
|
||||||
|
|
||||||
// BUNCH: 182
|
|
||||||
// BUNCH: as35
|
// BUNCH: as35
|
||||||
// BUNCH: as34
|
// BUNCH: as34
|
||||||
// BUNCH: 191
|
// BUNCH: 191
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import org.jetbrains.kotlin.idea.KotlinIcons
|
|||||||
import org.jetbrains.kotlin.idea.highlighter.dsl.DslHighlighterExtension
|
import org.jetbrains.kotlin.idea.highlighter.dsl.DslHighlighterExtension
|
||||||
import javax.swing.Icon
|
import javax.swing.Icon
|
||||||
|
|
||||||
// BUNCH: 182
|
|
||||||
// BUNCH: as35
|
// BUNCH: as35
|
||||||
// BUNCH: as34
|
// BUNCH: as34
|
||||||
internal fun createDslStyleIcon(styleId: Int): Icon {
|
internal fun createDslStyleIcon(styleId: Int): Icon {
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ package org.jetbrains.kotlin.idea.highlighter.markers
|
|||||||
import com.intellij.icons.AllIcons
|
import com.intellij.icons.AllIcons
|
||||||
import javax.swing.Icon
|
import javax.swing.Icon
|
||||||
|
|
||||||
// BUNCH: 182
|
|
||||||
// BUNCH: as35
|
// BUNCH: as35
|
||||||
// BUNCH: as34
|
// BUNCH: as34
|
||||||
internal fun createDslStyleIcon(styleId: Int): Icon {
|
internal fun createDslStyleIcon(styleId: Int): Icon {
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ package org.jetbrains.kotlin.idea.highlighter.markers
|
|||||||
import com.intellij.icons.AllIcons
|
import com.intellij.icons.AllIcons
|
||||||
import javax.swing.Icon
|
import javax.swing.Icon
|
||||||
|
|
||||||
// BUNCH: 182
|
|
||||||
// BUNCH: as35
|
// BUNCH: as35
|
||||||
// BUNCH: as34
|
// BUNCH: as34
|
||||||
internal fun createDslStyleIcon(styleId: Int): Icon {
|
internal fun createDslStyleIcon(styleId: Int): Icon {
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ package org.jetbrains.kotlin.idea.highlighter.markers
|
|||||||
import com.intellij.icons.AllIcons
|
import com.intellij.icons.AllIcons
|
||||||
import javax.swing.Icon
|
import javax.swing.Icon
|
||||||
|
|
||||||
// BUNCH: 182
|
|
||||||
// BUNCH: as35
|
// BUNCH: as35
|
||||||
// BUNCH: as34
|
// BUNCH: as34
|
||||||
internal fun createDslStyleIcon(styleId: Int): Icon {
|
internal fun createDslStyleIcon(styleId: Int): Icon {
|
||||||
|
|||||||
-1
@@ -37,7 +37,6 @@ class AndroidExtensionsReferenceSearchExecutor : QueryExecutorBase<PsiReference,
|
|||||||
override fun processQuery(queryParameters: ReferencesSearch.SearchParameters, consumer: Processor<in PsiReference>) {
|
override fun processQuery(queryParameters: ReferencesSearch.SearchParameters, consumer: Processor<in PsiReference>) {
|
||||||
val elementToSearch = queryParameters.elementToSearch as? XmlAttributeValue ?: return
|
val elementToSearch = queryParameters.elementToSearch as? XmlAttributeValue ?: return
|
||||||
val scopeElements = (queryParameters.effectiveSearchScope as? LocalSearchScope)?.scope ?: return
|
val scopeElements = (queryParameters.effectiveSearchScope as? LocalSearchScope)?.scope ?: return
|
||||||
@Suppress("UNNECESSARY_SAFE_CALL", "USELESS_ELVIS") // BUNCH: 182
|
|
||||||
val referenceName = elementToSearch.value?.substringAfterLast("/") ?: return
|
val referenceName = elementToSearch.value?.substringAfterLast("/") ?: return
|
||||||
|
|
||||||
scopeElements.filterIsInstance<KtElement>().forEach {
|
scopeElements.filterIsInstance<KtElement>().forEach {
|
||||||
|
|||||||
-1
@@ -51,7 +51,6 @@ class AndroidSimpleNameReferenceExtension : SimpleNameReferenceExtension {
|
|||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
@Suppress("UNNECESSARY_SAFE_CALL", "USELESS_ELVIS") // BUNCH: 182
|
|
||||||
private fun isIdDeclaration(declaration: XmlAttributeValue) = declaration.value?.startsWith("@+id/") ?: false
|
private fun isIdDeclaration(declaration: XmlAttributeValue) = declaration.value?.startsWith("@+id/") ?: false
|
||||||
|
|
||||||
private fun KtSimpleNameReference.isReferenceToXmlFile(xmlFile: XmlFile): Boolean {
|
private fun KtSimpleNameReference.isReferenceToXmlFile(xmlFile: XmlFile): Boolean {
|
||||||
|
|||||||
Reference in New Issue
Block a user