问题
Do you know if there's a way to fold/collapse functions and subroutines (and better yet: ifs and whiles) in the Visual Basic 6 IDE? At least with a plugin or something similar?
I have to deal with files of thousands of lines sometimes and with no cropping it's just impossible (It's a very old app off course).
Please note that it's not Vb.Net, it's VB6.0
Thanks!
回答1:
No, in Visual Basic 6 IDE is no fold/collapse functions. What to do instead?
- Use Ctrl + Arrow Up or Ctrl + Arrow Dn for skipping between functions
- Use the list of functions in the upper right corner instead of scrolling
- Toggle Procedure View / Full Module View by two buttons in the bottom left corner
- Must-to-have: install Scroll Wheel Fix for VB6 and scroll source with mouse wheel (nirvana!)
来源:https://stackoverflow.com/questions/29550210/folding-collapsing-functions-and-subroutines-in-visual-basic-6