Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main > Live merge #475

Merged
merged 7 commits into from
Jan 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion TerminalDocs/command-palette.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 02/25/2021
ms.topic: how-to
ms.localizationpriority: high
---

# How to use the command palette in Windows Terminal
Expand Down
1 change: 0 additions & 1 deletion TerminalDocs/customize-settings/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 10/15/2021
ms.topic: how-to
ms.localizationpriority: high
---

# Custom actions in Windows Terminal
Expand Down
1 change: 0 additions & 1 deletion TerminalDocs/customize-settings/appearance.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 10/08/2021
ms.topic: how-to
ms.localizationpriority: high
---

# Appearance settings in Windows Terminal
Expand Down
1 change: 0 additions & 1 deletion TerminalDocs/customize-settings/color-schemes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 04/14/2021
ms.topic: how-to
ms.localizationpriority: high
---

# Color schemes in Windows Terminal
Expand Down
1 change: 0 additions & 1 deletion TerminalDocs/customize-settings/interaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 10/05/2021
ms.topic: how-to
ms.localizationpriority: high
---

# Interaction settings in Windows Terminal
Expand Down
1 change: 0 additions & 1 deletion TerminalDocs/customize-settings/profile-advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 10/19/2021
ms.topic: how-to
ms.localizationpriority: high
---

# Advanced profile settings in Windows Terminal
Expand Down
1 change: 0 additions & 1 deletion TerminalDocs/customize-settings/profile-appearance.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 10/08/2021
ms.topic: how-to
ms.localizationpriority: high
---

# Appearance profile settings in Windows Terminal
Expand Down
1 change: 0 additions & 1 deletion TerminalDocs/customize-settings/profile-general.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 04/14/2021
ms.topic: how-to
ms.localizationpriority: high
---

# General profile settings in Windows Terminal
Expand Down
1 change: 0 additions & 1 deletion TerminalDocs/customize-settings/rendering.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 04/14/2021
ms.topic: how-to
ms.localizationpriority: high
---

# Rendering settings in Windows Terminal
Expand Down
3 changes: 2 additions & 1 deletion TerminalDocs/customize-settings/startup.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 10/08/2021
ms.topic: how-to
ms.localizationpriority: high
---

# Startup settings in Windows Terminal
Expand Down Expand Up @@ -77,6 +76,8 @@ Note: Currently, Windows Terminal will save the following information:

- The tab layout of each window, including the layout and profile of each pane, but not any contents of those panes

- If your shell is configured to report the [current working directory](../tutorials/new-tab-same-directory.md) that will be saved as well

**Property name:** `firstWindowPreference`

**Necessity:** Optional
Expand Down
30 changes: 28 additions & 2 deletions TerminalDocs/dynamic-profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,38 @@ For more details, see the Terminals section of the [MSYS2 documentation](https:/

### Developer Command Prompt for Visual Studio

Assuming that you've installed [Visual Studio 2019 Professional](https://visualstudio.microsoft.com/downloads/):
Assuming that you've installed [Visual Studio](/visualstudio/install/install-visual-studio):

```json
{
"name": "Developer Command Prompt for VS 2019",
"name": "Developer Command Prompt",
"commandline": "cmd.exe /k \"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/Common7/Tools/VsDevCmd.bat\"",
"startingDirectory": "%USERPROFILE%"
}
```

> [!NOTE]
> Visual Studio’s “Developer Powershell” and “Developer Command Prompt” include shell environment variables and tools settings that would not be available in the default Command Prompt or Powershell instance.

### Developer Powershell for Visual Studio

Assuming that you've installed [Visual Studio](/visualstudio/install/install-visual-studio):

```json
{
"name": "Developer Powershell",
"commandline": "powershell.exe -noe -c \"&{Import-Module \"\"\"C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/Common7/Tools/Microsoft.VisualStudio.DevShell.dll\"\"\"; Enter-VsDevShell 994a9d58}\""
}
```

To find the `commandline` path to use in the Windows Terminal settings for your Visual Studio instance:

1. Find the shortcut to `Developer Powershell for VS 2019` in the start menu
2. Right-click and select `Open File Location`
3. Right-click and select `Properties` on the shortcut
4. Inspect the `Target` field. It will be some value like `C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -noe -c "&{Import-Module """C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\Microsoft.VisualStudio.DevShell.dll"""; Enter-VsDevShell 994a9d58}"`
5. Use `Target` field value to update the file path for `Import-Module` in the profile `commandline`
6. Use `Target` field value to update the unique instance ID used with the `Enter-VsDevShell` command in the profile `commandline`

> [!NOTE]
> Visual Studio’s “Developer Powershell” and “Developer Command Prompt” include shell environment variables and tools settings that would not be available in the default Command Prompt or Powershell instance.
Binary file added TerminalDocs/images/ohmyposh-terminal-prompt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion TerminalDocs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 09/22/2020
ms.topic: overview
ms.localizationpriority: high
---

# What is Windows Terminal?
Expand Down
1 change: 0 additions & 1 deletion TerminalDocs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 10/04/2021
ms.topic: quickstart
ms.localizationpriority: high
---

# Install and get started setting up Windows Terminal
Expand Down
1 change: 0 additions & 1 deletion TerminalDocs/samples.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 11/16/2021
ms.topic: samples
ms.localizationpriority: medium
---

# Windows Terminal sample code
Expand Down
1 change: 0 additions & 1 deletion TerminalDocs/tips-and-tricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 10/08/2021
ms.topic: how-to
ms.localizationpriority: high
---

# Windows Terminal tips and tricks
Expand Down
1 change: 0 additions & 1 deletion TerminalDocs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ author: cinnamon-msft
ms.author: cinnamon
ms.date: 10/08/2021
ms.topic: overview
ms.localizationpriority: high
---

# Troubleshooting in Windows Terminal
Expand Down
Loading