![]() ![]() The new intention Replace var() with its fallback value allows you to quickly remove CSS custom properties/variables from the code: In the advanced formatting dialog ( Shift-Alt-Cmd-L), you can enable running Rearrange code every time you reformat the code.Įxtract ruleset and replace var() with its fallback value Once enabled, you can use the Rearrange code action to sort the properties. Use it to enable and configure sorting for the properties inside rulesets. In addition, CSS code style configurations now have the new Arrangement tab. Minimum Blank Lines Around Top-level Block and Around Nested Selector will, on the contrary, add empty lines. Note that this option doesn’t add any lines but only removes extra (the resulting code is on the right): In this example, with the option set to 2, WebStorm will remove one extra empty line. Keep Maximum Blank Lines in Code will remove extra empty lines when you reformat the code (Alt-Cmd-L / ). There are 3 new options located on the Blank lines tab for each language under Preferences | Editor | Code Style | Style Sheets. ![]() Second, we’ve made the use of blank lines in the files more configurable. Before, most of the options were inherited from the CSS code style and only indents could be configured for each language. First, each language now has its own configuration with a full set of options. We have updated the code style options for style sheet languages. When debugging workers in WebStorm, you will see in what thread the breakpoint was hit and you will be able to switch between threads to see the call stack and variables. You also need to pass the –experimental-worker flag to the node. Debugging workers is available in Node.js 10.12 that was released today. WebStorm now provides code completion for the worker threads API and allows you to debug workers. Node.js 10.5 introduced a new experimental feature – worker threads, which can be used for CPU-intensive tasks (check out this blog post for a great overview of the feature). For the full list of issues fixed in this update, see the Release Notes. Here are some of the highlights of WebStorm 2018.3 EAP #6 (build 183.3647.15). Important! WebStorm EAP builds are not fully tested and might be unstable. You can also get notified right from the IDE when a new EAP build is available: go to Preferences | Appearance & Behavior | System Settings | Updates and select “Automatically check updates for Early Access Program”. Toolbox App is the easiest way to get EAP builds. If you’re unfamiliar with our Early Access Program or if you want to catch up on all the new features, check out the previous EAP blog posts. WebStorm 2018.3 Early Preview build #6 is now available! ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |