mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
[terminal] IJPL-192424 Make API for checking terminal engine public
So, external plugins may use it. (cherry picked from commit 75cf70a16f21c6f722fad314ed391c4b77438cba) IJ-CR-166213 GitOrigin-RevId: 0e7347a34e1280531d206a0ff37e9f1256862f7d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5c55ca407e
commit
fcd573aada
@@ -1,10 +1,8 @@
|
||||
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package org.jetbrains.plugins.terminal
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
import org.jetbrains.annotations.Nls
|
||||
|
||||
@ApiStatus.Internal
|
||||
enum class TerminalEngine(val presentableName: @Nls String) {
|
||||
REWORKED(TerminalBundle.message("terminal.engine.reworked")),
|
||||
CLASSIC(TerminalBundle.message("terminal.engine.classic")),
|
||||
|
||||
@@ -88,8 +88,6 @@ class TerminalOptionsProvider(private val coroutineScope: CoroutineScope) : Pers
|
||||
* But the setter applies the provided value to both monolith and RemDev modes.
|
||||
* So, when a user changes the default in any mode, it will be applied everywhere.
|
||||
*/
|
||||
@get:ApiStatus.Internal
|
||||
@set:ApiStatus.Internal
|
||||
var terminalEngine: TerminalEngine
|
||||
get() {
|
||||
return if (AppMode.isRemoteDevHost() || PlatformUtils.isJetBrainsClient()) {
|
||||
|
||||
Reference in New Issue
Block a user