eclipse for prop?
rwgast_logicdesign
Posts: 1,464
So after a lengthy thread about programming languages in the Genral Discussion forums, i went out and played with a few development tools and im really impressed with how easy Processing is, im also liking PyQt. Basically i want to find an IDE that can handel all of my programming tools im sick of having 10 IDEs installed. so heres a list of languages/tools/compilers i use frequently
msvc6 or gcc
java
python
prop tool
simple ide / propgcc
avr studio
processing
arduino
keil arm or arm gcc
nasm
now im looking into just dropping these all into eclipse from what i can tell almost everything in that list has eclipse plug ins. the ones im not sure about yet is keil, nasm and the prop stuff...
keil and nasm arent show stoppers for me but im really needing propeller tools to work. i see no reason progcc wont work, has someone used eclipse with propgcc? i havent acually used eclipse much but am willing too learn it if i can intergrate all my compilers into it. im really wondering if theres a nice solution to get bst or one of the open source or spin/pasm compilers running with nice eclipse syntax features, if not maybe an eclipse user can tell me how hard it would be to get a full fledged spin plug in made
msvc6 or gcc
java
python
prop tool
simple ide / propgcc
avr studio
processing
arduino
keil arm or arm gcc
nasm
now im looking into just dropping these all into eclipse from what i can tell almost everything in that list has eclipse plug ins. the ones im not sure about yet is keil, nasm and the prop stuff...
keil and nasm arent show stoppers for me but im really needing propeller tools to work. i see no reason progcc wont work, has someone used eclipse with propgcc? i havent acually used eclipse much but am willing too learn it if i can intergrate all my compilers into it. im really wondering if theres a nice solution to get bst or one of the open source or spin/pasm compilers running with nice eclipse syntax features, if not maybe an eclipse user can tell me how hard it would be to get a full fledged spin plug in made
Comments
On the other hand Eclipse is a nightmare. IT tries to do everything, is huge and complicated and slow and never does what I want. I guess in theory one can load it up with plugins and jump from language to language and platform to platform at will but that is not how it works out:
I have an Eclipse installation for C and XC languages on XMOS devices.
I have an Eclipse installation for Android.
I have an Eclipse installation for C++/Qt on Android.
I have an Eclipse installation for the Go language.
...
Every one of those set up with whatever plugins in requires for the use case. All of them big and sprawling and slow and confusing.
I believe someone has used Eclipse with propgcc and a proper plugin set up was on the plans at one point.
In all this IDE mess I keep finding myself falling back to vim and the command line just so I have an island of stability and know where I am:)
btw i meant IARwarm not keil, never used keil in my life.
A while back I looked at Android and followed their SDK install instructions, That gets me another Eclipse.
Pretty sure I ended up with a third one for Qt on Android.
Recently I In stalled Eclipse again for the Go language. This time on a machine that had never see Eclipse before. Now perhaps I'm missing a point but:
1) Why do I have a bunch of Java related buttons and menu options when I am in Go mode?
2) Why when I press the RUN button does it come up with all kinds of reasons to not actually run anything?
3) Why is it so slow? Admittedly on an old XP machine I borrowed at the time.
4) Why is it so hard to keep all those stupid windows in place?
Go might be a special case because it compiles so damn fast and has a very neat and simple build system, all I need is:
$ go run myprog.go
On the command line and it will build that module and all its dependencies in the wink of an eye.
Given that the build can be done in less time than Eclipse to takes to even start it it's very frustrating to use Eclipse.
The thing to understand however, is that eclipse doesn't do anything but be an editor, you have to supply the make file it will execute for you.
Um, to get eclipse working for propGCC, just create a new C/C++ project and then edit the project settings to target the make file for the project. It will be a little bit confusing at first, but there should a "build" option or something of the like where you can specify the command to build your code.
And fer heaven sakes Spin has no business associating with the red light district of development.
Amazing story. I would just stick with VIM if at all possible - except that I'm in this other development thingy ....
eclipse is overkill for small micro projects but its not overkill if your trying to use 1 ide for everything
Unfortunately it is pretty difficult to write a good language plugin set for eclipse. There is a framework for writing one and you must "plugin or extend" this framework. You would have to build a language grammar parser first and there are other pieces. I would look at the source to PyDev on pydev.org I believe - you can see the amount of work required. Python structure is similar to Spin and PyDev implementation is pretty good as a language plugin so it would be a good model to start with.