Welcome to Codeweaver 1.2 Final! Here's what's new:
  • TGB support added
  • Plugin architecture complete
  • Files can now be opened without having them added to the project
  • Added file templates for new files. They're located in the file_templates folder of the install directory.
  • "Snipetter" has been removed
  • Menu shortcut assignment now more intuitive
  • Fixed internal web browser issues
  • Find / Replace window now focuses properly
  • Search in project no longer crashes due to non-existent line
  • Adjusted declaration format: // #DECLARE %variable AS class
  • One-click debug wizard no longer crashes under certain circumstances
  • Ctrl+Tab now keeps focus on editor
  • Highlighting and trying to use Find / Replace no longer crashes the program
  • Syntax checker now properly recognizes return %var @ %var and its variants
  • Added "Clear All Bookmarks"
  • Rescan Project no longer improperly nests your project
  • Hidden directories no longer added to project
  • Configuration now unique to each particular user
  • Removed EULA popup dialog on first run
  • Removed mandatory "activtation" when running installer
  • Closed workspace windows can now be reopened from the Window menu.
  • Modified files are now indicated by a yellow information bar with options, instead of poping up a dozen dialog boxes.
  • Fixed several small bugs and performance problems

Welcome to Codeweaver

PLEASE READ THIS FILE THOROGHLY!



I am absolutely ecstatic that you've chosen Codeweaver for your development needs. I've tried to make this IDE the best that it can possibly be, and I hope that you'll agree with me when I say that this is a powerful tool with a myriad of features awaiting to be utilized to its full extent.

This is the final release of the program. Future versions will only include bugfixes. No new features will be added to this IDE. The plugins architecture is fairly powerful, and more information on that will be available in the coming weeks. If you want to get started right away, add a reference to the PluginRes.dll file in a new Microsoft .Net project (C#, VB.Net, etc) and poke around.



Basic Documentation

Function Descriptions

If you want to add a custom description to a function which appears in infopop tooltips and the explorer toolbox, you can do so by adding "special comments" above your function declaration. They must be directly adjacent to your function declaration. They may span multiple lines. Each line entry will be on a separate line when the infopop is displayed:
/// Initializes the debugger
/// and does other random stuff
function InitDebugger() {
    [...]
}
				
Note that the comment regions start with "///", and not "//". The default syntax highlighting schema colors special comments dark gray.



Code Regions

Codeweaver supports collapsable code regions similar to Visual Studio. If you would like to create an auto-collapsed, labelled code region, place the code you wish to collapse between the following blocks:
//__region My Region
 [...] 
//__end
Where "My Region" can be any label you want, or nothing at all.



Interactive Debugging

If you wish to use Codeweaver for interactive debugging, you must merge the Enhanced TelnetDebugger by Tom Spilman into your Torque engine codebase. Not doing so will cause the debugging feature to act unpredictably and is not recommended.

To enable debugging, right-click on the project name in the project explorer and select properties. Fill out the dialog, correctly populating all the necessary debug fields, and then set "Enable Debugging" to "True". Once set, the Debug menu should become available and you may now debug your project.



Variable-Level Auto-Completion

If you wish to fully utilize variable-level completion, you must declare the type of your variables. In local scope, you may do so like below:
//# DECLARE %variable AS objectType
Where "objectType" is the type of object you wish to make "%variable". From this point forward, in local scope, you may use %variable. to perform object-level auto-completion.



Declared Object Auto-Completion

Any objects declared using the new ObjectType(ObjectName) method are automatically declared and can be dereferenced by using the scope resolution operator (::) or the object member operator (.).



Infopop

Infopop tooltips are automatically displayed when you type a parenthese after a built-in or user-defined function. You may also press Ctrl+Shift+Space to accomplish the same task so long as you are within the parenthese boundaries of the function call. Newly-defined functions will be added to the global token listing upon saving the file.



F4 Object Browser

You can browse all imported objects by pressing the F4 key at any time in the editor. You can scroll through the prompt using the up and down arrows. You can enter a class and browse its functions by pressing Tab or the right arrow key. In the function listing, you can jump back to the class listing by pressing the left arrow key. Pressing enter will paste the class or function name into the editor. If the cursor is directly adjacent to or directly on top of a local or global variable when F4 is pressed, pressing enter on a class in the list will automatically generate a //# DECLARE entry on the line above the variable. This can help make declaring variables quick, easy, and efficient.



For a more complete feature listing and documentation, please refer to the Codeweaver website. As always, your donations are appreciated and help keep this software free.


Copyright © 2005 - 2007 netMercs and Sam Bacsa