Titanium JIRA Archive
Appcelerator Community (AC)

[AC-247] Preferences/CSS Code Formatter: Off/On tags cannot be enabled

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2015-07-26T18:16:21.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterThomas Wiesen
AssigneeRadamantis Torres-Lechuga
Created2015-07-21T12:57:45.000+0000
Updated2015-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

FileDateSize
AC-247.png2015-07-24T11:50:52.000+0000124893
offOnTags.tiff2015-07-21T12:56:03.000+0000362372

Comments

No comments

JSON Source