|
|
Comments and Discussions
|
|
 |

|
Subject says it all.
Thanks, Robert
|
|
|
|
|

|
Thanks for info - looking forward to v2.0 - any time frame?
BTW, any reason why it should not be installed to C:\Users\MyUsername\Documents\DevExpress\IDE Tools\Community\PlugIns ?
|
|
|
|

|
Dunno if that community works, it might (try it), but none of my installed CodeRush plugins end up there ..
|
|
|
|

|
Sorry, but I can't even install, because the Install button is always disabled, whatever destination folder I choose.
The same problem when I use the Browse button. The OK button inside the folder search dialog is always disabled.
|
|
|
|

|
Thats strange, once you choose a valid destination plugins directory (try these directories (v9 and v10, without x86 if your are not on a 64bit system): C:\Program Files (x86)\Developer Express Inc\DXCore for Visual Studio .NET\2.0\Bin\Plugins or C:\Program Files (x86)\DevExpress 2010.1\IDETools\System\CodeRush\BIN\PLUGINS).
You can however also just put the dll file yourself into that directory, you can download it here: http://abi.exdream.com/Blog/content/binary/CR_Commenter_dll.zip[^]
|
|
|
|

|
On CodeRush 10.2, I was able to use the installer to put CR_Commenter.dll in "C:\Program Files\DevExpress 2010.2\IDETools\System\DXCore\BIN\PLUGINS". It does not appear to register with CodeRush and is not accessible in the options.
Based on the advice you gave, I moved it to "C:\Program Files\DevExpress 2010.2\IDETools\System\CodeRush\BIN\PLUGINS". This had the same result.
Opening the plugins from the DevExpress about screen, I saw that it was opening "C:\Users\[username]\Documents\DevExpress\IDE Tools\Community\PlugIns" as another place it looks for plugins... Unfortunately, that doesn't work either. Seems like this just won't work with CR 10.2?
|
|
|
|

|
Thanks for the feedback, I can only tell you that it works for us with the following plugins directory:
C:\Program Files (x86)\DevExpress 2010.1\IDETools\System\DXCore\BIN\PLUGINS
It should work the same way with 2010.2, but I will test it once I have time.
Obviously a update to the plugin is long overdue and once I find some time I will finish all the improvements and make a better installer that works with newer versions as well.
|
|
|
|

|
Any plans for the newer version of commenter
|
|
|
|

|
Good question. Actually I started working a bit on a VS2010 version and tried to make a DXCore2011 (.NET 4.0) plugin, but there is just too many features in the TODO list and not enough time. Currently our company focuses on the http://DeltaEngine.net multi-platform engine development and since our resources are limited we probably only will do some simpler VS plugins really required for engine development.
In the meantime I suggest using VS2010 extensions. We are great fans of VS Power Commands, VS Commands, Document Well 2010 and many more. I still use CodeRush all the time, but I recently also started using some of the VS10x extensions, especially the VS10x Editor View Enhancer and the VS10x Commenter extensions replace some of the functionality of CR_Commenter:
http://visualstudiogallery.msdn.microsoft.com/34eee02b-f1f6-433a-b210-62e94c0bcb87[^]
|
|
|
|

|
Benjamin,
I have been a fan of Commentor for a very long time. But My work has moved to VB.NET instead of C#. Your plug-in is one of the most useful tools I have used. Could this work for VB.NET?
Thanks,
Kurt
Kurt Nelezen
|
|
|
|

|
Hi Kurt,
Sadly no VB support is implemented yet. There were a couple of guys doing some work for a VB version of CR_Commenter, but that work has never been completed and since I do use VB, it was never a priority to implement VB support. Its still in the TODO list, but I currently have no time to do any updates .. many C# features are also hardcoded and probably need some work to work in VB (or they can be disabled like for C++/Lua/fx, etc.).
Kind Regards,
Benjamin
|
|
|
|

|
In a previous version there was the possibility to resort the whole file putting variables and properties to top. Is this still possible. If so, how?
Thanks, Francesca
|
|
|
|

|
Hi Francesca,
there was an idea on how to do that in something like v1.6 or v1.7, but it was never fully implemented and discarded for now. It will probably be implemented in a future version again and be made more useful (some tests for it only worked on very simple classes and it was too much work to get it to work on anything more complex).
Thanks for the feedback,
Benjamin
|
|
|
|

|
v1.7 used to include the <returns></returns> parameter comment tags for methods. v1.9 no longer includes these.
|
|
|
|

|
That feature is still there, it is just disabled by default right now. Just enable XML Parameter generation in the feature options box.
|
|
|
|

|
Thanks Benjamin,
When I enable "Also generate XML tags for all parameters" it does generate the tags for the parameters but not for the return type.
For example:
/// <summary>
/// Test
/// </summary>
/// <param name="i">I</param>
bool test(int i)
{
} // test()
is missing:
/// <returns>bool</returns>
This used to be included in previous releases.
Thank you for this very useful plugin!
|
|
|
|

|
It seems that, compared to ReSharper, CodeRush likes to add lots of pretty multi-colored decor to source code. I feel a but dizzy from all of this.
|
|
|
|
|

|
Not really, GhostDoc just generates Xml Comments and it does not really work the same way.
In the Commenter generating Xml Comments is just one of many features, it can do much more: header generation, comments each block, generates comments for variables, properties, fields, etc. can do regions, expand or collapse stuff, etc.
|
|
|
|

|
Can we make this plugin work with CodeRush 2.0? When I tried to install, it seemed I could only install if running CodeRush 1.1.
Thanks in Advance.
Claudio Lassala
|
|
|
|
|

|
Hey I've installed the plugin and it works like a charm... I've found a few bugs though.
If you add a comment to be added to each and every file such as this one:
#region Sourcesafe Properties
// $Archive: $
// $Revision: $
// $Date: $
// $Author: $
//
#region History
// $History: $
#endregion
#endregion
Then it comments out the forst three compiler directives. And it will include it, even if another comment block like this one (but with Visual Source Safe placeholder filled in) already exists.
It would also be nice if you could call this plugin by some key or menu item to add comments to all functions.
Lastly it would be nice if auto-comments on functions would be added to all (including private and internal) functions instead of just to public funtions.
|
|
|
|

|
I will check that out. I also planing a little update with new features I needed last months (like adding always XML comments to non-public functions as you also noticed), there are also some bugs with the newest CodeRush version (CodeRush changed something with the parameter list).
So expect an update in the next couple of days ^^
My Blog: abi.exDream.com
|
|
|
|

|
Another thing I would really like is to auto add <param> tags to the XML comments.
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
Writing a CodeRush plugin commenter will help you to comment your code and make it easier to navigate through your code.
| Type | Article |
| Licence | CPOL |
| First Posted | 8 Dec 2004 |
| Views | 102,928 |
| Downloads | 1,096 |
| Bookmarked | 78 times |
|
|