打印本文 打印本文 关闭窗口 关闭窗口
2004.11.27.Whats New in Delphi 2005
作者:武汉SEO闵涛  文章来源:敏韬网  点击数4688  更新时间:2009/4/23 18:29:20  文章录入:mintao  责任编辑:mintao
    Refactoring features allow you to restructure and modify your code in such a way that the intended behavior of your code stays the same. Refactoring lets you streamline and improve code readability and performance. Refactoring in Delphi 2005 includes Extract Method, Symbol Rename, Declare Variables and Fields, Find Units and Namespaces, and more.

*    The new Sync Edit feature lets you simultaneously edit duplicate identifiers in code. If you select a block of code that contains duplicate identifiers, for example, label1, and click the Sync Edit Mode icon that appears in the left gutter, all of the duplicated identifiers are highlighted and the cursor is positioned to the first identifier.

*    Code Editor bookmarks are now preserved when you close a file. The Code Editor context menu Clear Bookmarks command removes all bookmarks from a file.

*    The new Enable Error Insight option is available on the Tools Options Editor Options Code Insight page. Error Insight automatically highlights invalid code and HTML with a red wavy underline. Passing the mouse over the highlighted text displays a hint window containing the probable cause of the error.

*    The new Help Insight option is available on the Tools Options Editor Options Code Insight page. Passing the mouse over a symbol in the Code Editor displays a short description of the symbol in a hint window. The hint window contains links to additional information where available.

*    CTRL+/ can now be used to comment a selected block of code in the Code Editor. Each line in the code block will be prefixed with //. Pressing CTRL+/ will add or remove the slashes based on whether the first line of the code block is prefixed with //. When using the Visual Studio or Visual Basic key mappings, use CTRL+K+C.


Debugging

*    The IDE now supports both the Borland .NET Debugger and the Borland Win32 Debugger. The IDE will automatically use the appropriate debugger based on the current project type. However, when attaching to a process (using Run Attach to Process) or loading a process (using Run Load Process), you can manually select either of the debuggers.

*    A new IDE command line switch, debugger=[borwin32|bordonet], lets you select either the Borland Win32 Debugger or Borland .NET Debugger when debugging from the command line.

*    Cross-platform (Win32 and .NET) debugging within a project group is supported and, where possible, the debuggers share a common user interface.

*    The new Borland.dbkasp.dll provides improved debugging for ASP.NET applications.

*    The Modules window now displays multiple application domains as separate processes. Clicking a domain node displays a scope tree view of the namespaces, classes, and methods in the right pane of the window.

*    The modules pane within the Modules window can now be sorted by module name, base address, or path by clicking the appropriate column heading.

*    The Local Variables window now supports viewing local variables from a non-current frame when debugging Delphi Win32 applications (previously this feature was only available when debugging Delphi .NET, C#, and C++ applications). Additionally, the variable name and value are now displayed in separate columns for readability.

*    The Breakpoint List window has a new check box for enabling and disabling individual breakpoints and a toolbar for managing breakpoints. Additionally, the Breakpoint List window supports in-place

上一页  [1] [2] [3] [4] [5] [6]  下一页

打印本文 打印本文 关闭窗口 关闭窗口