[Github-comments] [geany/geany] Auto-indent for Matlab (#1365)
elextr
notifications at xxxxx
Fri Jan 13 12:38:15 UTC 2017
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 are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1365#issuecomment-272434005
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170113/843c9150/attachment.html>
More information about the Github-comments
mailing list