Microsoft/vscode

Support `when` clause for `terminal.profiles` contribution point

Open

#183.354 aberto em 24 de mai. de 2023

Ver no GitHub
 (4 comments) (5 reactions) (1 assignee)TypeScript (10.221 forks)batch import
feature-requesthelp wantedterminal-profiles

Métricas do repositório

Stars
 (74.848 stars)
Métricas de merge de PR
 (Mesclagem média 11h 43m) (1.000 fundiu PRs em 30d)

Description

I am in the process of implementing a virtual terminal using ExtensionTerminalOptions for my extension. The terminal can only be created if some conditions are met. I would like to hide the terminal profile from the menu if the conditions aren't true. Can you add support for a when clause in the terminal.profiles contribution point so this becomes possible? Thanks!

Guia do colaborador