Re: [code] Erlang indentation doesn't recognized on 8.7

From: Alireza Bashiri <azbshiri.att.gmail.com>
Date: Tue, 20 Sep 2016 12:57:13 +0430

by auto-indentation I mean the editor doesn't recognize Erlang syntax so
when you terminate an expression and hit enter it doesn't go to the correct
column.

Best,
Alireza

On Tue, Sep 20, 2016 at 12:17 PM, Robert Gieseke <rob.g.att.web.de> wrote:

> Hi,
>
> Am 20/09/16 um 00:01 schrieb Mitchell:
> > Hi Alireza,
> >
> > On Tue, 20 Sep 2016, Alireza Bashiri wrote:
> >
> >> Hey, today I tried to write some Erlang but the indentation was not
> >> recognized automatically is there any wrong with the lexer or whatever?
> >
> > What do you mean by the indentation was not recognized automatically? Do
> > you mean your source file had an indentation setting of something like 4
> > spaces but Textadept still uses 2? If so, Textadept does not
> automatically
> > detect indentation like that. You need to tell it what indentation to
> use.
> > You can set up per-language indentation by following these instructions:
> >
> > http://foicica.com/textadept/manual.html#Language.Preferences
> >
>
> if one were dealing with varying indentation a lot it might be worth
> looking into automatic detection, an overview of possible algos:
>
> https://medium.com/firefox-developer-tools/detecting-
> code-indentation-eff3ed0fb56b#.vstxttlt7
>
> If your projects use Editorconfig there are also modules for Textadept:
>
> https://github.com/editorconfig/editorconfig-textadept
> https://github.com/Hackerpilot/editorconfig-textadept
>
> Cheers,
> Robert
>
>
>
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>
>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 20 Sep 2016 - 04:27:13 EDT

This archive was generated by hypermail 2.2.0 : Tue 20 Sep 2016 - 06:53:45 EDT