![]() Now with remote working being a regular thing in a lot of our lives, our need to be able to share code efficiently is now more important than ever. This is not so much a plugin as a regular feature of WebStorm now that it has been packaged up with version 2021.1, but worth a mention none the less. Prettier is actually already bundled with WebStorm, so you don't even need to install it to use it. It also adds semi-colons if you want, and makes sure that all quotation marks are consistent. If a line goes over that, it gets put on a new separate line. It has taken some code, and made all of the lines of code under 60 characters in length. If you really want to, then you can change it, but that would really be defeating its purpose. It does this by not offering loads and loads of options to the user like ESLint. Basically if everyone used Prettier then all our code would follow the exact same guidelines – yay for consistency! Prettier takes your code as you have written it, and provides a standardisation and consistency. I have been using Prettier for the longest out of all the plugins mentioned, and sometimes forget about it as its so built into my everyday activities as a developer. The list of capabilities is just too long, so instead of pasting them here, you can check them out over on the website here. Before String Manipulation After String Manipulation! So neat and tidy in one click! ![]() ![]() This tool is a huge time saver when it comes to tidying up code. You can sort strings, filter them, or even sort them via case sensitivity! So for example, if you want to change a bunch of highlighted strings to camelCase, you can do it instantly. The String Manipulation plugin allows you to instantly format strings with a variety of inbuilt options. There is also Rainbow CSV, if you want to add some of that extra color in your life! String Manipulation csv file looks when opened in Webstorm, with the CSV plugin.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |