Skip to content

Commit e5099bb

Browse files
authored
Add "Open Help Center" step in walkthrough (#1002)
1 parent 121a2a6 commit e5099bb

File tree

5 files changed

+233
-5
lines changed

5 files changed

+233
-5
lines changed

package.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,20 @@
118118
"title": "Explore more Java resources",
119119
"description": "%walkthrough.java.more%",
120120
"media": {
121-
"svg": "walkthrough/ok.svg",
121+
"svg": "walkthrough/helpCenter.svg",
122122
"altText": "Explore more Java resources"
123-
}
123+
},
124+
"when": "!isMac"
125+
},
126+
{
127+
"id": "java.moreForMac",
128+
"title": "Explore more Java resources",
129+
"description": "%walkthrough.java.more%",
130+
"media": {
131+
"svg": "walkthrough/helpCenterMac.svg",
132+
"altText": "Explore more Java resources"
133+
},
134+
"when": "isMac"
124135
}
125136
]
126137
}
@@ -280,6 +291,12 @@
280291
],
281292
"priority": "option"
282293
}
294+
],
295+
"keybindings":[
296+
{
297+
"command": "java.welcome",
298+
"key": "shift+f1"
299+
}
283300
]
284301
},
285302
"scripts": {

package.nls.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111

1212
"walkthrough.java.extensions": "Install extensions to support additional frameworks such as Spring Boot, Application Servers, key mappings and so on.\n[Browse Recommended Extensions](command:toSide:java.extGuide)",
1313

14-
"walkthrough.java.more": "- 🎉 If you want to run your project with a specific runtime, you can [Configure Java Runtime](command:toSide:java.runtime).\n\n- 🎉 Visit [Dev Blogs](https://aka.ms/java-walkthrough-devblogs) to keep up-to-date with our latest product updates and announcements.\n\n- ✨ Discover more shortcuts and features in [Help Center](command:toSide:java.welcome.fromWalkthrough) or check documentation for tips and troubleshooting.\n\n- ✨ Report issues and feedback at our [Github repository](https://aka.ms/java-walkthrough-issue)."
14+
"walkthrough.java.more": "✨ Help Center provides tips, resources and links to help you get answers to the most common questions to learn Java on VS Code.\n[Open Help Center](command:java.welcome)"
1515
}

src/welcome/assets/components/Header.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import * as React from "react";
55
import { encodeCommandUriWithTelemetry } from "../../../utils/webview";
66
import { WEBVIEW_ID } from "../utils";
7-
const logo = require("../../../../logo.svg");
87

98
const DEV_BLOG_LINK = "https://devblogs.microsoft.com/?s=Java+on+Visual+Studio+Code";
109
export default class Header extends React.Component {
@@ -15,7 +14,6 @@ export default class Header extends React.Component {
1514
const subtitle = <span>Check our {blogsLink} to see what's new</span>;
1615
return (
1716
<div className="header mt-4">
18-
<img alt="logo" src={logo} className="logo"></img>
1917
<div>
2018
{title}
2119
{subtitle}

0 commit comments

Comments
 (0)