在 Eclipse IDE 上使用 VBA
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14356671/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Working with VBA on Eclipse IDE
提问by Adam Ryczkowski
Possible Duplicate:
Any cheap or free IDE's out there for VB6 programming?
可能的重复:
任何便宜或免费的 IDE 可用于 VB6 编程?
We plan to write complex VB6 projects. Now, when the legit MS Visual Studio 6 is scarce, in our organization we need to look for alternative environments. The paradigm of VBA, i.e. having all code embedded into a single xlsx/docx file is insuficient for our purposes. We also need some sort of bug tracking.
我们计划编写复杂的 VB6 项目。现在,当合法的 MS Visual Studio 6 稀缺时,我们需要在我们的组织中寻找替代环境。VBA 的范式,即将所有代码嵌入到单个 xlsx/docx 文件中,对于我们的目的来说是不够的。我们还需要某种错误跟踪。
I know that Eclipse and VBA are just two separate worlds... but still, does some sort of integration exist? I'm looking in particular for:
我知道 Eclipse 和 VBA 只是两个独立的世界……但是,是否存在某种集成?我特别在寻找:
- Development done in manageable .bas and .cls text files, not one big binary container.
- Some sort of debugging capabilities. I don't expect something to match VB6, but at least some form of automatic import & export of the code into some VBA-capable container (like .xlsx, docx)
- VBA Syntax highlighting
- Some sort of Intelli-Sense (code completion)
- Integration with EGit and Mylyn
- 开发是在可管理的 .bas 和 .cls 文本文件中完成的,而不是一个大的二进制容器。
- 某种调试功能。我不希望某些东西与 VB6 匹配,但至少可以将代码的某种形式自动导入和导出到一些支持 VBA 的容器中(例如 .xlsx、docx)
- VBA 语法高亮
- 某种智能感知(代码完成)
- 与 EGit 和 Mylyn 的集成
I know, that I can glue something up with tools like custom macro, Notepad++, TortoiseGit etc. But the Eclipse already has a lot of functionality in place, and we use it in our organization anyway, so people wouldn't need to learn a lot of new stuff.
我知道,我可以用自定义宏、Notepad++、TortoiseGit 等工具来粘合一些东西。但是 Eclipse 已经有很多功能,无论如何我们在我们的组织中使用它,所以人们不需要学习很多新东西。
回答by James Snell
Short answer is No, it doesn't. The reason is that the VB6 compiler is part of VB6 another IDE would need a VB6 licence to use it (and if you have that then you have the VB6 IDE) or another compiler. Also if Eclipse supported VB6 then I'd expect a quick web search to reveal that.
简短的回答是否定的,它没有。原因是 VB6 编译器是 VB6 的一部分,另一个 IDE 需要一个 VB6 许可证才能使用它(如果你有,那么你就有了 VB6 IDE)或另一个编译器。此外,如果 Eclipse 支持 VB6,那么我希望通过快速的网络搜索来揭示这一点。
If your main concern is availability of an IDE with VB code features then porting your VB to VB.Net is going to be your best option in the long term.
如果您主要关心的是具有 VB 代码功能的 IDE 的可用性,那么从长远来看,将您的 VB 移植到 VB.Net 将是您的最佳选择。