- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Intellisense in Scala interpeter?
Wed, 2009-05-13, 21:20
As I understand, Scala and F# shares, besides other things, that incremental
spirit: both environments encourage to use interpreter to write small
functions and to immediately try/test them.
However, F# interpreter is integrated into Visual Studio and supports
IntelliSense. It brings a big advantage and really helps to learn language.
While IDE like Eclipse/Netbeans/IntelliJ IDEA Scala plugins provide
IntelliSense (auto-completion too), they are not suitable for incremental
writing of small scripts. And Scala interpreter does not provide
IntelliSense.
Is there any hope for Scala interpreter with integrated IntelliSense,
similar to what F# has?
-----
Vladimir Kelman
http://pro-thoughts.blogspot.com/
On Wed, May 13, 2009 at 9:20 PM, vkelman wrote:
> Is there any hope for Scala interpreter with integrated IntelliSense,
> similar to what F# has?
You mean like this? I think you need to have a chat with paulp ;-)
miles@lewis:latest$ bin/scala
Welcome to Scala version 2.8.0.r17725-b20090513185406 (Java
HotSpot(TM) Server VM, Java 1.6.0_10).
Type in expressions to have them evaluated.
Type :help for more information.
scala> object Foo { def foo = "foo" }
defined module Foo
scala> Foo.
asInstanceOf foo getClass isInstanceOf toString
scala> Foo.foo
res1: java.lang.String = foo
scala>
Cheers,
Miles