WebStorm 2023.3 brings support for the popular Cypress and Playwright test frameworks. New functionality for testing Cypress and Playwright support You now also get auto import for components based on the component name defined in the defineOptions function. We’ve improved our support for Vue 3 and added support for defineSlots, as well as resolution and completion for properties with defineExpose. In the future, the IDE will be able to automatically download the latest version for you. Go to Settings | Languages & Frameworks | TypeScript | Svelte and update the TypeScript plugin package field. You can configure the plugin version like you would for the Svelte Language Server. Starting from WebStorm 2023.3, the TypeScript plugin will be downloaded and enabled automatically by default for Svelte projects. We’ve also fixed the issue causing Svelte components with a context="module" attribute to not be correctly resolved in import statements. The import suggestion works on completion, on copy-paste, and with ⌥Enter / Alt+Enter. Imports are suggested from node_modules or other. We’ve implemented a proper auto-import mechanism for components in Svelte projects. Enhanced Svelte support Improved auto-import mechanism Now, when you see an Angular-specific inspection, the errors and warnings will be formatted to make them much more readable, making it easier for you to diagnose issues. Our work on improving how we present type errors has made it to Angular. Improved formatting for Angular inspection errors In WebStorm 2023.3, we’ve added a quick-fix that provides the option to import standalone components for the inspection that indicates if a standalone component is declared in NgModule. WebStorm 2023.3 also includes a new quick-fix to create and properties, with or without a transform property, from an Angular component template. The Create field and Create method intention actions now take the surrounding context into account, generating correctly declared fields. WebStorm can also verify whether each element is a module or standalone declaration in the import array. These include an inspection to highlight standalone declarables added to the declaration array of NgModule, as well as a warning for when imports or schemas are used on components that are not standalone. WebStorm 2023.3 includes several new inspections to help you identify improper usage of standalone components. In WebStorm 2023.3, we’ve fixed generic params evaluation. In our previous release, we improved how WebStorm deals with Angular strictTemplates. Support strict template type checking in Angular templates You can easily create a signal straight from its template by writing a function and invoking the relevant quick-fix. You can customize the highlighting for signals via Settings | Editor | Color Scheme | Angular Template | Signal. We’ve added the following live templates for signals: signal, computed, and effect. WebStorm 2023.3 is a massive release for Angular, as we’ve been working across the board to improve our support for the technology. ![]() AI Assistant reaches general availability: in-editor code generation, context-aware smart chat, project-aware AI actions, code auto-completion, refactorings diff view, test generation, and translation into other programming languages.įrameworks and Technologies Angular improvements. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |