Re: [scala-ide-user] Some problems / bugs with Scala IDE for Eclipse

125 views
Skip to first unread message

Simon Schäfer

unread,
May 17, 2013, 6:41:40 AM5/17/13
to scala-i...@googlegroups.com
Hi Markus,

On 05/17/2013 12:01 PM, Markus Ellinger wrote:
> Hi,
>
> first, thank you for providing Scala IDE for Eclipse to the community.
> Working with it is much fun for us.
>
> We are using Scala IDE Version 3.0.0.rc3-2. We have the following
> small problems and I would like to ask whether they are already known
> or if there are any workarounds:
>
> 1.
> We have a mixed Java/Scala project. Our Java indent setting is to use
> 4 tabs. For Scala, the indent setting is to use 2 tabs. Most of the
> time this works fine. But when I use TAB key (or Shift+TAB) to
> indent/unindent the cursor or a block of code, the cursor
> indents/unindents 4 tabs instead of 2 tabs. Automatic indenting works
> fine, though.
The Scala editors grabs the configuration from the Java editor, thus the
problems. A ticket which points to a similar problem is
https://scala-ide-portfolio.assembla.com/spaces/scala-ide/tickets/1001675-scala-editor-uses-incorrect-shift-widths#/activity/ticket:
>
> 2.
> Importing an inner class from a Java file (say an enum) adds the wrong
> import. Example:
>
> Java class:
> package com.example
> class Operator {
> enum OperationModes {
> OFFLINE, ONLINE, DISCONNECTED
> }
> }
>
> Scala class:
> When I type "OperationModes" in the Scala class and use Strg+Space for
> auto-completion, the line "import com.example.OperationModes" is
> added. This is wrong, the line "import
> com.example.Operator.OperationModes" should be added instead.
Yes, this problem is known:
https://www.assembla.com/spaces/scala-ide/tickets/1001103#/activity/ticket:
>
> Thanks in advance for any pointers!
>
> Best regards
> Markus
>
> --
> You received this message because you are subscribed to the Google
> Groups "Scala IDE User" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to scala-ide-use...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Reply all
Reply to author
Forward
0 new messages