Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use Netbeans for working on VB6 projects?

Tags:

netbeans

vb6

I have to work on several VB6 legacy projects and despite some good VB6 plugins (CodeSMART for example) I hate the IDE more and more, especially now where I have the opportunity to work with Java/Netbeans on a new project. Unfortunatly it will stay that way at least the next few years.

So I'm asking myself: Can the Netbeans IDE be extended via plugins to support VB6 projects?

This is what I dream of:

  • Better code navigation (Ctrl+Click for example)
  • Better code highlighting
  • Code folding
  • Simple refactoring
  • Organizing the source files in a hierarchy
  • My own VB6 specific warnings ("Missing option explicit for example")
  • Code generators (like in Java for getters and setters)
  • Integrated debugging (But I assume this is virtually impossible)
  • Auto-formatting of code

Can it be done? Has someone experience with Netbeans and a custom language? What's the best way to start?

EDIT: I want to do this myself as I'm aware that this is a highly specialized feature request :)

like image 979
Daniel Rikowski Avatar asked Nov 24 '08 13:11

Daniel Rikowski


People also ask

What can NetBeans be used for?

"NetBeans IDE allows our developers to build high quality applications quickly and easily. We use the IDE to create web applications using the Java EE platform, as well as PHP, JavaScript, and Ajax. We really appreciate the IDE's out-of-box plugins, especially its first class support for Git and Maven.

Which is better NetBeans or Visual Studio?

Apache NetBeans has 159 reviews and a rating of 4.22 / 5 stars vs Microsoft Visual Studio which has 2489 reviews and a rating of 4.61 / 5 stars.

Is Visual Studio and NetBeans same?

NetBeans IDE is FREE, open source, and has a worldwide community of users and developers; Visual Studio: State-of-the-art tools and services that you can use to create great apps for devices, the cloud, and everything in between.

Is NetBeans easy to use?

NetBeans is a popular and widely-used IDE for developing Java applications - favored by millions of developers around the world. The NetBeans IDE is free, open source, cross-platform, feature-rich, easy to use and as powerful as Eclipse IDE.


1 Answers

I did a quick search to see if there is an available plugin to support Visual Basic on Netbeans, but was not able to find any.

As you've mentioned that you are willing to write VB support for Netbeans, you may want to take a look at Schliemann - Easy Integration of Scripting Languages in NetBeans IDE 6.0. This article provides information on how langauge support works in Netbeans 6 along with a how-to on adding new languages.

You may also want to check out the General Scripting Framework, which is used to provide support for Ruby, HTML, CSS and JavaScript. The advantage over Project Schliemann is that it will allow compilation of new languages as well, however, the downside is that you will have to provide the lexer and parser for the new language to support.

Here are some additional some resources which may come handy on your quest:

  • Contributing Modules - First, check to be sure that there are no other plugins that will suite your needs.
  • NetBeans Plugin Quick Start - Introduction to adding features to the IDE.
  • Generic Languages Framework (Project Schliemann) - This information may be outdated as it references the current version of Netbeans as a "future" version.
  • languages.netbeans.org - This site is listed as the official page for Project Schliemann.

Good luck!

like image 123
coobird Avatar answered Sep 24 '22 07:09

coobird