| Summary: | [Outline] Display parent call expression if a function is used as an argument | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Curtis Windatt <curtis.windatt.public> |
| Component: | JS Tools | Assignee: | Curtis Windatt <curtis.windatt.public> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 13.0 | ||
| Target Milestone: | 15.0 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=8f200d015dfaa44144964dd140b8171dafe6eaf4 Fixed in master I refactored the outliner tests to be more accurate, print out actual output and to speed up future tests. |
It is a very common pattern to see: doSomething(function(a){ ... }); getText().then(function(text){ ... }); define(['dep1', 'dep2'], function(dep1, dep2){ ... }); it("Test we have vars", function(worker){ ... }); goTo(42, (a) => { ... }); In the Outline we just display function() or arrow function() => {}. We should display the call expression, probably in the labelPost property. It would be great to see the other arguments as well to help navigating tests.