Started some work on Scala

So, a little over a month ago, I changed departments where I work – I used to work in the Enterprise Software group and have moved to the System Architecture / Research group. There are some great things that go with this:

  1. I get to work with Vim more than I used to because I now code a lot more than I used to.
  2. I’ve effectively deleted Windows entirely and replaced it with Ubuntu (YAY!)
  3. I’m getting a chance to deeply investigate Scala and Akka, which is a real treat! My research may not go anywhere, but the research itself is incredibly useful, I think – Scala and Akka are absolutely fantastic projects.

Once I figure out the right path to take in order to get some changes into the Scala repository for Vim, I’ll do that, but for the moment I’m just having a great time banging away at the docs and shoving things in my own repository.

What I’ve got at the moment is a 4000+ line reference file (in Vim help format, of course) that I’ve put together to help me better understand Scala, and give me a spot to put some critical information and tips / tricks I find as I go. I’ve also fixed up the indent file a bit and plan to enhance the syntax file when I get a chance too.

Because of Scala’s flexibility and terseness I find it a bit difficult to create code snippets for it, but I may do that in the future as well.

If you’re interested, head over to my vim-scala repository on GitHub and clone it down to your vim configuration.

5 comments on this post.
  1. Wiesiek Pawlowski:

    Hi! It’s great to hear that my favourite Vim guru got interested in Scala :) Scala is an excellent language, and hopefully, thanks to you it will get excellent VIM support :) At the moment I found such a problem with your indentation macros:

    val mymap = Map(1 -> “a”, 2 -> “b”)
    blah blah blah….

    The indentation for “blah blah blah” should start from the same column as “val” but unfortunately it doesn’t…

    I know that Scala’s indentation is tricky, but hopefully you can do something about the above problem?

    Wiesiek

  2. Derek Wyatt:

    You’re going to find way more annoyances than that one :). If you can fix them, please fork the code and see what you can do. I’m working on that stuff in my small amount of spare time so it’s not getting much play right now. The delta I have from what’s in the Scala dist in probably a < 5% change.

  3. Wiesiek Pawlowski:

    Unfortunately my Vim programming skills are rather limited (to put it mildly) so it remains to keep my fingers crossed for your “spare time” :) Thanks a lot in advance!

  4. Andrei Barsan:

    Hey, I wanted to check out your stuff on GitHub but your links are dead. Did you rename/remove your GitHub account?

  5. Derek Wyatt:

    I did. I thought I got all the references fixed up, but I guess I missed one. my repo is at http://github.com/derekwyatt.

Leave a comment