Ticket #14 (closed defect: fixed)

Opened 23 months ago

Last modified 18 months ago

tabToSpace not working for block indents

Reported by: mb0 Owned by: mb0
Priority: major Milestone: 0.0.82
Component: as3 Version: 0.0.81
Keywords: formatter Cc:

Description

tabs2space editor preference does not apply on code blocks.
if you increase or decrease the indentation of a multiline selection, tabs will not be converted to spaces.

Change History

Changed 19 months ago by mb0

  • version set to 0.0.81
  • milestone changed from 0.0.90 to 0.0.82

the tabs2space preference is actually duplicated. there already is a setting at General > Editors > Text Editors. the formatter already uses that setting through the org.eclipse.xtext.ui.editor.formatting.PreferenceStoreIndentationInformation?.

i am not sure if the tabsToSpace auto edit strategy is even needed.

Changed 18 months ago by mb0

  • status changed from new to closed
  • resolution set to fixed

axdt uses the text editor preference now. the autoEdit was not needed and the block indent problem is fixed.

Note: See TracTickets for help on using tickets.