WebStorm 2023.1.x

Released: Mar 28, 2023

2023.1.x での更新項目

2023.1.4

Updated Jul 14, 2023

Fixes

  • Fixed the issue with missing custom code style settings and they are now correctly preserved by the IDE.
  • Starting up the IDE no longer fails with the "CannotActivateException: Address already in use: bind" error.

2023.1.3

Updated Jun 21, 2023

Features

  • Volar support for Vue - Added Volar support for Vue to support the changes in TypeScript 5.0. This should provide more accurate error detection aligned with the Vue compiler.
  • Added the option to enable/disable automatic interpolation of string literals.

Fixes

  • Fixed the issue causing the Auto-close tag on typing ‘</’ option not to work for Astro.
  • Fixed the issue causing incorrect type inference for emitted events in Vue.
  • Fixed the issue causing the Nuxt useFetch() result type not to be inferred when using Prisma.
  • Fixed the issue causing the CSS color preview in the gutter to appear dull.
  • Fixed the issue causing the combineLatest function from rxjs to show as deprecated.
  • Fixed the regression issue in Angular when passing a value of <type> | undefined type as an optional prop value in the template.
  • Fixed the issue causing resolve for enum keys in Vue templates not to work correctly.

2023.1.2

Updated May 17, 2023

Features

  • Improved documentation for Angular-related symbols - Added more documentation for pipes, properties, and directives. You can see the documentation when you hover over symbols or invoke show documentation in completion (F1 / Ctrl+Q). The documentation will show you information not only for the property but also for the directive itself.
  • Updated the Prisma plugin previewFeatures to include jsonProtocol.

Fixes

  • Improved pipe reference resolution - Fixed the issue causing incorrect type evaluation for pipes with transform property with an indirect function instead of a method.
  • Fixed comment action in Astro - This build fixes the issue that was causing the IDE to add comments incorrectly in the Astro template part when invoking the comment action.
  • Fixed indent settings in Vue template - Fixed the issue causing Vue template indent settings to be ignored on reformatting. This regression prevented the correct code formatting as set in the indent preferences Settings | Editor | Code Style | Vue template.
  • Fixed the issue causing incorrect type definition for the Vue is attribute, which was throwing type mismatch errors when using component ref as :is prop.
  • Fixed the issue causing whitespace to be marked as an incorrect value in CSS Custom Properties.
  • Fixed the regression causing usages of components imported with barrel import to not be found in show usages.
  • Fixed the issue with the long inlay hints. Now long objects and union types will be collapsed by default.

2023.1.1

Updated Apr 28, 2023

Features

  • Vue support improvements:
    • Better New Vue Component action - Improved the New Vue Component action, which now allows you to choose the style of the component API, Options API, Composition API, and Class API, depending on the Vue version and the presence of the library for Class API.
      • The component file will be scaffolded with TypeScript if tsconfig.json is present in any parent folder.
      • It will also use the CSS preprocessor most used across the Vue files in the project.
    • Support namespaced components in script setup syntax - Added support for Namespaced Components. Components used in <template> tags are now correctly resolved and the navigation works as expected.
  • Tailwind CSS - Added support for ESM-based config files and you will now get completion suggestions.

Fixes

  • Fixes for Vue:
    • Fixed the issue causing WebStorm to falsely mark Vue lifecycle event methods as unused.
    • Fixed the issue causing component props and methods defined in separate files to not be recognized.
  • Angular fixes:
    • Fixed the type mismatch errors for the Angular Material datepicker that were happening in Angular templates.
    • Fixed the issue causing deprecated Angular components to not be displayed as "struck out".
    • Fixed the issue causing the highlighting in Angular HTML templates to stop working when editing code while debugging.
  • Astro fixes:
    • Fixed the issue causing Fragment to be marked as unknown in Astro components.
    • Fixed the issues causing completion to not work on tags and to not show up after < in HTML.
    • Fixed the TypeScript support in Astro client-side scripts, which was causing the false error "Types are not supported by current JavaScript version".
  • Tailwind CSS fixes:
    • Fixed the issue causing Tailwind CSS autocompletion not to work when a folder name contains brackets.
    • Fixed the issue causing the autocompletion not to work properly in some instances.
  • Other notable improvements:
    • Fixed the issues causing screen flickering when using the IDE.
    • Fixed the issue in our SvelteKit support path mapping, which was causing errors such as "Corresponding file is not included in tsconfig.json".

