Can Eclipse parse and use emacs-style meta information in source code?

Posted by ataylor on Stack Overflow See other posts from Stack Overflow or by ataylor
Published on 2010-05-11T22:35:11Z Indexed on 2010/05/12 4:14 UTC
Read the original article Hit count: 290

Filed under:
|
|

In emacs, it is possible to start a file off with a line this:

/* -*- mode: java; c-basic-offset: 4; indent-tabs-mode: nil -*- */

This instructs emacs to use 4 spaces for indentation. I like the idea of storing this coding style meta-information directly and explicitly in the source code. Are there any options for doing this in other IDEs? Does eclipse in particular have the ability to configure itself from a line in the emacs format or something equivalent?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about emacs