I love Eclipse.

For all coding issues - MODers and programmers, HTML and more.

Moderators: Jeff250, fliptw

Post Reply
User avatar
Isaac
DBB Artist
DBB Artist
Posts: 7737
Joined: Mon Aug 01, 2005 8:47 am
Location: 🍕

I love Eclipse.

Post by Isaac »

First, I just want to say why I now hate the Twilight chick-flick junk on google. There's either a book or a movie called Eclipse, and if I forget to add -twilight to my searches I always that garbage. And while I'm on that topic, the fact that Pyjamas (for Python) is an accepted way of spelling Pajamas, on the Moon, makes finding tutorials more difficult... Yeah. There are Pyjama tutorials that aren't programming related. HAHAHAH! :arrow: :|

Yeah, anyway.

Eclipse is awesome! I love writing in it. There so much hate against Eclipse on the internet and it was the only thing keeping me from using it. So finally, while trying to figure out the best way to write in different web languges on the same project, it dawned on me that I should try out one of the free IDEs.

Someone recommended Spyder, or Spyderlib, and I just couldn't make it work. I really couldn't tell how to make it work with Javascript. It was clear that it was designed for Python, but I want to do more than just work with Python, in the future. I have it installed still, but I don't plan on using it until I see a real benefit.

I ran the sudo apt-get install eclipse command and
<silly> Then up over the white peaked mountains of... east Texas... there was a light! I climbed up and saw a glimmering sword. Wind swirling around it, like an invisible brush painting with snow. I tossedth my rusty Gedit dagger aside and claimed Eclipse, sword of slightly better UI! </silly>

Seriously, though. I love that my classes and functions are picked up immediately by autocomplete. The trace-back errors actually trace to something. And it's suppose to be friendly with a bunch of different APIs, which I plan on using.
❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉
-⎽__⎽-⎻⎺⎺⎻-⎽__⎽--⎻⎺⎺⎻-★ ·:*¨༺꧁༺ :E ༻꧂༻¨*:·.★-⎽__⎽-⎻⎺⎺⎻-⎽__⎽--⎻⎺⎺⎻-
❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Re: I love Eclipse.

Post by Sirius »

Isaac wrote:First, I just want to say why I now hate the Twilight chick-flick junk on google. There's either a book or a movie called Eclipse, and if I forget to add -twilight to my searches I always that garbage.
Ouch. I can imagine your pain.

