esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vassil Dichev <>
Subject Re: Style conventions
Date Wed, 02 Jun 2010 21:44:31 GMT
I configured my editor (jEdit) to untabify according to the set tab
size, but I checked  the results manually. This is not an easy task, I

There is a Scala formatter I've heard about recently, maybe it's time
for me to try it out:

On Thu, Jun 3, 2010 at 12:22 AM, Richard Hirsch <> wrote:
> How did you indent? Manually or with a tool?
> I've been experimenting with Scala Formatter in Eclipse but it doesn't
> always work correctly.
> D.
> On Wed, Jun 2, 2010 at 10:56 PM, Vassil Dichev <> wrote:
>> I just took the liberty of formatting a couple of files (API2,
>> API2Test and AuthToken) which looked just... wrong in my editor. The
>> reason was that some lines were indented using tabs, while the Scala
>> convention (used in the rest of the ESME files) uses 2 spaces for
>> indentation.
>> We posted a Scala Style guide some time ago
>> (, it would be really
>> helpful if we could stick to it! In order to do so, it is necessary
>> that our editors/IDEs are set up to respect this convention and not
>> apply formatting which might surprise others.
>> Sorry for the nitpick, but documents with mixed tabs/spaces, while
>> they look perfectly OK on editors with the "correct" tab size, produce
>> horrendous results in editors with a different indentation setting.
>> Vassil

View raw message