ReSharper for C++ [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I know that there is ReSharper for C# for helping to program, is there something similar for C++?

Update: The JetBrains are working on Resharper for C++.
While not quite as good for C++ as Resharper is for C#, Whole Tomato makes a product called Visual Assist X which handles C++ and does it in a reasonably performant manner.
Developer Express also makes CodeRush, which provides more features than Visual Assist, but which is also a much harder drain on your computer, and also which occasionally makes mistakes -- most constructs using macros won't work correctly with CodeRush. Note that as of 2013-05-31, CodeRush has deprecated their C++ support.
Resharper and Visual Assist are nice to have around -- I occasionally flip on CodeRush for some of it's better refactorings, but most of the time leave it off because Visual Assist X's code completion assistance is better.
Do keep in mind that installing any such plugin requires running the IDE in Integrated Mode (rather than Isolated Mode). This means:
In Visual Studio 2012 or earlier you'll need a full version of Visual Studio, not one of the express editions. If you're a university student you can probably download a full copy from MSDNAA. If you're a non-university student or your university doesn't provide MSDNAA you can still download a full version from DreamSpark.
In Visual Studio 2013 or later you can use the "Community Edition", such as Visual Studio Community 2013.

Public announcement of C++ support in ReSharper: http://blogs.jetbrains.com/dotnet/2013/06/resharper-to-support-c

Visual Assist
Once you use this program, you really can't live without it. (And when I say program, I mean add-in!)

It wholly depends on which features you were using from Resharper.
Personal experience: I've used both Resharper and Visual Assist X for at least half a year both, and in the end I went with this free package: Productivity Power Tools by Microsoft: http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef/

Visual Studio 2010 has some improvements similar to what Resharper offers. It's not as good, but there's always Lint. Also, you may be interested in any number of static analysis tools.

Try, VisualAssist X from http://www.wholetomato.com/
This is a VS plugin with support right from VC6-VS2010
(for VC6 I would say, it is as good as ReSharper)

JetBrains is working on C++ support for upcoming version of ReSharper.
It is currently available in closed beta.

ReSharper for C++ is available at public EAP - http://www.jetbrains.com/resharper/features/cpp.html

Related

Why would you choose SharpDevelop over Visual Studio for coding in C#? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I've encountered SharpDevelop a few times before but I don't know anyone who actually programs in it. Would you recommend it for medium size projects in C#?
Subquestions: Is there a difference in speed of compiling? (Article is about multi-threading compliling in SharpDevelop)
Thanks for answers!
There is absolutely no compelling reason to choose SharpDevelop over Visual Studio if you have the choice and the budget.
Visual Studio is by far the best IDE on the market, and I have used quite a few.
And, as Marty says in comments, he is a student. At http://www.dreamspark.com any student can get free, full professional versions of most all of the Visual Studio and Windows SKU's.
Visual Studio is also offered without cost in less featured versions labeled 'Express'
If you are not a student (or don't know one, wink wink) and on a budget, and the VS express versions don't have the features you need, then SharpDevelop would be a good way to go.
I am not an MS fanboy, just in case you are wondering.
I am running SharpDevelop in a Windows VM on a macbook air, which has only a 256G solid state "hard disk", so I need to keep the VM package as small as possible. An installation of Visual Studio, by the time all its updates had been installed, increased the size of the VM package by about 8G. Too big. And why does it take so long to install? what is it doing to the registry? So why spend several hundred pounds on Visual Studio when SharpDevelop is free and tiny by comparison?
For people who need opensource.... eclipse for example would have never been so successful without Open Source
Complete list for Feature comparison (VS Express vs SharpDevelop):
http://community.sharpdevelop.net/blogs/mattward/pages/VisualStudioExpressComparison.aspx
If you have a full license for Visual Studio and are going to write only Windows programs for only yourself or a business, then there would be no incentive.
However, if you wanted to use the C# language and the .NET-style for an Open Source project, or one that is compatible across many platforms, you'd probably choose to use Mono instead of .NET and SharpDevelop instead of VS.
i have tried it for VB.NET couple of years, didn't like the IDE.
After i tried i used the Express Editions for C#/VB.NET (2005).
Now i've a msdn premium account from my company, thats why i only use the Team Systems (home/work).
I think VS is imo the best IDE to develop with the .NET Framework.

Creating a plugin for Visual Studio [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm a fan of style cop but hate the way it dosn't have a more producticve way of resolving errors.
So I'm thinking, to give me a wee project to keep me happy in my spare time, of creating a Visual studio plugin to automate some error fixing.
Has anyone authored a plug in before and got any useful links, hints, experience to share?
You can write an addin to Visual-Studio on it's addins model directly: http://www.c-sharpcorner.com/UploadFile/mgold/AddIns11292005015631AM/AddIns.aspx
It requires some hard work since the extension model is not very intuitive.
You can also do it using DXCore:
http://blogs.microsoft.co.il/blogs/dhelper/archive/2009/06/17/how-to-write-a-simple-dxcore-plug-in.aspx
It's a little bit more simple, and the plugins engine is free.
Last option is to write plugins using Resharper, I never did it but it has reach plugins among Style-cop plugin.
I had experience with both of the first options. First one, VS extensions model, is very hard to work with. It's an old API coming from previous versions of VS, based on classic COM and miss a lot of documentation. Second option, DXCore plugins, is much more intuitive,
has reacher API but it also lack some documentation. Another issue is that it requires installation of ~30MB.
Good luck :)
The new Visual Studio 2010 Beta 2 and the SDK have projects designed for this kind of thing. The extensibility options with the new WPF interface will be a great way to get this done:
http://msdn.microsoft.com/en-us/vstudio/dd441784.aspx#Extensibility
There is going to be a lot of cool things coming out with 2010
The videos are also really good on : http://msdn.microsoft.com/en-gb/vstudio/bb507746.aspx but these are for older Visual Studio versions

what is the state of the "C# compiler as a service " [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Back at the PDC in 2008, in the C# futures talk by Anders Hejlsberg he talked about rewriting the C# compiler and providing a "compiler as a service" I certainly got the impression at the time that they were targeting the C# 4.0 timeframe for this....
Well, does anyone know what the state of this is? it doesn't seem to be there in the CTP and there is almost no information on the WEB apart from links to the 2008 PDC session video (roughly an hour in).
Has this initiative gone dark?
Certainly not C# 4.0. We are just finishing up the last few bug fixes for C# 4.0.
This direction for the toolset is the long term plan, and might never come to fruition. And I don't discuss schedules for unannounced, hypothetical future features.
UPDATE: October 2011
We have just shipped a preview release of "compiler as a service" aka the "Roslyn" project.
We are still not announcing the final ship vehicle; it will be post Visual Studio 11.
It's already available in Mono for quite some time.
It has been released CTP version in the name of Roslyn. You can check it at RosLyn
As of today (19 October 2011), there is a CTP of Roslyn available for download at http://msdn.microsoft.com/en-us/roslyn.
The CTP installs on top of Visual Studio 2010 SP1.
I'm pretty sure I heard rumours of this being a "between 4.0 and 5.0" item now (a separate library, like ASP.NET MVC)... but I can't remember where I heard that. I certainly wouldn't expect it in 4.0 at this point. Frankly I don't even really know what the phrase means exactly - it could cover a whole range of features.

Is there a tool for reformatting C# code? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am looking for a (preferably) command-line tool that can reformat the C# source code on a directory tree. Ideally, I should be able to customize the formatting. Bonus points if the tool can be run on Mono (or Linux).
You could also try NArrange to reformat your code. The formatting options it supports are still pretty limited, but it can process an entire directory and is a command-line tool. Also, NArrange runs under Mono.
You could give Artistic Style a try. It requires Perl to be installed though.
It's got a decent list of formatting options, and supports C and Java as well.
This isn't command-line, Mono or Linux, but it's something: I've been using ReSharper (made by JetBrains) and it's rather good. It's a Visual Studio plugin, so I'm guessing it's not your cup of tea.
Take a look at Polystyle
See our SD C# Formatter. Uses a full C# parser and prettyprinter; it will not break your code.
EDIT: September, 2013: Now runs on Windows and Linux. Covers C# v5.
I use Emacs and csharp-mode. One keystroke and the module is reformatted according to my desires.
Before:
After:
For completeness, check out http://uncrustify.sourceforge.net/
Check out astyle. I am sure the KDE guys use it, but the website said that it supports C#.
Maybe you could take a look at this free Addin for Visual Studio 2010/2012 i recently wrote :)
I am going to second the ReSharper suggestion. I can't live without it.
The built-in reformatting is under ReSharper → Tools → Cleanup Code menu and is bound to Ctrl + E, Ctrl + C by default.

Looking for up-to-date eclipse plugin for C# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I used to work with eclipse for nearly all the languages I need. I'm asked to work on a tool developed in C# and so, I would like to stay in the same familiar environment.
I've found the improve's plugin but its last release is from 2004 and .NET 1.1 which is quite old. Is there a newer plugin to program in C# within eclipse or am I forced to take a look at VS?
Emonic integrates mono into the eclipse framework, that may be of use.
I fear, that there is no good eclipse plug in. Try http://www.monodevelop.com/Main_Page or http://www.icsharpcode.net/OpenSource/SD/. And the free visual 2008 express editions are worth a look.
I have found below 2 articles helpful in trying to get C# Formatting in Eclipse:
C# Like format.xml
Article explaning how to change your formatting
MonoDevelop just released a Windows Beta, and it's looking very good. It's a cross platform C# IDE. It may be of use.
Emonic is worth a look as Jasper suggested. I've installed it in the past myself, but over a year ago. Checking the change logs on the site, it does not appear that they have had any new releases since then. The worst thing about it is that it does not supply a debugger or any refactoring tools. I've found that if you're going to work with Microsoft products it's best to eat the whole hog.
You will have a learning curve getting into visual studion from eclipse, but it will probably save you some time working out the nuiances with a product trying to build .NET code.
Visual Studio is a very nice environment to work in, the express editions are free so my suggestion would be to take the opportunity and have a look at the VS dev environment.

Categories