But yes, I was very impressed with Eclipse when I started using it a few years back. Makes the art of programming that much less error-prone when you're trying to do it quickly. It took VS quite a while to catch up, actually, and it still doesn't have quite as strong refactoring capabilities (thinking of C# here; basically no refactoring in C++, but considering the language, that probably isn't surprising).
karx11erx
DX-XL Master
DX-XL Master
Posts: 153
Joined: Tue Mar 25, 2008 3:38 am
Contact:

Re: I love Eclipse.

Post by karx11erx »

VS could just as well offer refactoring for C++, but I guess MS wants to push C#. Apart from refactoring I never found Eclipse quite up to par with VS; it's pretty goid though and sure nice to have something like that on Linux.
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Re: I love Eclipse.

Post by Sirius »

Yeah, they kind of do ... you can't replace C++, but C# is more or less their "solution" for general-purpose applications, similar to how Java is seeing more use for this in the non-MS world.

For better or for worse.
User avatar
Isaac
DBB Artist
DBB Artist
Posts: 7737
Joined: Mon Aug 01, 2005 8:47 am
Location: 🍕

Re: I love Eclipse.

Post by Isaac »

The biggest app I ever wrote in python was roughly six classes, loaded with functions, to manage user sessions and about seven applications. But I never felt I needed it refracted. Maybe it's something lower level languages need.
❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉
-⎽__⎽-⎻⎺⎺⎻-⎽__⎽--⎻⎺⎺⎻-★ ·:*¨༺꧁༺ :E ༻꧂༻¨*:·.★-⎽__⎽-⎻⎺⎺⎻-⎽__⎽--⎻⎺⎺⎻-
❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Re: I love Eclipse.

Post by fliptw »

Macros are the main issue wrt to automated refactoring in C++.
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Re: I love Eclipse.

Post by Sirius »

Refactoring is generally something large applications are most likely to need, whether written in a low- or high-level language. I can see a six-class application not being an issue - at that size it's pretty easy to keep the whole thing in your head from start to finish.

P.S. Though I should note it's not limited to large applications. I've frequently had to refactor smaller programs when I started with a prototype or proof-of-concept to ensure that what I wanted to do was really possible, then had to turn that into a program or library that was actually useful.
User avatar
Verran
DBB Captain
DBB Captain
Posts: 589
Joined: Thu Nov 05, 1998 12:01 pm
Location: Colorado
Contact:

Re: I love Eclipse.

Post by Verran »

God, I can't live without Resharper, which means I'll never use VS Express. *grumble* *walks away*
R e v
DBB Admiral
DBB Admiral
Posts: 1121
Joined: Wed Mar 24, 1999 3:01 am

Re: I love Eclipse.

Post by R e v »

If you like Eclipse, and you appear to prefer Python, I recomment AptanaStudio3 (http://www.aptana.com/)

It's based on Eclipse, but much more refined and manageable, imo.
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6539
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

Re: I love Eclipse.

Post by Jeff250 »

In general, you can't automatically refactor C++ due to the halting problem (recognizing the grammar is formally undecidable).

If you use eclipse, you might want to just download the tarball from their site, as the Ubuntu maintained version is usually quite out of date. I can't imagine programming Java without eclipse, since that language is so tediously verbose. Rest assured, for C/python/etc., I use vim though. ;)
User avatar
Isaac
DBB Artist
DBB Artist
Posts: 7737
Joined: Mon Aug 01, 2005 8:47 am
Location: 🍕

Re: I love Eclipse.

Post by Isaac »

here's an update..


Using eclipse for working on projects on a restricted ftp account isn't very good. The auto complete also has problems because it wants to reference the python version installed on your computer and not the one on the server, which is an older customized version and isn't one I have direct access to.

Gedit is king when it comes to editing on the server. Nothing beats it. Here's why.
I open any file with it on my ftp account and edit something. I then have to save, by hitting ctrl+s. Every other text editor on the planet, or at least all the ones I've been trying, have to freeze while they're saving! This is really annoying since it can take a whole 6 seconds to save something small. While Gedit is saving I can still move around the page, scrolling up and down.

As for vim... I like it, but I have not yet figured out how to use vim easily on my ftp server with the command line :oops:
❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉
-⎽__⎽-⎻⎺⎺⎻-⎽__⎽--⎻⎺⎺⎻-★ ·:*¨༺꧁༺ :E ༻꧂༻¨*:·.★-⎽__⎽-⎻⎺⎺⎻-⎽__⎽--⎻⎺⎺⎻-
❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉❉⊱•═•⊰❉⊱•═•⊰❉⊱•═•⊰❉
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Re: I love Eclipse.

Post by Sirius »

Jeff250 wrote:In general, you can't automatically refactor C++ due to the halting problem (recognizing the grammar is formally undecidable).
Is this because of macros? Maybe not just macros?
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Re: I love Eclipse.

Post by fliptw »

Isaac wrote:here's an update..


Using eclipse for working on projects on a restricted ftp account isn't very good. The auto complete also has problems because it wants to reference the python version installed on your computer and not the one on the server, which is an older customized version and isn't one I have direct access to.

Gedit is king when it comes to editing on the server. Nothing beats it. Here's why.
I open any file with it on my ftp account and edit something. I then have to save, by hitting ctrl+s. Every other text editor on the planet, or at least all the ones I've been trying, have to freeze while they're saving! This is really annoying since it can take a whole 6 seconds to save something small. While Gedit is saving I can still move around the page, scrolling up and down.

As for vim... I like it, but I have not yet figured out how to use vim easily on my ftp server with the command line :oops:
FTP is a protocol for uploading and downloading. Its not a file system. Do your work locally, and then update when you are confident everything works.
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Re: I love Eclipse.

Post by fliptw »

Sirius wrote:
Jeff250 wrote:In general, you can't automatically refactor C++ due to the halting problem (recognizing the grammar is formally undecidable).
Is this because of macros? Maybe not just macros?
Templates too. It undecidable because of the multiple places in the C++ tool chain where decisions are made about what the final code will look like.

then you have to decide on how to do the refactoring - you could do all of it using macros if you really hate the rest of humanity.
User avatar
Sirius
DBB Master
DBB Master
Posts: 5616
Joined: Fri May 28, 1999 2:01 am
Location: Bellevue, WA
Contact:

Re: I love Eclipse.

Post by Sirius »

Other languages have templates... but it probably is true that you can't do all the same things with them.

P.S. I'm impressed that I somehow managed to miss the start of the thread and repeat it just 10 posts later. Goin' for gold, folks...
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6539
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

Re: I love Eclipse.

Post by Jeff250 »

For instance, there's no way to write an infinite loop using C macros, so they aren't Turing complete.
Post Reply