Use Eclipse as GNOME Extension IDE
Asked Answered
R

0

18

I am trying to develop my own GNOME Extension. I have read several articles:

and the official one.

From wiki.gnome.org:

It is very helpful to develop using an IDE with JavaScript support. It will help us with code folding, autocompletion, outline, etc.

GNOME has his own IDE for develop, called Anjuta. The problem is that IDE has some lacks, like autocompletion, code folding, etc. so for me it is better to develop using Eclipse until Anjuta gets to have this kind of features.

So, we start setting up Eclipse to have JavaScript support. Setting up Eclipse

Install Eclipse from your app store of your distribution. Open Eclipse and select your workspace. Go to "Help". "Install new software". Select Work with "All available sites". Search for JavaScript. Install. That's it!

I manage to use Eclipse to write my first extension, but I would like to enable the code completion feature. I found this feature is an huge help to speed up code writing.

I assume that I have to set correct "Include Path" into my JavaScript project. But I can't find which path I have to add.

Note: I use Eclipse Kepler with JavaScript Development Tools on Fedora 19.

Randeerandel answered 27/4, 2014 at 21:47 Comment(3)
Hi, I'm looking for the same stuff, so if you found anything, please share it with us ! ThanksTelethon
Maybe take a look here: Using JavaScript Content Assist -> eclipse.org/pdt/help/html/using_javascript_content_assist.htm (make sure to check the note at the top that reads: enable JavaScript Support for the project and Set the JavaScript Build Path and follow the links there as well.)Pigmentation
Gnome has an IDE named Gnome Builder. It has first-class support for many Gnome technologies, Flatpak, ...Guthrey

© 2022 - 2024 — McMap. All rights reserved.