unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Organizing files in projects
@ 2010-04-22 12:58 Valentin Jacquemin
  2010-04-22 16:34 ` Drew Adams
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Valentin Jacquemin @ 2010-04-22 12:58 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

Hi all,

I use more and more emacs for my hacking activities. I am more used to
Netbeans and Eclipse IDEs but the possibility to do anything from only one
editor attracts me....

One thing I miss however currently is the possibility to organize my files
as a project. Typically if I develop a PHP application, I'd like to be able
to a)navigate in the current file to jump directly to a class' member
(either variable, function, whatever) and b) jump into a dependency, this
can be a superclass or a class from a library I use, anything. Doing that
from my beloved IDEs is very easy, but from Emacs I read about tags,
anything and certainly others...

My question is: is there an "almighty" solution?

Thanks for your help,

Valentin Jacquemin

[-- Attachment #2: Type: text/html, Size: 811 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Organizing files in projects
  2010-04-22 12:58 Organizing files in projects Valentin Jacquemin
@ 2010-04-22 16:34 ` Drew Adams
  2010-04-22 16:45 ` Nicolas Forgerit
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Drew Adams @ 2010-04-22 16:34 UTC (permalink / raw)
  To: 'Valentin Jacquemin', help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]

I don't think there is a single "almighty solution". There are many tools and
features that can help with code management, depending on what your needs are.
Here are some suggestions:

*	

	Search for "project" on Emacs Wiki.
*	

	Among other things, Emacs tags and Bookmark+ tags can help.
*	

	http://www.emacswiki.org/emacs/Icicles_-_Support_for_Projects

Others will offer additional pointers no doubt.
 
There are many ways to manage "projects" of code, and Emacs offers many features
that can help with this. It's up to you to decide how you want to do things and
which features are most useful for your needs.


I use more and more emacs for my hacking activities. I am more used to Netbeans
and Eclipse IDEs but the possibility to do anything from only one editor
attracts me....

One thing I miss however currently is the possibility to organize my files as a
project. Typically if I develop a PHP application, I'd like to be able to
a)navigate in the current file to jump directly to a class' member (either
variable, function, whatever) and b) jump into a dependency, this can be a
superclass or a class from a library I use, anything. Doing that from my beloved
IDEs is very easy, but from Emacs I read about tags, anything and certainly
others... 

My question is: is there an "almighty" solution?



[-- Attachment #2: Type: text/html, Size: 2734 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Organizing files in projects
  2010-04-22 12:58 Organizing files in projects Valentin Jacquemin
  2010-04-22 16:34 ` Drew Adams
