Hi;
In the java world I use IntelliJ and in the C# world I use Visual Studio wit ReSharper & nunitaddin.
Is there anything like this for VS 2005/J# ReSharper flat-out does not work with J# (they officially don't support it and most of it's features are turned off in J#). And nunitaddin does not understand J# (for a main()) or junit.
And Visual Studio doesn't come close to having the features found in ReSharper & nunitaddin.
Anythinf out there I feel like I'm back in the dark ages of IDEs.
thanks - dave

Any good Add-Ins for VS 2005/J#?
lordhed
http://forum.omnicore.com/showthread.php threadid=2383
I use Eclipse for Java and really miss some of the refactoring features and especially the ability to right-click on a method name and select "show all references". JustCode! has some of these.
Encaps
I dont know if there is something equivalent available for J# or not. I looked for the details of ReSharper on net and found that following are the main features.
1. Error Highlighting - Visual studio IDE supports this feature. You need not have any Addin for this one. Does it not wotk for you
2. Error Quick-Fixes - Visual studio IDE has limited supports for this feature. For ex. if you are missing importing a package, a smart tag is shown in the editor. When you click on the smart tag it shows you no ways to correct the error.
3. Refactoring Support - Unfortunately J# doesn't support erfactoring in Visual Studio 2005. It is the feature we will like to have in our next release.
I haven't checked for nunitaddin. I tried to get some information on net but couldn't get anything useful. Can you please throw some light on what is this tool and what is it used for
Thanks.
Varun Sood
What I have found myself doing, because we use common code, is I always have IntelliJ open and I do almost all of my editing in it, and then build the files in Visual Studio.
thank you for looking - dave
Leif902
J# also supports 'Find All references" feature. If you right click on a Method name in the editor and select "Find All References" from context menu then a window called "Find symbol results" shows all the places where that function has been referred.
Can you try it and see if it serves your purpose. If not then please write here that what your expectations are
Thanks.
Best Ordinary Man
I thought about this to try and reduce this down to the major items. So here it is in order:
1) IntelliJ & ReSharper parse the code while you are typing and put a little yellow or red bar on the right window frame where there are warnings/errors. This is tremendously useful while writing code. What VisualStudio does is find errors when you compile - and those errors are still underlined in blue after they are fixed.
2) Refactoring. Again, this not only saves a ton of time, but there is refactoring I am not doing in J# which I would do if the refactoring support existed. Because the improvement isn't worth the time hit of doing it by hand.
3) Next is the fact that, IMO, IntelliJ/ReSharper does some things "better." When an import is needed (namespace in C#), IntelliJ/ReSharper pops up the needed one and saya press ALT-ENTER to add it. There is no need to put the caret on the offending variable, press SHIFT-ALT-F10, then press ENTER. The code complete and popup documentation also work smoother. It's like the difference between a G.M. and BMW car - they both get you to the grocery store but one just does it a lot smoother.
4) Finally is performance. If I select "Find All References" on Object.toString (I did this by mistake), after 10 minutes I finally killed VisualStudio. Out of curiosity I tried under IntelliJ and it took about 20 seconds (about 2,000 java files in each case).
If you have anyone on the C# team at Microsoft using ReSharper, ask them if you could delete it from their machine. I think their response will help you understand the significant value it adds.
But... unfortunately it does not handle J# on VisualStudio :(
thanks - dave
Klingon
Thanks for your comments. Here are my replies:
1. IntelliJ/ReSharper does it's error highlighting without requiring a compile. And it places a red mark on the right where there is an error (and yellow for a warning). This is tremendously effective when writing code - when I am writing new code I sometimes go hours without doing a compile.
2. Right - IntelliJ/ReSharper pops up a suggested import and ALT-ENTER then inserts it at the top.
3. Right - this is another tremendous timesaver. I think this, like item 1, requires that the IDE can parse the source code.
4. nunit is at http://weblogs.asp.net/nunitaddin/archive/2004/08/24/219316.aspx - with it you can right click on a file and run all unit tests in it. You can right click in a file and it will run the single uing test the cursor is in. Or if the cursor is in a main method, it runs that. It's very very handy - install it today if you are doing C# development.
I also suggest you install ReSharper if you do C# development. After a month you will not be able to work without it.
If only both of these tools worked with J# (and junit for nunitaddin).
thanks - dave
Tomas M.
thanks - dave
CraigH
If you drop me a line through my blog (http://weblogs.asp.net/nunitaddin/contact.aspx), I'll see what I can do about adding junit support in VS2005/J#. I've been working on the extensability model in TestDriven.NET (aka NUnitAddIn). It should be relatively strait forward to add.
Thanks, Jamie.
Patrick MCCormick
J# also supports Error highlighting without requiring compliation. For example if you are missing a coma in between variable declareation...
int i k;
Then a red squiggly will appear under k; and error list window will show following errors...
Error 1 ; expected
Error 2 Only assignment, call, increment, decrement, and new expressions can be used as an expression statement.
This is just an example. Actually all the syntax errors will be shown before compilation. A red squiggly will appear under erroneous code and appropriate error will be shown in the error list window. If you double click on any error in error list window, it will take you to the acctual error in the editor.
You can open error list window by clicking on View > Error List.
Regarding refactoring, you are right that if IDE can support error highlighting then it can support Refactoring also, but due to some odd reasons J# doesn't support it in VS 2005.
We haven't tried nunitaddin yet. We will surely check it and see if it anything similar can be supported by J# also.
Anyways, thanks alot for giving these valuable suggestions.
Thanks.