You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • @neshanjo

    BTW, could it be an option/help/possible to use prettier for selected code only ?

    from @JumJum is very useful. Because often I use human formatting rather that machine formatting for the code to have a better visualize for repetitive source lines (such as lines 13 thru 27 in first code block in post http://forum.espruino.com/comments/13218­059/ - part of the conversation about Modular and extensible UI framework and ui elements.).

    To go a step further, I'd suggest to add a directive (as JS comment) that turns it off and on again, so the manual selection and formatting falls away. No matter what on formatting the whole file, the section(s) marked stay(s) untouched where as all other areas are formatted.

About

Avatar for allObjects @allObjects started