Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370684

Summary: Code formatter should also format table values
Product: [Tools] LDT Reporter: Kevin KIN-FOO <kkinfoo>
Component: LuaDevelopmentToolsAssignee: Kevin KIN-FOO <kkinfoo>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: contact, kkinfoo
Version: unspecifiedFlags: kkinfoo: review? (sbernard)
contact: review? (contact)
Target Milestone: 0.8 M1   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 366643    
Attachments:
Description Flags
Patch enabling code formatting for table values
none
updated patch using the IFormatterControlManager correctly none

Description Kevin KIN-FOO CLA 2012-02-06 03:22:47 EST
Created attachment 210553 [details]
Patch enabling code formatting for table values

So far code formatter do not format following code:

    local tab = {
    foo = 'bar'
    }

It would be nice to have:

    local tab = {
        foo = 'bar'
    }
Comment 1 Benjamin Cabé CLA 2012-02-07 15:28:21 EST
Created attachment 210691 [details]
updated patch using the IFormatterControlManager correctly
Comment 2 Benjamin Cabé CLA 2012-02-07 15:31:18 EST
Latest patch (attachment 210691 [details]) has been pushed to master (504f2b0).
Comment 3 Benjamin Cabé CLA 2012-02-09 09:01:47 EST
VERIFIED in   0.1.0.201202081927.