[AC-247] Preferences/CSS Code Formatter: Off/On tags cannot be enabled
| GitHub Issue | n/a |
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Cannot Reproduce |
| Resolution Date | 2015-07-26T18:16:21.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | n/a |
| Reporter | Thomas Wiesen |
| Assignee | Radamantis Torres-Lechuga |
| Created | 2015-07-21T12:57:45.000+0000 |
| Updated | 2015-07-26T18:16:21.000+0000 |
Description
*Steps to reproduce:*
- Open Preferences
- Choose Studio/Editors/Formatter
- Select any profile and click the edit button
- Choose 'Off/On tags'
- Click 'Enable Off/On tags'
- Enter '@formatter:off' as Off tag
- Enter '@formatter:on' as On tag
*Actual result:*
- An error message ('Number is empty') is shown on the lower left of the panel
- The OK button is disabled, hence the settings cannot be saved, hence code blocks surrounded by @formatter:off/@formatter:on tags are still formatted
*Expected result:*
- The OK button is enabled
- Clicking the OK button saves the changed settings, code blocks surrounded by @formatter:off/@formatter:on tags will not be formatted
*Note:*
This used to work in former versions of *Titanium* Studio
Attachments
No comments