[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:
Konstantin Hudyakov
2025-06-18 13:30:46 +03:00
committed by intellij-monorepo-bot
parent 5c55ca407e
commit fcd573aada
2 changed files with 0 additions and 4 deletions

View File

@@ -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")),

View File

@@ -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()) {