[Github-comments] [geany/geany] Auto-indent for Matlab (#1365)

lionelbuk notifications at xxxxx
Fri Jan 13 13:56:23 UTC 2017


Thanks very much for the information, elextr. I doubt I'd be up to the
job of writing a suitable plugin, unfortunately.

On 13 January 2017 at 12:38, elextr <notifications at github.com> wrote:
> The current autoindent is not really language specific, its based solely on
> braces, and language only comes into it for skipping braces in comments and
> strings and other non-code places when finding the open brace to match the
> close brace indent to. It does not understand the languages beyond that.
>
> Adding a language specific indentation based on the keywords and constructs
> of that language is something considerably more complex and should not be
> built into Geany, but be part of a plugin for the language. Unfortunately at
> the moment it would be difficult to interface such a plugin to Geany though
> might be possible if somebody was clever enough :)
>
> Pull requests are welcome.
>
>> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub, or mute the thread.



-- 
Lionel Barnett, D.Phil.
Research Fellow
Sackler Centre for Consciousness Science
Department of Informatics, University of Sussex
http://users.sussex.ac.uk/~lionelb/
http://www.sussex.ac.uk/sackler/


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1365#issuecomment-272448211
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170113/f6d08eaa/attachment.html>


More information about the Github-comments mailing list