2023.1

Updated Mar 28, 2023

Features

Frameworks and Technologies

  • Astro support - You can now get Astro support through the new Astro plugin, which can be installed from Preferences / Settings | Plugins. The plugin provides basic functionality including syntax highlighting, code completion with automatic imports, refactorings, navigation, correct formatting, and more.
  • Support for TypeScript in Vue templates - Previously, JavaScript was used regardless of the lang attribute in the script tag. WebStorm will now provide support for inline casting, improved type narrowing, and correct information about inferred types in quick documentation in templates of Vue Single-File Components.
  • Custom component event completion in Vue - You will now get code completion for your custom component events in Vue templates. This works identically in both JavaScript and TypeScript.
  • Component imports added on copy-paste - When you copy and paste code from one file to another, WebStorm automatically adds all the required imports. This was previously the case with plain JavaScript, TypeScript languages, and React templates. In this release it now works for Vue, Svelte, Astro and Angular templates as well.
  • Parameter information for React props - Added a new way to show the expected type for a component prop. If you press Ctrl+P where props are passed to a component, you'll get a popup with type information. Before, this information was available only via hover, which was inconvenient for keyboard-centric users.
  • New features for Angular - WebStorm will now automatically add an import for global and exported symbols into your components on code completion when you are working in Angular templates. The IDE also supports the Angular 15 'NgoptimizedImage' directive by providing an inspection that suggests using ngSrc instead of src for img.
  • Ability to run Jest tests in folders - You can now run all the tests in a specific folder through the right-click context menu. This feature worked for Vitest, and now it is also implemented for Jest.
  • Docker improvements - The Dashboard tab of the Docker-compose node now pulls all the container logs together and displays them all in one place. Additionally, you can now connect to the Microsoft Azure Container Registry.
  • Svelte bug fixes - Reworked the way WebStorm evaluates $types in SvelteKit apps and fixed the issue with TypeScript-specific keywords in svelte files.

