JDT equivalent for C#/Visual Studio

I'm looking for an equivalent to the JDT in Visual Studio for C#. Generally, I want to extend Visual Studio with a plugin to analyze C# source code. So what should I look for?

Answers


You are looking for the Visual Studio SDK, specifically the Visual Studio Integration SDK section. You may find references to Visual Studio Extensibility (VSX) - they are the same thing.

The learning site for VSX has a few links to get you started, especially in the "Getting Started" section. You can find detailed coverage in the documentation.

EDIT:

If you are looking for a plugin to analyze your code and don't mind buying it, Resharper is the best option. Resharper has its own SDK that allows you to create plugins for it.

If you want to create your own code analysis plugin, you will have to do a bit of work. VS doesn't include any parsing or analysis support. This will come with Project Roslyn, hopefully soon after .NET 4.5 RTMs. Right now it's in CTP and may well be cancelled.

There are some tools that can help with analysis. ANTLR has a .NET distribution.Net that targets C#. Mono.Cecil is a Mono library that inspects IL code and is the basis of almost all .NET decompilers.


I am not really sure about what you are looking for but ReSharper will help you in many ways.

Taken from their website:

ReSharper is a renowned productivity tool that makes Microsoft Visual Studio a much better IDE. Thousands of .NET developers worldwide wonder how they've ever lived without ReSharper's code inspections, automated refactorings, blazing fast navigation, and coding assistance.

And here are some words about the analysis cabapilities:

On-the-fly code quality analysis in C#, VB.NET, XAML, ASP.NET, ASP.NET MVC, JavaScript, CSS, and XML. ReSharper will tell you right away if your solution contains errors or code that can be improved.

I'm an avid Java developer and I use IntelliJ IDEA from JetBrains who also has developed the ReSharper. ReSharper has taken a lot of goodies from IntelliJ and it is really fantastic to use when you are using VS like I am at the moment.


You probably can check out ReSharper like @maba suggested. But ReSharper is not free.

If you are looking for something free, you have several choices,

Based on them you can write Visual Studio addon that provides similar functionalities to ReSharper or JDT.

NRefactory 5 and Roslyn are both in active development phase, so both of them are not yet ready for serious usage.


Need Your Help

The template is broken -OpenAL.framework--UPDATE--How to create new mac project manually?

xcode cocos2d-iphone openal macos

EDIT: It seems like no one knows the answer. New question: can anyone post a step by step tutorial how to create a mac project manually?? The answer to that question will of course get the "tick" as

Set of unicode characters that do not have the same NFD and NFC encoding

unicode

What are the set of unicode characters that do not share the same NFC and NFD encoding?