{"id":229773,"date":"2023-02-28T18:50:10","date_gmt":"2023-03-01T02:50:10","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/java\/?p=229773"},"modified":"2023-02-28T18:50:10","modified_gmt":"2023-03-01T02:50:10","slug":"java-on-visual-studio-code-update-february-2023","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/java\/java-on-visual-studio-code-update-february-2023\/","title":{"rendered":"Java on Visual Studio Code Update \u2013 February 2023"},"content":{"rendered":"<p>Hi everyone, welcome to our February update! In this blog we will bring you new features related to JUnit 5 parallel testing as well as new filter widget for Spring Boot dashboard. There is also some exciting news from GitHub Copilot, so let&#8217;s get started.<\/p>\n<h4><strong>JUnit 5 Parallel Testing Support<\/strong><\/h4>\n<p>JUnit 5 is a popular testing framework for Java developers, known for its comprehensive support for unit, integration, and functional testing. One of the significant improvements in JUnit 5 is its ability to execute tests in parallel, making testing faster and more efficient. Parallel execution distributes test cases across multiple threads, allowing them to run simultaneously, and delivering results much faster than running tests sequentially.<\/p>\n<p>In our latest release, we have supported the parallel testing feature in Visual Studio Code Java. To use this feature, you need to set <strong>junit-platform.properties<\/strong> file with line :<\/p>\n<pre class=\"prettyprint language-java\"><code class=\"language-java\">junit.jupiter.execution.parallel.mode.default = concurrent<\/code><\/pre>\n<p>To learn about more about parallel testing in JUnit 5, you can visit the <a href=\"https:\/\/junit.org\/junit5\/docs\/snapshot\/user-guide\/#writing-tests-parallel-execution\">official documentation.<\/a> Here&#8217;s a demo of this feature.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2023\/02\/parallel-test.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-229779\" src=\"https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2023\/02\/parallel-test.gif\" alt=\"Parallel Testing\" width=\"1938\" height=\"1776\" \/><\/a><\/p>\n<h4><strong>Filter Widget in Spring Boot Dashboard Extension<\/strong><\/h4>\n<p>We have added a new filter widget to the endpoint mapping view in the Spring Boot dashboard extension. This widget allows developers to quickly search and filter through the various endpoints within their Spring application, making it easier to locate specific endpoints and analyze their behavior.<\/p>\n<p>You can either use the exact filter or &#8220;fuzzy match&#8221; to search for the phrase you are interested in. By using the filter widget, developers can also easily identify duplicate or conflicting endpoints. Overall, the filter widget allows developers to efficiently manage their application&#8217;s endpoints and improve their development process. Here&#8217;s a demo for this feature.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2023\/02\/filter.gif\"><img decoding=\"async\" class=\"alignnone size-full wp-image-229777\" src=\"https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2023\/02\/filter.gif\" alt=\"Spring Boot filter \" width=\"1030\" height=\"1080\" \/><\/a><\/p>\n<h4><strong>GitHub Copilot AI Tech Upgraded and Generates 61% of Java Code<\/strong><\/h4>\n<p>In a <a href=\"https:\/\/visualstudiomagazine.com\/articles\/2023\/02\/15\/copilot-upgrade.aspx\">recent article<\/a> published on Visual Studio Code Magazine, it is revealed that GitHub Copilot already generates 61% of Java Code in editors where it&#8217;s used. In average, it is already behind 46% of developer&#8217;s code across all programming languages. Even though Java is a verbose programming languages, it sill shows that Java developers are embracing the power of GitHub copilot and AI technology. With the extended partnership between Microsoft and OpenAI, there will more exciting features coming to Visual Studio Code Java as well.<\/p>\n<h4><strong>Install Extension Pack for Java<\/strong><\/h4>\n<p>To use all features mentioned above, please download and install <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=vscjava.vscode-java-pack\">Extension Pack for Java<\/a> on Visual Studio Code.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2022\/09\/javapack.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-229421\" src=\"https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2022\/09\/javapack.png\" alt=\"Extension pack for Java\" width=\"1215\" height=\"238\" srcset=\"https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2022\/09\/javapack.png 1215w, https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2022\/09\/javapack-300x59.png 300w, https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2022\/09\/javapack-1024x201.png 1024w, https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2022\/09\/javapack-768x150.png 768w\" sizes=\"(max-width: 1215px) 100vw, 1215px\" \/><\/a><\/p>\n<p>If you are a Spring developer working on a Spring Boot application, you can also download the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=Pivotal.vscode-boot-dev-pack\">Spring Boot Extension Pack<\/a> for specialized Spring experience.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2022\/10\/spring.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-229533\" src=\"https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2022\/10\/spring.png\" alt=\"Spring boot extension pack\" width=\"1221\" height=\"224\" srcset=\"https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2022\/10\/spring.png 1221w, https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2022\/10\/spring-300x55.png 300w, https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2022\/10\/spring-1024x188.png 1024w, https:\/\/devblogs.microsoft.com\/java\/wp-content\/uploads\/sites\/51\/2022\/10\/spring-768x141.png 768w\" sizes=\"(max-width: 1221px) 100vw, 1221px\" \/><\/a><\/p>\n<p><span style=\"font-size: 18pt;\"><strong><span class=\"x-hidden-focus\">Feedback and suggestions<\/span><\/strong><\/span><\/p>\n<p>As always, your feedback and suggestions are very important to us and will help shape our product in future. There are several ways to give us feedback<\/p>\n<ul>\n<li>Leave your comment on this blog post<\/li>\n<li><a href=\"https:\/\/github.com\/microsoft\/vscode-java-pack\/issues\/new\/choose\" target=\"_blank\" rel=\"noopener\">Open an issue<\/a>\u00a0on our GitHub Issues page<\/li>\n<li>Send an email to: vscjfeedback@microsoft.com<\/li>\n<\/ul>\n<h2 id=\"try-it-out\" class=\"x-hidden-focus\"><span style=\"font-size: 18pt;\"><strong><span class=\"x-hidden-focus\">Resources<\/span><\/strong><\/span><\/h2>\n<p>Here is a list of links that are helpful to learn Java on Visual Studio Code.<\/p>\n<ul>\n<li class=\"x-hidden-focus\">Learn more about\u00a0<a class=\"x-hidden-focus\" href=\"https:\/\/code.visualstudio.com\/docs\/languages\/java\" target=\"_blank\" rel=\"noopener noreferrer\">Java on Visual Studio Code<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Hi everyone, welcome to our February update! In this blog we will bring you new features related to JUnit 5 parallel testing as well as new filter widget for Spring Boot dashboard. There is also some exciting news from GitHub Copilot, so let&#8217;s get started. JUnit 5 Parallel Testing Support JUnit 5 is a popular [&hellip;]<\/p>\n","protected":false},"author":31999,"featured_media":229785,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,22,1,8,15],"tags":[],"class_list":["post-229773","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-desktop","category-java","category-open-source","category-vscode"],"acf":[],"blog_post_summary":"<p>Hi everyone, welcome to our February update! In this blog we will bring you new features related to JUnit 5 parallel testing as well as new filter widget for Spring Boot dashboard. There is also some exciting news from GitHub Copilot, so let&#8217;s get started. JUnit 5 Parallel Testing Support JUnit 5 is a popular [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/posts\/229773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/users\/31999"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/comments?post=229773"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/posts\/229773\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/media\/229785"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/media?parent=229773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/categories?post=229773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/java\/wp-json\/wp\/v2\/tags?post=229773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}