If you are using visual studio code, try this extension
Go to File, Preferences, Keyboard Shortcuts and search for Join Lines. Set up a keybind that you like and then go to your code. Select all your elements then press that keybind. It should be in one line!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.