mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-207961 move "Copy TBX URL action" to lang-impl "com.intellij.navigation" package
This commit is contained in:
@@ -3,6 +3,12 @@ package com.intellij.ide.actions
|
||||
|
||||
import com.intellij.ide.IdeBundle
|
||||
import com.intellij.ide.actions.CopyReferenceUtil.*
|
||||
import com.intellij.navigation.JBProtocolNavigateCommand.Companion.FQN_KEY
|
||||
import com.intellij.navigation.JBProtocolNavigateCommand.Companion.NAVIGATE_COMMAND
|
||||
import com.intellij.navigation.JBProtocolNavigateCommand.Companion.PATH_KEY
|
||||
import com.intellij.navigation.JBProtocolNavigateCommand.Companion.PROJECT_NAME_KEY
|
||||
import com.intellij.navigation.JBProtocolNavigateCommand.Companion.REFERENCE_TARGET
|
||||
import com.intellij.navigation.JBProtocolNavigateCommand.Companion.SELECTION
|
||||
import com.intellij.openapi.actionSystem.ActionPlaces
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent
|
||||
import com.intellij.openapi.actionSystem.CommonDataKeys
|
||||
@@ -15,12 +21,6 @@ import com.intellij.openapi.fileEditor.FileDocumentManager
|
||||
import com.intellij.openapi.ide.CopyPasteManager
|
||||
import com.intellij.openapi.project.DumbAwareAction
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.project.impl.JBProtocolNavigateCommand.Companion.FQN_KEY
|
||||
import com.intellij.openapi.project.impl.JBProtocolNavigateCommand.Companion.NAVIGATE_COMMAND
|
||||
import com.intellij.openapi.project.impl.JBProtocolNavigateCommand.Companion.PATH_KEY
|
||||
import com.intellij.openapi.project.impl.JBProtocolNavigateCommand.Companion.PROJECT_NAME_KEY
|
||||
import com.intellij.openapi.project.impl.JBProtocolNavigateCommand.Companion.REFERENCE_TARGET
|
||||
import com.intellij.openapi.project.impl.JBProtocolNavigateCommand.Companion.SELECTION
|
||||
import com.intellij.openapi.util.io.FileUtil
|
||||
import com.intellij.psi.PsiDocumentManager
|
||||
import com.intellij.psi.PsiElement
|
||||
|
||||
+2
-3
@@ -1,5 +1,5 @@
|
||||
// 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
|
||||
package com.intellij.navigation
|
||||
|
||||
import com.intellij.ide.RecentProjectsManager
|
||||
import com.intellij.ide.RecentProjectsManagerBase
|
||||
@@ -8,7 +8,6 @@ import com.intellij.ide.util.gotoByName.ChooseByNameModel
|
||||
import com.intellij.ide.util.gotoByName.ChooseByNameViewModel
|
||||
import com.intellij.ide.util.gotoByName.DefaultChooseByNameItemProvider
|
||||
import com.intellij.ide.util.gotoByName.GotoSymbolModel2
|
||||
import com.intellij.navigation.NavigationItem
|
||||
import com.intellij.openapi.application.JBProtocolCommand
|
||||
import com.intellij.openapi.diagnostic.Logger
|
||||
import com.intellij.openapi.editor.LogicalPosition
|
||||
@@ -29,7 +28,7 @@ class JBProtocolNavigateCommand : JBProtocolCommand(NAVIGATE_COMMAND) {
|
||||
// handles URLs of the following types:
|
||||
|
||||
// jetbrains://idea/navigate/reference?project=IDEA
|
||||
// [&reference[X]=com.intellij.openapi.project.impl.JBProtocolNavigateCommand[.perform][#perform]]+
|
||||
// [&reference[X]=com.intellij.navigation.JBProtocolNavigateCommand[.perform][#perform]]+
|
||||
// [&path[X]=com/intellij/openapi/project/impl/JBProtocolNavigateCommand.kt[:23[:1]]]+
|
||||
// [&selection[X]=25:5-26:6]+
|
||||
|
||||
@@ -530,7 +530,7 @@
|
||||
|
||||
<jbProtocolCommand implementation="com.intellij.openapi.project.impl.JBProtocolOpenProjectCommand"/>
|
||||
<jbProtocolCommand implementation="com.intellij.openapi.application.JBProtocolShutdownCommand"/>
|
||||
<jbProtocolCommand implementation="com.intellij.openapi.project.impl.JBProtocolNavigateCommand"/>
|
||||
<jbProtocolCommand implementation="com.intellij.navigation.JBProtocolNavigateCommand"/>
|
||||
|
||||
<intentionAction>
|
||||
<className>com.intellij.openapi.editor.actions.FlipCommaIntention</className>
|
||||
|
||||
Reference in New Issue
Block a user