WebStorm 2024.2

Released: Aug 12, 2024

Mises à jour de 2024.2

Fonctionnalités

Frameworks and Technologies

  • Enhanced file-system routing support - With this release, WebStorm is now able to resolve paths for frameworks that use file-system-based routing. It can resolve link paths based on your project's file system, providing autocompletion and navigation for Next.js, Nuxt, SvelteKit, and Astro. This ensures that your development environment keeps up with the routing scenarios employed by these frameworks.
  • Initial debugging support for Bun - Added debugging support for the Bun JavaScript runtime via the Debug Adapter Protocol (DAP). You can set breakpoints, step through code, inspect variables, and evaluate expressions within WebStorm. This support is currently limited to macOS and Linux.
  • Prettier integration enabled by default - In this release, Prettier integration is enabled in new projects with a direct prettier dependency in their root package.json and a Prettier configuration file at the same level. This feature simplifies the setup process and ensures that Prettier integration is enabled out of the box.
  • Tailwind CSS preview in the completion popup - Enhanced Tailwind CSS class previews in this release. Previously, the previews were only shown in a secondary documentation popup. WebStorm now displays Tailwind CSS class previews directly in the completion result list.
  • Support for Svelte 5 snippets - This release includes support for new Svelte code snippets and render tags. These snippets are designed to create reusable chunks of markup within your components.
  • Astro LSP - Enabled Astro Language Server Protocol (LSP) support, which improves code completion and the overall developer experience. This enhancement ensures more accurate and efficient development when working with Astro projects and provides better integration and support within the IDE.
  • Enhanced Vue support - This release introduces Vue Language Service v2 support. This update enhances support for Vue 3, improving autocompletion, error checking, and type inference. Enjoy a smoother development experience powered by the most recent version of Vue language tools and built-in WebStorm support.

JavaScript and TypeScript

  • Run TypeScript files directly - You can now run and debug TypeScript files without any additional setup. You can execute TypeScript files from different entry points, including the file context menu, the Run widget, and the Current File configuration.
  • Project generators for JavaScript and TypeScript - This release enhances the New Project Wizard by adding a new option to create basic JavaScript and TypeScript projects. The Generate a playground project with onboarding tips option includes tip comments to help you get familiar with the IDE.
  • TypeScript 5.5 support - This release adds support for the configDir template variable in TypeScript 5.5. This enhancement improves the flexibility and configurability of TypeScript projects.
  • Reworked inlay hints in TypeScript files - Inlay hints have been reworked in TypeScript to better align with the information provided by the TypeScript service.

User Experience

  • Support for math syntax in Markdown files - WebStorm can now render mathematical expressions in Markdown files. You can use $ to insert inline math expressions and $$ for code blocks containing math content.
  • AI Assistant improvements - JetBrains AI Assistant 2024.2 introduces enhanced code completion with more accurate and faster suggestions. The AI chat now supports GPT-4o, chat references, and semantic search for better context understanding.
  • Preview option in Search Everywhere - The Search Everywhere dialog now includes an option to preview the codebase elements you're searching for. You can enable the preview through the icon on the dialog's toolbar.
  • Bundled localization plugins - Chinese, Korean, and Japanese language packages are now bundled in WebStorm distributions. If you would like to change the language of the IDE's UI, you can do so without installing the localization plugin. Go to Settings | Appearance & Behavior | System Settings | Language and Region, and select your preferred language.
  • New UI default for all users - The new UI was first introduced in WebStorm 2022.3. It is now set it as the default for all WebStorm users.
  • JetBrains Runtime 21 - WebStorm comes with JetBrains Runtime 21, which offers enhanced security and performance, as well as Wayland rendering support for Linux.

Version Control

  • Improved commit graph in the Log tab - Refined the color encoding and layout of the commit graph in the Log tab of the Git tool window. Important branch lines now consistently remain on the left-hand side of the graph and retain their designated colors, making them easier to identify and follow.
  • Enhanced Log tool window - All settings related to the Log tool window are now consolidated into a dedicated settings page, making it easy to customize its behavior in one convenient location.
  • --first-parent and --no-merges support - This release includes support for --first-parent. This option simplifies the log by hiding individual commits that came with the merge, making it easier to track changes. Filtering with the --no-merges command has also been added, which displays the history without any merge commits.