Feature #7295
closed
Roll functions in the error trace by clicking a closing bracket
Added by Pavel Andrianov almost 8 years ago.
Updated over 7 years ago.
Description
It is useful to have an ability to roll functions not only at the start but at the end, e.g. the closing bracket. If the function is very long and not so important, it takes much time to find its start and roll its body.
In addition we discussed that it has sense to get rid of braces in visualized error traces. This can be done since lines of error traces are strictly indented like, say, Python source code.
BTW, please, look at visualization of strictly indented source code in, say, PyCharm. You can try to do something like that (vertical lines for each block with arrows at the beginning and at the end to close that block) for error traces as well.
- Priority changed from Normal to Immediate
This is very welcome for users.
- Due date set to 09/12/2016
- Status changed from New to Resolved
- % Done changed from 0 to 100
Done in branch "feature_7295".
After all the given branch was merged to better-unsafes-and-marks.
- Status changed from Resolved to Open
I suggest to do one more step here. Can you place the closing symbol not on a separate line but on the last line of called functions? There are no such the lines for stack of functions leading to the error node, but for them I wouldn't like to see neither the closing bracket nor the closing symbol. These functions won't be likely closed any time since they are vital. Further improvements in error traces representation will likely hide by default the most of these functions somehow.
- Due date changed from 09/12/2016 to 11/16/2016
- Status changed from Open to Resolved
Implemented in branch "better-unsafes-and-marks". I've decided to hide some closing symbols by option. Closing symbols stays on their own line, and are not going to move to previous lines.
- Status changed from Resolved to Open
Confirm that it works for functions but it does not work for "eye" symbols.
Ilja Zakharov wrote:
Confirm that it works for functions but it does not work for "eye" symbols.
It supposed to be so. Functions with "eye" symbol can't be rolled, so the closing brackets are needed just to show the borders of functions' bodies.
- Status changed from Open to Closed
There are a lot of other ambiguous enhancements for error traces visualizations. Let's discuss them altogether.
Also available in: Atom
PDF