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 17
17
# https://www.jetbrains.com/intellij-repository/releases
18
18
# https://www.jetbrains.com/intellij-repository/snapshots
19
19
name ="Perl5 Support (Camelcade)"
20
- platformVersion =2025
21
- platformBranch =.2
20
+ platformVersion =253
21
+ platformBranch =.24325.38-EAP-SNAPSHOT
22
22
platformBuild =
23
23
pluginVersion =
24
24
pluginBranch =
25
- pluginBuild =.1
25
+ pluginBuild =
26
26
platformToolsVersion =
27
- useInstaller =true
27
+ useInstaller =false
28
28
pycharmVersion =192.4787.5-EAP-SNAPSHOT
29
29
clionVersion =192.4787.12-EAP-SNAPSHOT
30
30
psiViewerVersion =252.23892.248
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2015-2025 Alexandr Evstigneev
2
+ * Copyright 2015-2024 Alexandr Evstigneev
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -75,7 +75,7 @@ public class YoutrackErrorHandler extends ErrorReportSubmitter {
75
75
public static final String YOUTRACK_PROPERTY_KEY = "youtrack.token" ;
76
76
public static final String YOUTRACK_PROPERTY_VALUE = System .getProperty (YOUTRACK_PROPERTY_KEY );
77
77
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 " ;
79
79
80
80
@ Override
81
81
public @ NotNull String getReportActionText () {
Original file line number Diff line number Diff line change @@ -18,12 +18,15 @@ package com.jetbrains.rdclient.actions.base
18
18
19
19
import com.intellij.openapi.actionSystem.CommonDataKeys.EDITOR
20
20
import com.intellij.openapi.actionSystem.DataContext
21
+ import com.intellij.openapi.fileTypes.FileType
21
22
import com.intellij.openapi.util.registry.Registry
22
23
import com.jetbrains.rdclient.actions.ActionCallStrategy
23
24
import com.perl5.lang.perl.util.PerlFrontendUtil
24
25
25
26
class 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" ) &&
27
30
PerlFrontendUtil .isPluginDocument(EDITOR .getData(dataContext)?.document)
28
31
29
32
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
19
19
import com.intellij.openapi.actionSystem.DataContext
20
20
import com.intellij.openapi.editor.Caret
21
21
import com.intellij.openapi.editor.Editor
22
+ import com.intellij.openapi.fileTypes.FileType
22
23
import com.jetbrains.rd.ide.model.ActionCallStrategyKind
23
24
import com.perl5.lang.perl.util.PerlFrontendUtil
24
25
@@ -31,7 +32,8 @@ class PerlFrontendEditorActionHandlerStrategyCustomizer : FrontendEditorActionHa
31
32
actionId : String ,
32
33
editor : Editor ,
33
34
caret : Caret ? ,
34
- dataContext : DataContext
35
+ dataContext : DataContext ,
36
+ fileType : FileType ?
35
37
): ActionCallStrategyKind ? =
36
38
if ((actionId !in uncustomizableActions) && PerlFrontendUtil .isPluginDocument(editor.document))
37
39
ActionCallStrategyKind .FrontendOnly
You can’t perform that action at this time.
0 commit comments