I really like coding. I hate typing lines of code I have typed hundreds of times before. This is why I find libraries useful: They are large sections of code that I do not have to retype.
CodeCuts is a snippets library. Instead of a huge section of code, CodeCuts are small (should be less than 20 lines). The CodeCuts utility is designed to run while one is coding. Switch from the IDE to the CodeCuts utility and click on the code snippet needed. The code snippet is copied to the clipboard. Switch back to the IDE and paste the snippet right into the IDE code.
CodeCuts can also help standardize coding in a large project, as well as reduce errors.
CodeCuts is OpenSource, so feel free to add to it. Additions to the code snippets are welcome. If you post your snippet to this thread, I will add it (within reason) to the CodeCuts utility. The more community input, the more useful CodeCuts can be. See the example text files to see the format for code snippets. The List.txt file is the master list and is used to create the buttons within the CodeCuts program. There are two parameters when adding a new snippet to the List.txt file.
Button name;File name
1) Button name: This is what the user will see in the utility.
2) File name: The name of the file the snippet is stored in. Files should be .txt format.
Note: The semicolon is the delimiter. Do not include a space after the semicolon. Do not use quotation marks.
The CodeCuts project requires IanM's Matrix Utilties to compile. There is an executable included, and code snippet additions are via scripting, so compilation is not required.
Included are a few example snippets. Feel free to edit your copy of the utility to include your own snippets and edit or delete the existing snippets.
Open MMORPG: It's your game!