| Summary: | Improvements for Format (JSBeautify) | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Curtis Windatt <curtis.windatt.public> |
| Component: | JS Tools | Assignee: | Olivier Thomann <Olivier_Thomann> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Olivier_Thomann |
| Version: | 12.0 | ||
| Target Milestone: | 13.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Curtis Windatt
For (1), should I rename it to "Format Code" ? It would be good to "share" editor settings with the formatter. I am not sure how this is feasible in practice. I'll take a look. Delivered changes to adjust default values to be tab and not spaces. Renamed action to "Format Code". Delivered as commit de7d3aad16e60b04e1e13304a846a5666da53933. Curtis, I think I workaround (3). I'll deliver the code. Please check that it improved it. Thanks. Delivered changes. (In reply to Olivier Thomann from comment #4) > Curtis, I think I workaround (3). I'll deliver the code. Please check that > it improved it. Thanks. > Delivered changes. If you select the end of one line as well as some later text, everything is still put onto one line. With your change if you only select the whitespace it isn't deleted, which is an improvement. I'm fine with the current behaviour. |