File tree Expand file tree Collapse file tree 4 files changed +13
-8
lines changed
common/src/main/java/com/perl5/errorHandler
frontend/split/src/main/java/com/jetbrains/rdclient Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 1717# https://www.jetbrains.com/intellij-repository/releases
1818# https://www.jetbrains.com/intellij-repository/snapshots
1919name ="Perl5 Support (Camelcade)"
20- platformVersion =2025
21- platformBranch =.2
20+ platformVersion =253
21+ platformBranch =.24325.38-EAP-SNAPSHOT
2222platformBuild =
2323pluginVersion =
2424pluginBranch =
25- pluginBuild =.1
25+ pluginBuild =
2626platformToolsVersion =
27- useInstaller =true
27+ useInstaller =false
2828pycharmVersion =192.4787.5-EAP-SNAPSHOT
2929clionVersion =192.4787.12-EAP-SNAPSHOT
3030psiViewerVersion =252.23892.248
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2015-2025 Alexandr Evstigneev
2+ * Copyright 2015-2024 Alexandr Evstigneev
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -75,7 +75,7 @@ public class YoutrackErrorHandler extends ErrorReportSubmitter {
7575 public static final String YOUTRACK_PROPERTY_KEY = "youtrack.token" ;
7676 public static final String YOUTRACK_PROPERTY_VALUE = System .getProperty (YOUTRACK_PROPERTY_KEY );
7777 private static final String ADMIN_TOKEN = "Bearer " + YOUTRACK_PROPERTY_VALUE ;
78- private static final String ACCESS_TOKEN = "Bearer perm:YXV0b3JlcG9ydGVy.NjEtMjU=.QTSTEYOPmj2RcRsZqpySmbMi3OxUh7 " ;
78+ private static final String ACCESS_TOKEN = "Bearer perm:YXV0b3JlcG9ydGVy.NjEtMjY=.FgsJOlHXSdCSQTUyfagUKU9WlkrLhV " ;
7979
8080 @ Override
8181 public @ NotNull String getReportActionText () {
Original file line number Diff line number Diff line change @@ -18,12 +18,15 @@ package com.jetbrains.rdclient.actions.base
1818
1919import com.intellij.openapi.actionSystem.CommonDataKeys.EDITOR
2020import com.intellij.openapi.actionSystem.DataContext
21+ import com.intellij.openapi.fileTypes.FileType
2122import com.intellij.openapi.util.registry.Registry
2223import com.jetbrains.rdclient.actions.ActionCallStrategy
2324import com.perl5.lang.perl.util.PerlFrontendUtil
2425
2526class PerlBackendDelegatingActionCustomization : BackendDelegatingActionCustomization () {
26- override fun isAvailable (dataContext : DataContext ): Boolean = Registry .`is `(" perl5.frontend.speculative.actions.enabled" ) &&
27+ override fun isAvailable (dataContext : DataContext , fileType : FileType ? ): Boolean = isAvailable(dataContext)
28+
29+ private fun isAvailable (dataContext : DataContext ): Boolean = Registry .`is `(" perl5.frontend.speculative.actions.enabled" ) &&
2730 PerlFrontendUtil .isPluginDocument(EDITOR .getData(dataContext)?.document)
2831
2932 override fun getActionCallStrategy (dataContext : DataContext , frontendActionId : String ): ActionCallStrategy ? =
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ package com.jetbrains.rdclient.editorActions.cwm
1919import com.intellij.openapi.actionSystem.DataContext
2020import com.intellij.openapi.editor.Caret
2121import com.intellij.openapi.editor.Editor
22+ import com.intellij.openapi.fileTypes.FileType
2223import com.jetbrains.rd.ide.model.ActionCallStrategyKind
2324import com.perl5.lang.perl.util.PerlFrontendUtil
2425
@@ -31,7 +32,8 @@ class PerlFrontendEditorActionHandlerStrategyCustomizer : FrontendEditorActionHa
3132 actionId : String ,
3233 editor : Editor ,
3334 caret : Caret ? ,
34- dataContext : DataContext
35+ dataContext : DataContext ,
36+ fileType : FileType ?
3537 ): ActionCallStrategyKind ? =
3638 if ((actionId !in uncustomizableActions) && PerlFrontendUtil .isPluginDocument(editor.document))
3739 ActionCallStrategyKind .FrontendOnly
You can’t perform that action at this time.
0 commit comments