Option to enable/disable automatic interpolation of string literals WebStorm 2023.2 provides completion for JSON object keys in JavaScript code, for instance, code with the fetch() call or the axios library. We are expanding this support in WebStorm 2023.2 to include conversion of lch and oklch with other color functions. For instance, you can change rgb to hsl and vice versa. This provided WebStorm users with a number of color conversion actions. In WebStorm 2022.3, we added support for the new CSS color modification functions. WebStorm suggests two quick-fixes – Add ‘&’ as prefix and Wrap in :is(). We’ve added syntax support and an inspection for checking that the nested selector doesn’t start with an identifier or functional notation. ![]() It provides the ability to nest one style rule inside another, with the selector of the child rule relative to the selector of the parent rule. WebStorm 2023.2 includes support for the CSS nesting feature. If there are two or more possible elements, the import will not be added automatically. This will work when there is only one unambiguous import for the element. You can enable this feature under Settings | Editor | Live Templates and select Add unambiguous imports in the options. Now when you add a Live Template that would result in unresolved elements, WebStorm will automatically add the import for the element to the file. WebStorm 2023.2 also includes the option to automatically import elements when using Live Templates. Now when you apply an intention or quick-fix that results in an unresolved element that is not exported in the file, WebStorm will automatically add the import for the element to the file. We’ve added a quality-of-life improvement to take care of janitorial work using quick-fixes in your code. Import on adding live templates and when using quick-fixes or intentions Keywords and references are highlighted in the same way as in the code, and types are highlighted in the same way as in TypeScript, with a background. We’ve added improved error formatting for some of the most popular JavaScript inspections, too. You can also enable localization by going to Settings | Languages & Frameworks | TypeScript and adding -locale and the abbreviation of the language you wish to use to the Options field. Your errors and warnings will now be formatted in a way that makes them much more readable and easier for you to diagnose issues. This build includes our first implementation, which supports TypeScript, Vue, and Svelte Language Servers. In WebStorm 2023.2, we have been looking at improving how we present type errors. ![]() JavaScript, TypeScript, and CSS Improved error formatting for JavaScript and TypeScript ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |