Skip to content

Commit

Permalink
refactor: change launch group and launch option name (#12617)
Browse files Browse the repository at this point in the history
* refactor: change launch group

* refactor: change name
  • Loading branch information
frankqianms authored Oct 29, 2024
1 parent 36de4c2 commit 44f9e82
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 90 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"request": "launch",
"url": "https://teams.microsoft.com/l/app/${{TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",
"presentation": {
"group": "3-remote",
"order": 1
"group": "1-Teams",
"order": 4
},
"internalConsoleOptions": "neverOpen"
},
Expand All @@ -18,8 +18,8 @@
"request": "launch",
"url": "https://teams.microsoft.com/l/app/${{TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",
"presentation": {
"group": "3-remote",
"order": 2
"group": "1-Teams",
"order": 5
},
"internalConsoleOptions": "neverOpen"
},
Expand All @@ -29,8 +29,8 @@
"request": "launch",
"preLaunchTask": "Start Teams App in Desktop Client (Remote)",
"presentation": {
"group": "3-remote",
"order": 3
"group": "1-Teams",
"order": 6
},
"internalConsoleOptions": "neverOpen"
},
Expand Down Expand Up @@ -83,7 +83,7 @@
"request": "launch",
"url": "https://www.office.com/chat?auth=2&${account-hint}",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 3
},
"internalConsoleOptions": "neverOpen"
Expand All @@ -94,7 +94,7 @@
"request": "launch",
"url": "https://www.office.com/chat?auth=2&${account-hint}",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 4
},
"internalConsoleOptions": "neverOpen"
Expand All @@ -108,7 +108,7 @@
"cascadeTerminateToConfigurations": ["Start Python"],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "1-local",
"group": "1-Teams",
"order": 1
},
"stopAll": true
Expand All @@ -119,7 +119,7 @@
"cascadeTerminateToConfigurations": ["Start Python"],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "1-local",
"group": "1-Teams",
"order": 2
},
"stopAll": true
Expand All @@ -129,7 +129,7 @@
"configurations": ["Start Python"],
"preLaunchTask": "Start Teams App in Desktop Client",
"presentation": {
"group": "1-local",
"group": "1-Teams",
"order": 3
},
"stopAll": true
Expand All @@ -152,23 +152,23 @@
{{#CEAEnabled}}
},
{
"name": "Preview in Copilot (Edge)",
"name": "Debug in Copilot (Edge)",
"configurations": ["Launch Remote in Copilot (Edge)", "Start Python"],
"cascadeTerminateToConfigurations": ["Start Python"],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 1
},
"stopAll": true
},
{
"name": "Preview in Copilot (Chrome)",
"name": "Debug in Copilot (Chrome)",
"configurations": ["Launch Remote in Copilot (Chrome)", "Start Python"],
"cascadeTerminateToConfigurations": ["Start Python"],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 2
},
"stopAll": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"request": "launch",
"url": "https://teams.microsoft.com/l/app/${{TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",
"presentation": {
"group": "3-remote",
"order": 1
"group": "1-Teams",
"order": 4
},
"internalConsoleOptions": "neverOpen"
},
Expand All @@ -18,8 +18,8 @@
"request": "launch",
"url": "https://teams.microsoft.com/l/app/${{TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",
"presentation": {
"group": "3-remote",
"order": 2
"group": "1-Teams",
"order": 5
},
"internalConsoleOptions": "neverOpen"
},
Expand All @@ -29,8 +29,8 @@
"request": "launch",
"preLaunchTask": "Start Teams App in Desktop Client (Remote)",
"presentation": {
"group": "3-remote",
"order": 3
"group": "1-Teams",
"order": 6
},
"internalConsoleOptions": "neverOpen"
},
Expand Down Expand Up @@ -83,7 +83,7 @@
"request": "launch",
"url": "https://www.office.com/chat?auth=2&${account-hint}",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 3
},
"internalConsoleOptions": "neverOpen"
Expand All @@ -94,7 +94,7 @@
"request": "launch",
"url": "https://www.office.com/chat?auth=2&${account-hint}",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 4
},
"internalConsoleOptions": "neverOpen"
Expand All @@ -108,7 +108,7 @@
"cascadeTerminateToConfigurations": ["Start Python"],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "1-local",
"group": "1-Teams",
"order": 1
},
"stopAll": true
Expand All @@ -119,7 +119,7 @@
"cascadeTerminateToConfigurations": ["Start Python"],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "1-local",
"group": "1-Teams",
"order": 2
},
"stopAll": true
Expand All @@ -129,7 +129,7 @@
"configurations": ["Start Python"],
"preLaunchTask": "Start Teams App in Desktop Client",
"presentation": {
"group": "1-local",
"group": "1-Teams",
"order": 3
},
"stopAll": true
Expand All @@ -152,23 +152,23 @@
{{#CEAEnabled}}
},
{
"name": "Preview in Copilot (Edge)",
"name": "Debug in Copilot (Edge)",
"configurations": ["Launch Remote in Copilot (Edge)", "Start Python"],
"cascadeTerminateToConfigurations": ["Start Python"],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 1
},
"stopAll": true
},
{
"name": "Preview in Copilot (Chrome)",
"name": "Debug in Copilot (Chrome)",
"configurations": ["Launch Remote in Copilot (Chrome)", "Start Python"],
"cascadeTerminateToConfigurations": ["Start Python"],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 2
},
"stopAll": true
Expand Down
30 changes: 15 additions & 15 deletions templates/python/custom-copilot-basic/.vscode/launch.json.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"request": "launch",
"url": "https://teams.microsoft.com/l/app/${{TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",
"presentation": {
"group": "3-remote",
"order": 1
"group": "1-Teams",
"order": 4
},
"internalConsoleOptions": "neverOpen"
},
Expand All @@ -18,8 +18,8 @@
"request": "launch",
"url": "https://teams.microsoft.com/l/app/${{TEAMS_APP_ID}}?installAppPackage=true&webjoin=true&${account-hint}",
"presentation": {
"group": "3-remote",
"order": 2
"group": "1-Teams",
"order": 5
},
"internalConsoleOptions": "neverOpen"
},
Expand All @@ -29,8 +29,8 @@
"request": "launch",
"preLaunchTask": "Start Teams App in Desktop Client (Remote)",
"presentation": {
"group": "3-remote",
"order": 3
"group": "1-Teams",
"order": 6
},
"internalConsoleOptions": "neverOpen"
},
Expand Down Expand Up @@ -83,7 +83,7 @@
"request": "launch",
"url": "https://www.office.com/chat?auth=2&${account-hint}",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 3
},
"internalConsoleOptions": "neverOpen"
Expand All @@ -94,7 +94,7 @@
"request": "launch",
"url": "https://www.office.com/chat?auth=2&${account-hint}",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 4
},
"internalConsoleOptions": "neverOpen"
Expand All @@ -108,7 +108,7 @@
"cascadeTerminateToConfigurations": ["Start Python"],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "1-local",
"group": "1-Teams",
"order": 1
},
"stopAll": true
Expand All @@ -119,7 +119,7 @@
"cascadeTerminateToConfigurations": ["Start Python"],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "1-local",
"group": "1-Teams",
"order": 2
},
"stopAll": true
Expand All @@ -129,7 +129,7 @@
"configurations": ["Start Python"],
"preLaunchTask": "Start Teams App in Desktop Client",
"presentation": {
"group": "1-local",
"group": "1-Teams",
"order": 3
},
"stopAll": true
Expand All @@ -152,23 +152,23 @@
{{#CEAEnabled}}
},
{
"name": "Preview in Copilot (Edge)",
"name": "Debug in Copilot (Edge)",
"configurations": ["Launch Remote in Copilot (Edge)", "Start Python"],
"cascadeTerminateToConfigurations": ["Start Python"],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 1
},
"stopAll": true
},
{
"name": "Preview in Copilot (Chrome)",
"name": "Debug in Copilot (Chrome)",
"configurations": ["Launch Remote in Copilot (Chrome)", "Start Python"],
"cascadeTerminateToConfigurations": ["Start Python"],
"preLaunchTask": "Start Teams App Locally",
"presentation": {
"group": "4-M365",
"group": "3-M365",
"order": 2
},
"stopAll": true
Expand Down
Loading

0 comments on commit 44f9e82

Please sign in to comment.