#244 new
kungfoo

Indenter has trouble with Scala

Reported by kungfoo | June 29th, 2010 @ 12:42 PM

When opening Scala files, the indenter sometimes has trouble handling the indentation, especially after curly braces.

How to reproduce:

I)

  1. Open the attached Scala file.
  2. Move the cursor to the end of Line 9.
  3. Add an empty line. The indent is correct.
  4. Now move the cursor to line 24 (used to be 23 in the original file)
  5. Adding a new line now trumps the indenter.

II)

  1. Reopen the file.
  2. Move the cursor to line 24.
  3. Type 'it' then 'TAB'
  4. The snippet will be completed, but with a weird indent.

See the attached file and screenshots.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket

Pages