![]() |
Code Fixer - Printable Version +- Mirage Engine (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17) +---- Thread: Code Fixer (/showthread.php?tid=1656) |
Code Fixer - GIAKEN - 03-04-2008 Just wanted to let everyone know that the Code Fixer v3.0.9 add-on for VB6 works for the client, but not for the server. I did everything it could do for the client, too. It changes subs to private / sub, adds with structures, adds types for constants, fixes If statements, and a lot more...try it out. Re: Code Fixer - Spodi - 03-04-2008 I was never a huge fan of Code Fixer. Its handy, but its a bit too intrusive in my opinion. I like to be told the problems and fix it myself. For example, I may have parts of code or variables that have yet to be used but are being assigned getting deleted, or changes that actually do not result in the same output in every case (such as using f() vs f$() functions). I think you can make it mark stuff with a little TODO comment but that just gets to be a huge mess. My favorite tool for VB6 and something I would really like to have with other languages (though ReSharper for C# does a bit of the same thing but integrated into the IDE) is Project Analyzer. You just throw it your project, it scans it and gives you a list of problems of different types. You can then sort through them, toggling off problems you don't care about, etc. It definitely takes a lot more time and effort, but its worth it in my opinion. Going through manually also helps you re-evaluate your code and re-familiarize yourself with the code, why the problems are there, and to better understand what the problems are to avoid them in the future. Re: Code Fixer - William - 04-04-2008 After reading what you wrote spodi, I realized I havn't checked more than 20% of all the menu lists in VB. The File, Edit, View lists ![]() ![]() Re: Code Fixer - Rezeyu - 04-04-2008 you can turn the different 'fixes' on and off in Codefixer though. I personally hated it's comments, with the exception of a few. You can also set it to just give you a list of what's wrong, but not apply any of the fixes. Plus.. its'.. OS, so I suppose you could change/fix what it does. Also, Codefixer works fine on MSE1's client AND server just fine, I jsut tested on a vanilla. |