[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/scala-mode ca7308a 002/217: Initial commit with README and
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/scala-mode ca7308a 002/217: Initial commit with README and Example.scala outlining how it will work |
Date: |
Sun, 29 Aug 2021 11:30:32 -0400 (EDT) |
branch: elpa/scala-mode
commit ca7308aca6978ffdf88c6d95cbaa5e49af6ee77b
Author: Heikki Vesalainen <heikkivesalainen@yahoo.com>
Commit: Heikki Vesalainen <heikkivesalainen@yahoo.com>
Initial commit with README and Example.scala outlining how it will work
---
Example.scala | 7 ++++---
README | 3 +++
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/Example.scala b/Example.scala
index 19b4859..7eb013c 100644
--- a/Example.scala
+++ b/Example.scala
@@ -1,3 +1,4 @@
+
/*
1. Indenting
@@ -11,14 +12,14 @@ Indenting happens relative to an indent anchor. Usually the
indent anchor is the
the declaration or expression is inside a parameter list, then the anchor is
inside the list.
*/
-def f(s: String,
+def f(s: String <%,
i: Int) =
s.take(i) // indented relative to 'def'
/* */ val x = foo(
zot, // indented relative to '/* */'
- someThing
- map (x => x.length) // indented relative to 'someThing'
+ someThing
+ map (x=a===> x.length) // indented relative to 'someThing'
)
val x =
diff --git a/README b/README
index 00930f7..1988df1 100644
--- a/README
+++ b/README
@@ -12,3 +12,6 @@ The mode will target scala code written in a functinal style.
Check out Example.scala to see how it indents.
+TODO:
+- indenting a row removes trailing whitespace and converts tabs to spaces
+
- [nongnu] branch elpa/scala-mode created (now 598cb68), ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 5ba0a78 005/217: run-on and list indent primitives, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode ca7308a 002/217: Initial commit with README and Example.scala outlining how it will work,
ELPA Syncer <=
- [nongnu] elpa/scala-mode a8b0936 003/217: Working on syntax, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 6f1b748 001/217: Example.scala to show how we intend to indent, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 3413883 004/217: run-on-p, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode f0cc3d4 006/217: working on indent rules, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode f17fa95 007/217: approaching a functioning indent engine, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 4dbaa5f 010/217: picked some of Erik's fontlock magic for an interim solution, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 84e5c8a 013/217: regression fix, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode aebc5b0 017/217: Fixes #7: indenting of block lines when at last char of buffer, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode c3ea76f 009/217: fixed indenting of if body (and probably other things), ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode ba3c9ca 020/217: renamed README to README.md, ELPA Syncer, 2021/08/29