@ 2010-04-22 16:45 ` Nicolas Forgerit
  2010-04-22 16:50 ` Richard Riley
  2010-04-23 13:55 ` Joel J. Adamson
  3 siblings, 0 replies; 5+ messages in thread
From: Nicolas Forgerit @ 2010-04-22 16:45 UTC (permalink / raw)
  To: help-gnu-emacs

Valentin Jacquemin wrote:
> Hi all,
>
> I use more and more emacs for my hacking activities. I am more used to
> Netbeans and Eclipse IDEs but the possibility to do anything from only
> one editor attracts me....
>
> One thing I miss however currently is the possibility to organize my
> files as a project. Typically if I develop a PHP application, I'd like
> to be able to a)navigate in the current file to jump directly to a
> class' member (either variable, function, whatever) and b) jump into a
> dependency, this can be a superclass or a class from a library I use,
> anything. Doing that from my beloved IDEs is very easy, but from Emacs
> I read about tags, anything and certainly others...
>
> My question is: is there an "almighty" solution?
>
> Thanks for your help,
>
> Valentin Jacquemin

Hey Valentin!

I have almost the same problems, being switched to Emacs (coming from
Textmate) few weeks ago.

I'm still not that confident with Emacs, but there exists a nice
extension called "ecb" [1] (Emacs Code Browser), that uses (extends?)
"Cedet" [2] (another seemingly quite extensive developing environment).

As far as i can tell, ecb (using etags for that task) does not support
parsing of all kind of PHP-Code. I'm still evaluating that, but it seems
that it has problems with namespaces missing to analyze the given PHP5
code with a message like "unknown syntax tokens". I found that out by
trying to load FLOW3-Code, whereas TYPO3-Files up to T3v4.4 works. (Yes,
i'm a TYPO3 guy! :)

As i have said i'm not very confident with that Emacs stuff at all, so
we need a statement of a PHP-Guru using Emacs for all stuff he's doing.

Ciao
    Nico

PS: What might be a generally good source for Emacs Help, is the Emacs
Wiki [3]. I'm always surfing there when the business lets having me some
minutes for stuff..

[1] http://ecb.sourceforge.net/
[2] http://cedet.sourceforge.net/
[3] http://www.emacswiki.org/





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Organizing files in projects
  2010-04-22 12:58 Organizing files in projects Valentin Jacquemin
  2010-04-22 16:34 ` Drew Adams
  2010-04-22 16:45 ` Nicolas Forgerit
@ 2010-04-22 16:50 ` Richard Riley
  2010-04-23 13:55 ` Joel J. Adamson
  3 siblings, 0 replies; 5+ messages in thread
From: Richard Riley @ 2010-04-22 16:50 UTC (permalink / raw)
  To: help-gnu-emacs

Valentin Jacquemin <jacqueminv@gmail.com> writes:

> Hi all,
>
> I use more and more emacs for my hacking activities. I am more used to Netbeans and Eclipse
> IDEs but the possibility to do anything from only one editor attracts me....
>
> One thing I miss however currently is the possibility to organize my files as a project.
> Typically if I develop a PHP application, I'd like to be able to a)navigate in the current
> file to jump directly to a class' member (either variable, function, whatever) and b) jump
> into a dependency, this can be a superclass or a class from a library I use, anything. Doing
> that from my beloved IDEs is very easy, but from Emacs I read about tags, anything and
> certainly others...
>
> My question is: is there an "almighty" solution?
>
> Thanks for your help,
>
> Valentin Jacquemin
>


Simple answer :no.

More complex : maybe.

Look up cedet. And tags. And global tags. And cscope. And ..... 

The most promising solution is cedet. It is pretty complex and I can't
comment on the maturity of the PHP parser.

Anything counts itself out from its awful UI imo. For completion I use
company-mode which has a cedet hook.

For navigation generally etags - exhuberant-ctags.







^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Organizing files in projects
  2010-04-22 12:58 Organizing files in projects Valentin Jacquemin
                   ` (2 preceding siblings ...)
  2010-04-22 16:50 ` Richard Riley
@ 2010-04-23 13:55 ` Joel J. Adamson
  3 siblings, 0 replies; 5+ messages in thread
From: Joel J. Adamson @ 2010-04-23 13:55 UTC (permalink / raw)
  To: Valentin Jacquemin; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1352 bytes --]

>>>>> "Valentin" == Valentin Jacquemin <jacqueminv@gmail.com> writes:

    > My question is: is there an "almighty" solution?

Yes: the file system.  I organize my projects using the filesystem and
version control (Subversion).  If you are using a Unix variant
(GNU/Linux, BSD, OS X) then this is easy.

If not, then I'd suggest using Subversion anyway, and using its
functionality to organize your projects[1].

My opinion (and it has done well for me) is that an editor is not for
organizing your projects.  I've tried it and it was an uphill battle.
It doesn't make sense.  It's not the editor's business.  It's the
business of the filesystem; that's why filesystems were created in the
first place.

You can navigate the filesystem easily in Emacs using Dired, and you can
also integrate Subversion into the GNOME Desktop (or Windows) using
Rabbitvcs[2] (or TortoiseSVN[3]).  Emacs also has VCS modes for
Subversion, CVS, git, Mercurial, etc.

In other words, yes there is one almighty solution, but there are tons
of ways you can make it work for you.

Joel

Footnotes: 
[1]  Or switching to GNU/Linux, of course.

[2] http://www.rabbitvcs.org

[3]  http://tortoisesvn.tigris.org/

-- 
Joel J. Adamson
Servedio Lab
University of North Carolina at Chapel Hill

FSF Member #8164
http://www.unc.edu/~adamsonj

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-23 13:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-22 12:58 Organizing files in projects Valentin Jacquemin
2010-04-22 16:34 ` Drew Adams
2010-04-22 16:45 ` Nicolas Forgerit
2010-04-22 16:50 ` Richard Riley
2010-04-23 13:55 ` Joel J. Adamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).