CodeOrganizer Version 1

Rating: No reviews yet
Downloads: 383
Released: Jan 1, 2009
Updated: Jan 1, 2009 by Ramiah_Ariya
Dev status: Stable Help Icon

Recommended Download

Application CodeOrganizer.zip
application, 54K, uploaded Jan 1, 2009 - 383 downloads

Release Notes

Release Instructions

Contents of the zip file

  1. CodeOrganizer.AddIn - used by Visual Studio to identify addins
  2. CodeOrganizer.dll - AddIn assembly. This is NECESSARY for the Add-In to run
  3. RegularExpressions.xml - This xml file should be in the same path as the Add-In. It is NECESSARY for the Add-In to run
  4. Readme.txt - READ THIS FULLY BEFORE USING
  5. TestScriptFile.js - You can use this dummy js file to check if the AddIn is working properly. Open it in
Visual Studio (after installing the AddIn as described below) and right click on the code window. You will
see the functions in this file listed under the "CodeOrganizer" context menu.
  1. Source Folder - contains the source files - they are not needed for the AddIn to run.
(Please note that the extension menu item will show up only in script files - such as files with extension ".js". This
is configurable as explained below)

Installation

If you are using Microsoft Visual Studio 2005:
  1. Identify the following folder location:
Documents and Settings\<your user name>\My Documents\Visual Studio 2005\Addins
In Windows Vista, this location would be:
Desktop\<your user name>\Documents\Visual Studio 2005\Addins
  1. If the AddIns folder is not present, create it.
  2. Copy the contents of CodeOrganizer.zip to that location
  3. Open Visual Studio 2005 and click on Tools->Add-In Manager
  4. Check the first two check boxes (CodeOrganizer and Startup).

If you are using Microsoft Visual Studio 2008:
  1. Identify the following folder location:
Documents and Settings\<your user name>\My Documents\Visual Studio 2008\Addins
In Windows Vista, this location would be:
Desktop\<your user name>\Documents\Visual Studio 2008\Addins
  1. If the AddIns folder is not present, create it.
  2. Copy the contents of CodeOrganizer.zip to that location
  3. Open Visual Studio 2008 and click on Tools->Add-In Manager
  4. Check the first two check boxes (CodeOrganizer and Startup). If they are checked by default,then continue to Usage

Usage

The main 3 features are Navigation, Selection and Transfer
  1. Open the TestScriptFile.js javascript file with prototype functions.
  2. Rightclick the code window - you will see a menu item called CodeOrganizer.
  3. Hover over it and you will six default menu items - Prototype Functions, Plain Functions, ToDos, Navigate Back, Navigate Forward and Transfer Line To .
  4. The Navigation functions can be used to move to any member function or TODOs you want.
  5. Click on any function or ToDo item and your cursor will move to that item in the code window.(You can use the TestScriptFile.js file in the package to test the context menus).
  6. Press on the "~" key twice (Shift + `) and you will see list of member variables in a popup form. Double-clicking on any item in the form will populate the current cursor location with the variable name. (This is similar to intellisense)
  7. Press on the "!" key twic (Shift + 1) and you will a list of member functions in a popup form. Double-clicking on any item in the form will populate the current cursor location with the variable name. (This is similar to intellisense)
  8. Choose any line of code; right click and hover over the "Transfer Line" To popup menu. Click on the vars region that shows up. This will move the current line of code to that region.

Usage Conventions

  1. The add-in works best when you are editing a Javascript file with member variables and methods (Object-Oriented Javascript)
  2. You can also use it with Javascript files that have a list of global functions.
  3. Modify the Regular Expressions in RegularExpressions.xml so that you can customize the menus and shortcuts and regular expressions.
  4. Create regions in your code (as shown in the TestScriptFile.js) for Transfers to work. Visual Studio does not support code-folding (regions)

Please read the documentation in readme.txt fully.

Reviews for this release

No reviews yet for this release.