unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Semantic code formatting for Java
@ 2020-12-29  6:10 Anand Tamariya
  0 siblings, 0 replies; only message in thread
From: Anand Tamariya @ 2020-12-29  6:10 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

Hi,

Here's an alpha release of code formatting for Java using semantic lexer.
It aims to format according to Oracle Java conventions. This image
<https://imgur.com/a/fjVVjgZ> shows a side-by-side comparison of Emacs
formatting vs custom formatting.

Patches are welcome.

Code: semantic-indent-region
<https://gitlab.com/atamariya/emacs/-/blob/dev/lisp/cedet/semantic/java.el#L1303>

Regards,

Anand

[-- Attachment #2: Type: text/html, Size: 782 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-29  6:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-29  6:10 Semantic code formatting for Java Anand Tamariya

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).