caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Louis Gesbert <louis.gesbert@ocamlpro.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] How to use emacs tuareg mode effectively to manage an OCaml project?
Date: Wed, 03 Sep 2014 09:40:32 +0200	[thread overview]
Message-ID: <1676075.uzja8LzemF@agaric> (raw)
In-Reply-To: <CABRZkkPV8M=LsUxYhU1S84zp9WigB+98hOYb_fkRKwfx83J7PA@mail.gmail.com>

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

Slightly different from what you ask for, but there are several ways to
jump-to-definition and find-uses for identifiers, which helps get around
large project a lot.

Others may point to different options, but ocp-index [1] is very efficient for that (`C-c ;` to jump to definition, `C-c /` to find uses) ; you just need to enable -bin-annot in your build system and it should work out-of-the box.

[1] http://www.typerex.org/ocp-index.html (disclaimer: I am the author !)

Le mardi 2 septembre 2014, 21:05:09 Xinuo Chen a écrit :
> Hi all
> 
> I am using OCaml for a project with 20 - 50 files inside. Also I am using emacs
> + tuareg.
> 
> Syntax highlight is well done by tuareg and generally it is good using
> emacs for one file editing.
> 
> However, for the project files, I need to frequently switch between files
> together with folders, how can i use emacs as also a project manager such
> as eclipse? How can I have a file / project tree there just like Eclipse
> does?
> 
> Also how do people manage a huge bunch of files (just like core library or
> batteries-included) effectively? It seems emacs is good for single file or
> simple project editing, but not good at managing a complex project.
> 
> thanks
> Best Regards,
> 
> Xinuo
> 
> 


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

  parent reply	other threads:[~2014-09-03  7:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-02 20:05 Xinuo Chen
2014-09-02 20:20 ` Mads Jensen
2014-09-02 20:22 ` Lars Nilsson
2014-09-02 20:27 ` Benjamin Greenman
2014-09-02 21:48   ` Richard W.M. Jones
2014-09-03  7:28 ` Denis Berthod
2014-09-03  7:40 ` Louis Gesbert [this message]
2014-09-03  7:51 ` Francois BERENGER

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1676075.uzja8LzemF@agaric \
    --to=louis.gesbert@ocamlpro.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).