Suppose how nice it would be to use #region directive when writing javascript code. Javascript is becoming more and more complicated, and it is hard to scroll up and down every time we want to find needed function name and see what parameters it accepts. I was so tired with this scrolling that started to search some alternative small IDE-s or highlighting text editors which would allow me to use collapsible regions in js files, but in this case I would lose javascript intellisense in VS 2008. I even thought about creating my own text editor plug-in for VS, but again - what about intellisense. Earlier or later, I found one nice solution to the problem on Microsoft forums. Yes - it's so simple. The solution uses simple macros which parses current document and creates collapsible regions for //#region //#endregion pairs. So simple :) Thanks to the author! And because I don't not find it to be easily detectable in the internet, I decided to blog this. ...
This blog consists of the content that has been experienced by me at different age or different stages of my life. If any complain about any post please contact me. I will remove as soon as possible.