Q7

ECL code formatter: bugs and improvements.

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.3.12
  • Fix Version/s: 1.3.x
  • Component/s: ECL, UI
  • Labels:
  • Test Mode:
    Manual

Description

Customer link: http://support.xored.com/helpdesk/tickets/1040

1) Consider this snippet:

with [get-button [concat "(.*Connect to Middleware.*|Connected to " $mwUser "@" $mwHost ":" $mwPort ")"]] {}

This is formatted to:

with [get-button [concat "(.*Connect to Middleware.*|Connected to " $mwUser
"@" $mwHost ":" $mwPort ")"]] {}

Which ends up with:

Execution failed
at Syntax error

2) ECL editor formatting is sometimes not optimal. For example, this LOC

with [get-window "Importing projects to workspace." | get-window "Selection Needed" | get-table]

is broken into two lines when formatted, which are hardly readable:

with [get-window "Importing projects to workspace." | get-window "Selection N" +
"eeded" | get-table]

3) Also would be really nice to have an option to set line width for ECL editor formatter. I think a lot of widescreens users (which is almost everyone now) prefer > 80 column (I usually use 120).

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (0)

Dates

  • Created:
    14/Jul/14 4:17 PM
    Updated:
    12/Mar/15 6:39 PM