Skip to content

Commit ac48153

Browse files
committed
Build 253.24325.38
1 parent 17c4ff7 commit ac48153

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
# https://www.jetbrains.com/intellij-repository/releases
1818
# https://www.jetbrains.com/intellij-repository/snapshots
1919
name="Perl5 Support (Camelcade)"
20-
platformVersion=2025
21-
platformBranch=.2
20+
platformVersion=253
21+
platformBranch=.24325.38-EAP-SNAPSHOT
2222
platformBuild=
2323
pluginVersion=
2424
pluginBranch=
25-
pluginBuild=.1
25+
pluginBuild=
2626
platformToolsVersion=
27-
useInstaller=true
27+
useInstaller=false
2828
pycharmVersion=192.4787.5-EAP-SNAPSHOT
2929
clionVersion=192.4787.12-EAP-SNAPSHOT
3030
psiViewerVersion=252.23892.248

plugin/common/src/main/java/com/perl5/errorHandler/YoutrackErrorHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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() {

plugin/frontend/split/src/main/java/com/jetbrains/rdclient/actions/base/PerlBackendDelegatingActionCustomization.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,15 @@ package com.jetbrains.rdclient.actions.base
1818

1919
import com.intellij.openapi.actionSystem.CommonDataKeys.EDITOR
2020
import com.intellij.openapi.actionSystem.DataContext
21+
import com.intellij.openapi.fileTypes.FileType
2122
import com.intellij.openapi.util.registry.Registry
2223
import com.jetbrains.rdclient.actions.ActionCallStrategy
2324
import com.perl5.lang.perl.util.PerlFrontendUtil
2425

2526
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") &&
2730
PerlFrontendUtil.isPluginDocument(EDITOR.getData(dataContext)?.document)
2831

2932
override fun getActionCallStrategy(dataContext: DataContext, frontendActionId: String): ActionCallStrategy? =

plugin/frontend/split/src/main/java/com/jetbrains/rdclient/editorActions/cwm/PerlFrontendEditorActionHandlerStrategyCustomizer.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package com.jetbrains.rdclient.editorActions.cwm
1919
import com.intellij.openapi.actionSystem.DataContext
2020
import com.intellij.openapi.editor.Caret
2121
import com.intellij.openapi.editor.Editor
22+
import com.intellij.openapi.fileTypes.FileType
2223
import com.jetbrains.rd.ide.model.ActionCallStrategyKind
2324
import 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

0 commit comments

Comments
 (0)