Do you want your ad here?

Contact us to get your ad seen by thousands of users every day!

[email protected]

New Java Welcome Page for VS Code

  • April 19, 2021
  • 3134 Unique Views
  • 2 min read
Table of Contents

For many of us, it's Spring now, a season for being refreshed, no exception to VS Code. In this blog, we will share with you our experiments with a new Welcome Page.

New Welcome Page

A common thing at first-time use is spending a couple of minutes browsing the Welcome Page and trying features from there. Users’ satisfaction with the Welcome Page has a direct reflection on their satisfaction with the product and consequently affects their decision of adoption. Therefore, we believe it’s worth the effort to experiment with a refreshed Java Welcome Page.

Our new design focuses on three things: help users find the most important features, get started for the first project, and access references.

Feature tour

A step-by-step feature tour is displayed when the Welcome Page is opened for the first time. The tour covers the most important Java features for a user, opening project, managing project, running and debugging project, and testing project. The tour embeds links that take you directly to these features.

The Welcome Page

After the feature tour, you will be taken to the Welcome Page. Besides creating a new project or importing an existing project, the page also provides you with access to a set of selected references in the groups of Configuration, Spring and Student. In addition, you can find our blog, Twitter and GitHub repository on the page to keep connected with us.

Launching

The new design is in experiment. You can launch the page by Ctrl+Shift+P to open command palette and then typing “java welcome” on the palette. Please, try it and give us your feedback. We would love to hear from you.

Until next time, happy coding!

Do you want your ad here?

Contact us to get your ad seen by thousands of users every day!

[email protected]

Comments (2)

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

Tobiloba avatar

Tobiloba

3 years ago

I see that you save the point of interest as text in the DB but the response gotten from ChatGPT is JSON. Does this mean you convert the response into string using libraries like gson before saving it in the database?

16

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

Denis Magda avatar

Denis Magda

3 years ago

Hey, The response is a String object in the JSON format [1]. The repository takes this JSON string as is and stores to the database [2]. Presently, Spring Data auto-generates the CREATE TABLE statement on the startup and sets the "point of interest" column's type to "text" (or "varchar", don't remember). However, it's always possible to ask Spring Data to use the "json" or "jsonb" type for the column if you wish to query the JSON at the database level. Finally, Vaadin displays a list of PointsOfInterests. Those are generated using the org.json library [3]. Let me know if you have other questions. Hope this helps. [1] https://github.com/YugabyteDB-Samples/budget-journey-gpt/blob/main/src/main/java/com/yugabyte/com/TripsAdvisorService.java#L103 [2] https://github.com/YugabyteDB-Samples/budget-journey-gpt/blob/main/src/main/java/com/yugabyte/com/TripsAdvisorService.java#L74 [3] https://github.com/YugabyteDB-Samples/budget-journey-gpt/blob/main/src/main/java/com/yugabyte/com/TripsAdvisorService.java#L114

23

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard