Customize outline text (2)
The outline text cannot be customized, the top-level elements do not always end up being meaningful names, e.g.
Submitted by Danny Groenewegen on 10 June 2010 at 15:12-private |-foo -private |-bar -public |-baz
Issue Log
I really want this. The outline of the mobl editor is now completely useless. I’d like at least the option to choose the branch of the constructor to use as name in the outline, e.g:
_.Screen 1 // for using the second branch of the Screen constructor
Another option would be to be able to specify a strategy to apply that transforms any constructor into an outline name version:
outline-name : Screen(manno*, qid, _, _) -> <pp-mobl-qid> qid
Fixing things and adding new major features are higher up on my agenda atm. If you really want this, I can give you some pointers for adding it. For starters, there’s a README file explaining what goes where. This particular feature shouldn’t be hard, all the ingredients are there already…
I would really like this for a demo I will give at TNS Nipo. The ideal solution for me would be (example):
outline _.Question : editor-outline (in .esv file)
editor-outline: Question(x,y,z) -> $[[x] [y]] (in Stratego file)
Maartje, Oskar is working on this and Vlad is using it already in the Greenmarl outline view. Oskar was also working on a new outline for SDF, but I am not sure if this made it into nightly.
This is now possible in nightly.
Log in to post comments