Home Products Download Order Resources Help Site map |
CodeSMART 2007 for VS.NET
Analyze and refine your Visual Studio systems. CodeSMART 2007 for VS.NET is an add-in for VB.NET, C# and C++. CodeSMART 2007 for VS.NET supports VS.NET 2002/2003/2005/2008 — VB.NET, C# and C++. 1. INTEGRATION1.1. General Integration NotesCodeSMART is tightly integrated with Visual Studio - all its commands and tools are accessible through the main menu (1) and four toolbars (2) it adds to the environment. Other CodeSMART 2007 tools are hosted or display their results within special tool windows (3, 4 and 5). 2. EXPLORER TOOLS2.1. The Code ExplorerThe CodeSMART Code Explorer is a code navigation and management
tool that integrates features from both the standard Solution
Explorer and the standard Class View. Its main design goal was to
help the developer locate code as quickly as possible. For a solution and
its projects it displays a single hierarchical view with files, folders,
classes, methods etc. A complex set of commands is available for every element type
displayed by the Code Explorer through the node associated context menu.
The Navigation Helper Panes (History, Node Search and Workbench) were especially designed to help the user focus on a limited number of components and code elements.
2.2. The Code Flow ExplorerThe Visual Studio code editor doesn't have tools to assist the developer in navigating inside a method body. When working with fairly simple methods browsing their code inside the code window is usually enough to grasp a general idea about the code logic, but trying to navigate complex methods with hundreds of code lines, nested conditional blocks and loops, can be a very tedious job.The CodeSMART Code Flow Explorer can parse method code and output a tree representation thus offering instant access to the method's internal structure and logical code blocks. 2.3. The Designer ExplorerWith the CodeSMART Designer Explorer you can visualize a designer control hierarchy, select a control (which normally is not an easy job controls when controls overlap, are included in containers or simply are out of the visibility window) and benefit of several additional control-related operations and enhancements.2.4. Code Library ExplorerThe CodeSMART Code Library Explorer represents a convenient way to quickly store and retrieve code pieces written in VB, C#, C++, HTML, XML etc, thus providing a valuable help in reusing, managing and sharing prewritten code. It can be seen as a code repository in which you can store and organize different code items, group them in logical folders and share them within a team. 3. LOCATE CODE EASIER THAN EVER3.1. Extended Find and ReplaceThe Extended Find and Replace subsystem adds powerful search and replace capabilities to the Visual Studio environment. It can perform code searches and replacements at any scope (member, document, project, solution) with a set of user-defined filters. The search target can consist of a single code line or of multiple lines and can contain wildcards or regular expressions. After the operation finishes, a comprehensive result list is displayed.Two Extended Find and Replace panes hold result lists for two different find/replace operations. Results found within strings and comments (if these were not configured to be skipped) are displayed by using specific colors. Additionally, a history combobox can be used to access previous find/replace operations. 3.2. Find ReferencesIn the process of code writing as well as when analyzing prewritten code, knowing all the points where a certain code element is referenced can be extremely useful. There may be many purposes for such a task, like planning a refactoring, generally trying to understand a certain functionality, etc. The CodeSMART Find References tool can start from various code elements and output their list of references (works with both Visual Basic and C# projects).4. CHECK AND REFINE YOUR PROJECTS4.1. Code AnalyzerThe CodeSMART Code Analyzer is a valuable tool that can be used to examine Visual Basic and C# code. It can be seen as a control quality tool for Visual Studio programmers who want to refine the code they write by making it smaller, faster and less error-prone. Code Analyzer features include detecting private dead code, code complexity issues, potential problems, optimization flaws and coding standards infringements.4.2. Designer AnalyzerThe CodeSMART Designer Analyzer can be used to examine Windows Forms components for known problems. It can be seen both as a UI quality control tool and as a UI standards enforcement tool. Several options are available and grouped by problem categories. The analysis result set is listed in a comprehensive window.4.3. Spelling CheckerWhat can be more embarrassing than delivering an application and realizing you have spelling errors in its user interface? Let's face it, we all felt bad because of this at least once in our lives. We did it too - so we decided it's the time to have a Spelling Checker feature in CodeSMART.4.4. Strings ReviewThe Strings Review tool does somehow share part of its goals with the spelling checker. Its exact purpose is to offer a global and complete perspective on all the string constants used in code, but while the spelling checker focuses on individual words correctness, this new tool was designed to ease the phase of logical word combination (phrasing) analysis and correction.5. WRITE CODE WITH EXCEPTIONAL EFFICIENCY5.1. AutoTextMany times during the process of code writing you have probably used identical or similar code blocks, or written the same long code sequence over and over. In such cases, an auto-text feature like the one found in many professional text editors could have saved you a lot of time. Typing a few letters and then hitting a special keyboard combination is obviously much more productive than writing the same code piece again and again. This is what the CodeSMART AutoText system was built for; here's a sample of this system in action:5.2. SmartCompleteThe CodeSMART SmartComplete brings an Intellisense-like list with specific language keywords, statements and global functions and user-defined items which are missing from the Visual Studio standard Intellisense list (in VS.NET 2002/2003 works for VB/C#/C++, while in Visual Studio 2005/2008 only works for VB). Here are two examples on how SmartComplete works:
5.3. AutoBracketsThe CodeSMART AutoBrackets feature is a simple yet very useful tool that eases code writing by auto-completing the closing character in standard character pairs (parentheses, square brackets, braces and quotes).Here's a sample: 5.4. The Extended ClipboardCodeSMART extends the standard Clipboard with 10 additional copy-and-paste persistent buffers. These buffers can be filled with any piece of text and their contents can be pasted into any Visual Studio code window by using an extremely simple shortcut key system.6. CODE BUILDING AND GENERATING TOOLS6.1. Simple Code BuildersThese represent a set of wizards for creating basic code constructs like class definitions, methods, properties and indexers.6.2. Advanced Code BuildersAdvanced Code Builders represent a set of tools which can be used to insert complex code constructs into Visual Basic and C# projects. By using these tools you can considerably reduce the time and effort that's usually necessary to write certain code like interface implementations, overridden methods, object construction and destruction, custom exception classes, custom formatter classes, collection classes, etc.6.3. Generate Exception Handling CodeAdopting an appropriate strategy for exception management can help you build successful and flexible applications that can be easily maintained and debugged. However, implementing a proper and consistent exception handling policy is not a trivial task - this is where the CodeSMART Exception Handling Tools come into play, as by using these tools you can:
7. CODE FORMATTING AND DOCUMENTING TOOLSAs projects become more and more complex, adhering to certain
standards usually becomes a necessity. These standards may include
specifications and recommendations on how code should be formatted and
documented. CodeSMART has dedicated tools that can help you meet such
requirements. 7.1. Code FormatterThe CodeSMART Code Formatter can be used to reshape Visual Basic and C# code based on certain standards. These standards can be specific to a single programmer or can be used for an entire programming team.7.2. Sort ProceduresOccasionally you may consider it necessary to rearrange code in a more logical and intelligible manner. The CodeSMART Sort Procedures tool comes to meet this requirement.7.3. XML CommentsXML documentation (XML comments), are a mix of XML and comments used to document code. CodeSMART not only extends support for XML comments to Visual Basic developers (VS.NET 2002/2003) but also offers an unified and flexible way to standardize this powerful feature in both Visual Basic and C# through the XML Comment Templates (avalable in all versions of Visual Studio).7.4. XML Comments PreviewThe XML Comments Preview tool provides an easy way to vizualize pre-formatted XML comments when editing or browsing code.7.5. Regular CommentsComments standardization is a must for every company, and adoption of such a standard by a single user is an extremely intelligent decision that will definitely show its benefits in time. Regular Comment Templates are intended to complement the XML Comment Templates feature described above; also, CodeSMART can ease commenting tasks by automating the regular comment skeleton insertion process.7.6. Code Commenting AnalyzerNo matter if you write simple functions or complex classes, using relevant comments as often as possible is a requirement that every application developer should conform to. The CodeSMART Code Commenting Analyzer tool can help in getting a global perspective on code commenting at a certain scope by indicating in-method contiguous blocks of code that exceed a certain maximum length and have no comments, as well as code definitions that either have no comment defined or have an incorrect one from a standards point of view. 8. WINDOWS FORMS DESIGNER HELPER TOOLS8.1. Designer Assistant (only for VS.NET 2002/2003)These tools are intended to ease working with controls while in
designer mode. They offer a simple and quick way to identify a
control, modify its size and position by using the keyboard
in predefined fine or fast modes. 8.2. Tab Order DesignerConfiguring/reconfiguring tab order on a Windows Forms designer by managing each control's TabIndex property value can be a very tedious task. The CodeSMART Tab Order Designer tool can help you automate this process - you can either set the order manually by simply sorting the control list or you can let the tool automatically establish the tab order. 8.3. Hotkey DesignerThe CodeSMART Hotkey Designer allows you to automatically manage hotkeys on a designer. The tool provides several hotkey generation methods along with the possibility to preserve (lock) some already defined hotkeys.8.4. Change Name and Text PropertiesWhen you design a form, besides modifying control positions and sizes, the most often updated properties are Name and (if applicable) Text. The CodeSMART Change Name and Text Properties tool can ease manual property setting and automate property-to-property value generation (with respect to the current naming standards). 8.5. Property TipsThe Property Tips lists a preset group of properties and their values in a special window that is displayed as a tooltip whenever the user pauses the mouse cursor over a designer control. 8.6. Bulk Controls RenamerWith the Bulk Controls Renamer CodeSMART can help you set appropriate control names for the current designer control collection according to the standards defined at team level. Names are established by using a "property-to-property value generation" mechanism based on the Text property. 9. OTHER TOOLS9.1. AutoSave and AutoBackup (only for VS.NET 2002/2003)CodeSMART offers the possibility to automate two mechanisms that can prove indispensable in application development: saving your work and creating backup copies. 9.2. Code StatisticsThe CodeSMART Code Statistics subsystem provides useful information about code at various scopes ranging from component up to the entire solution. 9.3. Show File DifferencesThere are situations when you may want to identify all the changes that were made to a file from the time it was last saved. The CodeSMART Show File Differences tool will help you in this task by comparing the component that is currently active in the Visual Studio code window with its corresponding file on disk.9.4. Iterative CodeThere are times during the coding process when the need to insert similar pieces of code in every method at a certain scope arise. For example, imagine your program generates a GPF. Probably having the possibility to trace code execution and see which is the last method that gets called before the GPF occurs could help. However, manually inserting tracing code into each method may take quite a long time. CodeSMART features an Iterative Code inserter/remover subsystem - by using it you will be able to insert and afterwards remove special code chunks at a certain scope in just a few seconds. Try it now!CodeSMART 2007 for VS.NET supports VS.NET 2002/2003/2005/2008 — VB.NET, C# and C++. CodeSMART is produced and supported by AxTools. ©Aivosto Oy -
|
||||||||||||||||||