相关疑难解决方法(0)

PowerShell可用的所有颜色列表?

我正在搜索我可以在PowerShell中使用的所有颜色的列表.由于我们需要提供名称而不是hexnumber,因此很难确定是否存在颜色,至少如果您不知道如何:))

例如,as -foregroundcolor

write-host "hello world" -foregroundcolor "red"
Run Code Online (Sandbox Code Playgroud)

powershell powershell-2.0 powershell-3.0

14
推荐指数
6
解决办法
3万
查看次数

如何在 vscode 中突出显示用户指定的单词

我需要让我的 vscode 突出显示特定的单词,以便我可以在代码中留下不同的注释,并在需要时轻松查看它们,例如:注意:颜色为绿色,调试为红色等等。

ide visual-studio-code vscode-settings

6
推荐指数
1
解决办法
8178
查看次数