Skip to content

Commit dbc08b5

Browse files
committed
add f5 in Word-Add-in-AI-Assistant
1 parent 4654903 commit dbc08b5

File tree

6 files changed

+182
-4
lines changed

6 files changed

+182
-4
lines changed

Word-Add-in-AI-Assistant/.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ npm-debug.log*
1010

1111
# Editor directories and files
1212
.idea
13-
.vscode
1413
*.suo
1514
*.ntvs*
1615
*.njsproj
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3+
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
4+
5+
// List of extensions which should be recommended for users of this workspace.
6+
"recommendations": [
7+
"ms-edgedevtools.vscode-edge-devtools",
8+
"msoffice.microsoft-office-add-in-debugger",
9+
"dbaeumer.vscode-eslint",
10+
"esbenp.prettier-vscode"
11+
],
12+
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
13+
"unwantedRecommendations": []
14+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Word Desktop (Edge Chromium)",
9+
"type": "msedge",
10+
"request": "attach",
11+
"port": 9229,
12+
"timeout": 600000,
13+
"webRoot": "${workspaceRoot}",
14+
"preLaunchTask": "Debug: Word Desktop",
15+
"postDebugTask": "Stop Debug"
16+
},
17+
{
18+
"name": "Word Desktop (Edge Legacy)",
19+
"type": "office-addin",
20+
"request": "attach",
21+
"url": "https://localhost:3000/taskpane.html?_host_Info=Word$Win32$16.01$en-US$$$$0",
22+
"port": 9222,
23+
"timeout": 600000,
24+
"webRoot": "${workspaceRoot}",
25+
"preLaunchTask": "Debug: Word Desktop",
26+
"postDebugTask": "Stop Debug"
27+
}
28+
]
29+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"eslint.validate": [
3+
"javascript",
4+
"javascriptreact",
5+
"typescript"
6+
]
7+
}
8+
+130
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"label": "Build (Development)",
8+
"type": "npm",
9+
"script": "build:dev",
10+
"group": {
11+
"kind": "build",
12+
"isDefault": true
13+
},
14+
"presentation": {
15+
"clear": true,
16+
"panel": "shared",
17+
"showReuseMessage": false
18+
}
19+
},
20+
{
21+
"label": "Build (Production)",
22+
"type": "npm",
23+
"script": "build",
24+
"group": "build",
25+
"presentation": {
26+
"clear": true,
27+
"panel": "shared",
28+
"showReuseMessage": false
29+
}
30+
},
31+
{
32+
"label": "Debug: Excel Desktop",
33+
"type": "npm",
34+
"script": "start:desktop -- --app excel",
35+
"presentation": {
36+
"clear": true,
37+
"panel": "dedicated",
38+
},
39+
"problemMatcher": []
40+
},
41+
{
42+
"label": "Debug: Outlook Desktop",
43+
"type": "npm",
44+
"script": "start:desktop -- --app outlook",
45+
"presentation": {
46+
"clear": true,
47+
"panel": "dedicated",
48+
},
49+
"problemMatcher": []
50+
},
51+
{
52+
"label": "Debug: PowerPoint Desktop",
53+
"type": "npm",
54+
"script": "start:desktop -- --app powerpoint",
55+
"presentation": {
56+
"clear": true,
57+
"panel": "dedicated",
58+
},
59+
"problemMatcher": []
60+
},
61+
{
62+
"label": "Debug: Word Desktop",
63+
"type": "npm",
64+
"script": "start:desktop -- --app word",
65+
"presentation": {
66+
"clear": true,
67+
"panel": "dedicated",
68+
},
69+
"problemMatcher": []
70+
},
71+
{
72+
"label": "Dev Server",
73+
"type": "npm",
74+
"script": "dev-server",
75+
"presentation": {
76+
"clear": true,
77+
"panel": "dedicated"
78+
},
79+
"problemMatcher": []
80+
},
81+
{
82+
"label": "Install",
83+
"type": "npm",
84+
"script": "install",
85+
"presentation": {
86+
"clear": true,
87+
"panel": "shared",
88+
"showReuseMessage": false
89+
},
90+
"problemMatcher": []
91+
},
92+
{
93+
"label": "Lint: Check for problems",
94+
"type": "npm",
95+
"script": "lint",
96+
"problemMatcher": [
97+
"$eslint-stylish"
98+
]
99+
},
100+
{
101+
"label": "Lint: Fix all auto-fixable problems",
102+
"type": "npm",
103+
"script": "lint:fix",
104+
"problemMatcher": [
105+
"$eslint-stylish"
106+
]
107+
},
108+
{
109+
"label": "Stop Debug",
110+
"type": "npm",
111+
"script": "stop",
112+
"presentation": {
113+
"clear": true,
114+
"panel": "shared",
115+
"showReuseMessage": false
116+
},
117+
"problemMatcher": []
118+
},
119+
{
120+
"label": "Watch",
121+
"type": "npm",
122+
"script": "watch",
123+
"presentation": {
124+
"clear": true,
125+
"panel": "dedicated"
126+
},
127+
"problemMatcher": []
128+
},
129+
]
130+
}

Word-Add-in-AI-Assistant/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,4 @@ Copyright (c) 2021 Microsoft Corporation. All rights reserved.
7272

7373
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information, see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [[email protected]](mailto:[email protected]) with any additional questions or comments.
7474

75-
**Note**: The taskpane.html file contains an image URL that tracks diagnostic data for this sample add-in. Please remove the image tag if you reuse this sample in your own code project.
76-
77-
<img src="https://pnptelemetry.azurewebsites.net/pnp-officeaddins/samples/word-add-in-aiassistant">
75+
**Note**: The taskpane.html file contains an image URL that tracks diagnostic data for this sample add-in. Please remove the image tag if you reuse this sample in your own code project.

0 commit comments

Comments
 (0)