Issue Details (XML | Word | Printable)

Key: FDT-1496
Type: Bug Bug
Status: Confirmed Confirmed
Priority: Minor Minor
Assignee: FDT Team
Reporter: Orian Marx
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FDT

Autoformat of code is being applied to the statement prior to the one being edited.

Created: 06/Nov/10 12:43 AM   Updated: 21/Jun/12 06:41 PM
Component/s: Formatter
Affects Version/s: FDT 4.0
Fix Version/s: None
Security Level: public

Time Tracking:
Not Specified


 Description  « Hide
Upon autocompleting code in a statement, the autoformatter is applying its rules to the previous code statement. This is really aggravating as I cannot write a line of code in a format inconsistent with the autoformat rules, then move on to the next statement and autocomplete anything, because the autoformatter will adjust my formatting in the previous statement.

For example if I write the following statement "var a:int=1+1;" and the autoformat has rules for adding spaces before / after separators, and I move to the next line and autocomplete anything (a function call for example), the autoformat adjusts the prior line to "var a : int = 1 + 1;"

Shouldn't the autoformatter just apply to whatever statement I am currently editing?



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.