JavaScript and TypeScript

  • Automatic conversion of strings to template literals - WebStorm will now transform your single- or double-quoted strings into template literals automatically whenever you type ${. This works for raw strings as well as for JSX properties.
  • Better prioritization of imported libraries for auto-import - Improved the IDE's behavior when adding auto-imports from different libraries with the same exported element name. Auto-imports are now added based on existing imports in the project. If you need to add an import for an element from another library, the import statement must be added manually. WebStorm will provide a popup like in previous versions.
  • Aligned import behavior between TypeScript and JavaScript - Aligned the import behavior for TypeScript and JavaScript. In TypeScript, you'll be shown the import options in the context actions as you would in JavaScript.
  • Support for TypeScript features - WebStorm includes support for major features from the upcoming TypeScript 5.0. It now also provides full support for multiple config inheritance, the const modifier for type parameters, and the allowImportingTsExtensions flag.
  • Universal approach to handling file references - Improved the way WebStorm handles references in JavaScript, TypeScript, HTML, CSS, and various frameworks in this release. References are now handled in a more generic way across your projects.

Markup Languages and CSS

  • Tailwind CSS configuration - In this release, support for configuration options has been added, such as custom class name completion under the classAttributes option, or experimental ones like tailwindCSS.experimental.configFile.
  • Option to configure HTML code completion - WebStorm 2021.3 introduced completion for HTML that would show you tag names or abbreviations as you typed. This behavior can be distracting when entering plain text in HTML, so an option to disable it has been added.
  • Markdown improvements - You can now use a quick-fix to correct the formatting of Markdown tables. Also, there's a new Fill Paragraph editor action that makes it easy to break long pieces of text into several lines of equal width. A dedicated Markdown settings options page has been introduced under Preferences / Settings | Editor | General | Smart Keys.
  • Option to choose line comment style in PostCSS - There's a new option in Preferences / Settings | Editor | Code Style | Style Sheets | CSS | PostCSS that allows you to specify which line comment style is used in your PostCSS files. You can comment out lines using Ctrl+/, and it will be done using the line comment style you've chosen.

New UI

  • Vertical split for tool windows - This release lets you split the area of the tool windows and arrange them so you can see two at once. Drag the tool window icon from the sidebar and drop it under the separator. Alternatively, you can right-click the icon and assign the new placement for the tool window using the Move to action.
  • Compact Mode - To make it easier to work on smaller screens, Compact Mode has been introduced. It provides a more consolidated look with a leaner toolbar and tool window header, scaled-down spacing and padding, and smaller icons and buttons.
  • Project tabs on Apple macOS - When you have several projects open, you can now switch between them using the project tabs displayed under the main toolbar.
  • Redesigned Run widget - Redesigned the Run widget in the main window header to make it less obtrusive and easier on the eyes.
  • Popular features re-implemented - Added some popular features people were missing in the new UI. For example, the Show Hidden Tabs selector is back along with the Fetch action in the Branches popup. Also, improvements have been made to Distraction Free and Zen Modes by hiding the main toolbar elements and displaying the name of the file in scope.

User Experience

  • Full IDE zoom - It is now possible to zoom into and out of WebStorm, increasing or decreasing the size of all UI elements at once. From the main menu, select View | Appearance | Switch Zoom IDE. You can also press Ctrl+` and adjust the IDE's scaling via Zoom from there.
  • Remember size for each tool window setting - Introduced a new layout option that allows you to unify the width of the side tool windows or retain the ability to adjust their sizes as you customize your layout.
  • Setting to configure Actions on Save for new projects - This release adds an option to predefine the behavior of Actions on Save for new projects.
  • ML-powered search for classes - To provide you with more relevant and accurate search results, machine-learning ranking has continued to be integrated into the Search Everywhere (Double Shift) functionality. The sorting algorithm in the Classes tab is now also powered by machine learning by default, along with the results in the Actions and Files tabs.
  • Option to restore the old copy-cut-paste behavior - Added an option to restore the copy-cut-paste behavior to how it was in earlier versions of WebStorm. This will allow you to paste clipboard contents at the caret, rather than pasting them on the preceding line.
  • Scanning files to index in smart mode - Improved the IDE startup experience by performing the Scanning files to index... process in smart mode, which should reduce the delays caused by waiting for indexing on startup. When opening a project, WebStorm will use the project's existing caches from a previous session and look for any new files to index. The IDE will be ready to go if it finds no changes with the scan.
  • Suggestion to change Microsoft Defender settings - This release includes a new notification that is triggered when Microsoft Defender with Real-Time Protection is enabled. WebStorm suggests adding certain folders to Defender's list of exclusions, as these antivirus checks can significantly decrease the IDE's speed.

Version Control

  • Improved code review workflow for GitHub - To simplify the process of reviewing code inside the IDE, the Pull Request tool window has been reworked. It now features a dedicated tab for each pull request you open. The tab instantly displays the list of changed files, and there's a dedicated button to execute the most relevant action according to the pull request's current state.
  • Auto-completion in the Create New Branch popup - Auto-completion has been implemented in the Create New Branch popup. Once you start typing a name for your new branch, the IDE will suggest relevant prefixes based on the names of existing local branches.
  • Improved Branches popup - Improved the usability of the Branches popup. Navigating between branches is now easier, as they are grouped and stored in expandable lists.
  • VCS status color hints in the Structure view - To make tracking changes to files more convenient, color hints have been added to the Structure tool window. The names of modified objects now turn blue, whereas the names of newly added objects appear in the tool window in green.
  • Background commit checks - Reworked the behavior of Git and Mercurial commit checks to speed up the overall commit process. Checks are now performed in the background after you commit but before you push.