在Microsoft Visual Studio 2012中使用Java
我最初是一名C ++程序员,Visual Studio为我做了很多工作。但是,我最近想分支到C#和Java。 Visual Studio支持C#,我现在有一些经验,但它不支持Java。有没有人让我允许Visual Studio与Java一起使用?我正在考虑尝试使用Visual Studio SDK的加载项向导来创建Java支持的扩展,但在我开始深入研究可能非常复杂的事情之前,我想知道是否有人曾在此尝试过这个并且可能有为我解决这个问题的一些建议。经过大量的互联网搜索后,我发现Visual Studio没有Java支持,我找到的一些解决方法相当低。
I started as a C++ programmer, and Visual studio has worked splendedly for me. However, I recently have wanted to branch out to C# and Java. Visual studio supports C# and I now have some experience with it, but it does not support Java. Does anyone have any tips for me to allow Visual Studio to be used with Java? I was thinking of trying to use the add-in wizard of the Visual Studio SDK to create an extention for Java support, but before I started diving in to something possibly quite complicated, I was wondering if anyone here had attempted this before and might have some advice for me for approaching this problem. After much searching the internet, I found no Java support for visual studio, and the few workarounds I found were quite sub par.
澄清:
我想为Visual Studio 2012编写一个允许它与Java prgramming一起使用的插件。我想在创建项目文件时可以选择生成.java文件,当我编译时,我希望它使用javac编译器编译(我已经下载了)。
I want to write an add in for Visual studio 2012 that will allow it to work with Java prgramming. I want when I create a project file to have the option of making a .java file, and when I compile, I want it to compile using the javac compiler (I have it downloaded already).
其他细节:
我知道那里已经有Java IDE了,比如eclipse,我只是想知道是否有可能让它与visual studio合作。我非常喜欢视觉工作室并且已经使用了一段时间了,我希望能够使用相同的界面使用我所知道的所有语言进行编程。
I am aware that there are already Java IDEs out there, such as eclipse, I just wanted to know if it was possible to get it working with visual studio. I greatly enjoy visual studio and have been using it for some time now, and I would love to be able to program in all the languages I know using the same interface.
是的,C#是一种增强的Java,但是我可能需要做一些特别需要Java的东西,所以我需要一种方法来编写它们。我可以使用eclipse或其他IDE,但如果可能,我更喜欢visual studio。
Yes, C# is a sort of beefed up Java, but there are some things I may need to do that need Java specifically, so I am going to need a way to write those. I can use eclipse or another IDE, but I would prefer visual studio if possible.
有一个visual studio插件可以支持java语言:
http://visualstudiogallery.msdn.microsoft.com/bc561769- 36ff-4a40-9504-e266e8706f93
There is a visual studio plugin to support the java language: http://visualstudiogallery.msdn.microsoft.com/bc561769-36ff-4a40-9504-e266e8706f93