diff --git a/platform/lang-impl/src/com/intellij/ide/scratch/ScratchFileActions.java b/platform/lang-impl/src/com/intellij/ide/scratch/ScratchFileActions.java index 2d08e5755829..a0d557c40036 100644 --- a/platform/lang-impl/src/com/intellij/ide/scratch/ScratchFileActions.java +++ b/platform/lang-impl/src/com/intellij/ide/scratch/ScratchFileActions.java @@ -1,4 +1,7 @@ -// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +// +// Modified by Nikita Iarychenko at 2025 as part of the OpenIDE project(https://openide.ru). +// Any modifications are available on the same license terms as the original source code. package com.intellij.ide.scratch; import com.intellij.icons.AllIcons; @@ -63,7 +66,7 @@ public final class ScratchFileActions { return ourCurrentBuffer; } - static final class NewFileAction extends DumbAwareAction implements NewFileActionWithCategory { + static final class NewFileAction extends DumbAwareAction { private static final String ACTION_ID = "NewScratchFile"; private final NotNullLazyValue<@Nls String> myActionText = NotNullLazyValue.lazy(() -> { @@ -170,10 +173,10 @@ public final class ScratchFileActions { } } - @Override - public @NotNull String getCategory() { - return "Scratch"; - } + //@Override + //public @NotNull String getCategory() { + // return "Scratch"; + //} } static final class NewBufferAction extends DumbAwareAction {