@WebStormIDE I'm struggling to create a macro which goes to the line end, adds a comma, then go back to char at which starts.
Any tips'n'tricks? "Last edit location" won't work within the same line.
Hmm, that's tricky... Right now, no ideas how that could be done with a macro. But in many cases, simply reformatting the code should add a required comma at the end of the line: in the JavaScript code style settings - Punctuation select Trailing comma - Add when multiline.
-
-
Then, with the code like on the screenshot, comma will be added at the end of the 3rd line when you run Reformat code, without changing the caret position.pic.twitter.com/SUR8PyR7n7
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.