2 ms·
I’m curious if anyone has tried some sort of editor plugin that, instead of doing something like “go to function” when you encounter a call, instead temporarily
by saagarjha 6y ago
I’m curious if anyone has tried some sort of editor plugin that, instead of doing something like “go to function” when you encounter a call, instead temporarily inlines the code into what you’re reading so you’re not jumping around. Seems like this might be the best of both worlds, with abstractions hidden but instantly available to scrutinize when necessary?
- lentil 6y agoVisual Studio Code has a "peek" operation that does something like this. It is indeed quite handy. https://code.visualstudio.com/docs/editor/editingevolved#_peek https://code.visualstudio.com/docs/editor/editingevolved#_pe...
- LandR 6y agoAvailable in the full blown Visual Studio as well.
- Quenty 6y agoVSCode effectively has this feature.
- jl2718 6y agoI would like to see this in a debugger especially. One continuous scroll of code with no separation of stack frames. I would also like to see unit tests unrolled like this for code reviews so others can actually follow the code. This would fight the tendency to accept highly abstract code just because nobody understands it.