Coder For VB is an add-in for Visual Basic 6.0 that provides tools to speedup the mundane parts of the development process, so you can concentrate on the more interesting parts. Coder For VB enables you to: Quickly write standard code Quickly indent
不过VB.NET确实有许多VB6没有的新功能,代码的自动排版就是一项,这也正是我们今天要实现的功能——VB代码格式化。 先看下实现的效果: 格式化前: 代码如下: For i = 0 To WebBrowser1.Document.All.length – 1 If WebBrowser1.Document.All(i).tagName = “HTML” Then strContent = strContent & WebBrowser1.Document.All(i)[removed] Ex