- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
ScalaLab interface based on ScalaInterpreterPane of Hanns Holger Rutz
Sun, 2011-06-12, 15:12
Hi all,
I like to inform the group that the new interface of ScalaLab281
(http://code.google.com/p/scalalab/)
is based on an adaptation of the ScalaInterpreterPane of Hanns Holger
Rutz that personally I find it more elegant.
Regards
Stergios
Mon, 2011-06-13, 15:07
#2
Re: ScalaLab interface based on ScalaInterpreterPane of Hanns H
Thanks Sciss for your comments.
* I changed the Console to scroll automatically when new results are
available.
* the type of exception you reported didn't happen to me,
I test ScalaLab both on SuSE Linux 13, Google CHROME OS,
and Windows Vista.
... of course a lot more improvements and additions remain to come ...
Regards
Stergios
On Sun, 2011-06-12 at 15:36 +0100, Sciss wrote:
> nice work :)
>
> a few remarks:
>
> i get this exception on startup, don't know if it's relevant:
>
> jarFile = scalalab281.jar
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
> at scalaExec.gui.scalalabConsole.jarPathOfClass(scalalabConsole.java:190)
> at scalaExec.gui.scalalabConsole.interpreterWithAppendedCP(scalalabConsole.java:638)
> at scalaSciCommands.BasicCommands.appendClasspaths(BasicCommands.java:594)
> at scalaExec.Interpreter.GlobalValues.passPropertiesFromSettingsToWorkspace(GlobalValues.java:647)
> at scalaExec.scalaLab.scalaLab$1.run(scalaLab.java:415)
> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> ...
>
> also somehow the console doesn't scroll down to the bottom automatically (at least here on os x) when new results are printed.
>
> and last thing is, can i switch the look-and-feel? ocean just looks dated :) i'd just use the default look-and-feel (mac os x)
>
> best, -sciss-
>
Wed, 2011-06-15, 15:47
#3
Re: ScalaLab interface based on ScalaInterpreterPane of Hanns H
Sciss:
this kind of exception happened in a toolboxes related operation
that now at the current version is avoided.
Also, I try to extend the code completion potential of your
Scala Interpreter Pane, in two ways at the current ScalaLab version:
1. Using Java reflection, with the F1 key at the selected identifier
2. Using the Code Completion API of the Scala Interpreter, with the F7
key
Preliminary versions of these subsystems work,
I think they could be useful.
Regards
Stergios
On Sun, 2011-06-12 at 15:36 +0100, Sciss wrote:
> nice work :)
>
> a few remarks:
>
> i get this exception on startup, don't know if it's relevant:
>
> jarFile = scalalab281.jar
> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
> at scalaExec.gui.scalalabConsole.jarPathOfClass(scalalabConsole.java:190)
> at scalaExec.gui.scalalabConsole.interpreterWithAppendedCP(scalalabConsole.java:638)
> at scalaSciCommands.BasicCommands.appendClasspaths(BasicCommands.java:594)
> at scalaExec.Interpreter.GlobalValues.passPropertiesFromSettingsToWorkspace(GlobalValues.java:647)
> at scalaExec.scalaLab.scalaLab$1.run(scalaLab.java:415)
> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> ...
>
> also somehow the console doesn't scroll down to the bottom automatically (at least here on os x) when new results are printed.
>
> and last thing is, can i switch the look-and-feel? ocean just looks dated :) i'd just use the default look-and-feel (mac os x)
>
> best, -sciss-
>
>
>
> On 12 Jun 2011, at 15:08, Stergios Papadimitriou wrote:
>
> > Hi all,
> >
> > I like to inform the group that the new interface of ScalaLab281
> > (http://code.google.com/p/scalalab/)
> > is based on an adaptation of the ScalaInterpreterPane of Hanns Holger
> > Rutz that personally I find it more elegant.
> >
> >
> > Regards
> >
> > Stergios
> >
> >
> >
> >
>
>
Wed, 2011-06-15, 15:57
#4
Re: ScalaLab interface based on ScalaInterpreterPane of Hanns H
hi stergios,
yes, i'd be most interested in pulling in code-completion to my project!
i'm a bit drowned in work, but as soon as i get back to it, i will see what you did there. in what way does the java reflection provide completion that the standard scala interpreter API doesn't give?
best, -sciss-
On 15 Jun 2011, at 15:36, Stergios Papadimitriou wrote:
>
> Sciss:
>
> this kind of exception happened in a toolboxes related operation
> that now at the current version is avoided.
>
>
> Also, I try to extend the code completion potential of your
> Scala Interpreter Pane, in two ways at the current ScalaLab version:
>
> 1. Using Java reflection, with the F1 key at the selected identifier
>
> 2. Using the Code Completion API of the Scala Interpreter, with the F7
> key
>
>
> Preliminary versions of these subsystems work,
> I think they could be useful.
>
>
> Regards
>
> Stergios
>
>
>
>
> On Sun, 2011-06-12 at 15:36 +0100, Sciss wrote:
>> nice work :)
>>
>> a few remarks:
>>
>> i get this exception on startup, don't know if it's relevant:
>>
>> jarFile = scalalab281.jar
>> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
>> at scalaExec.gui.scalalabConsole.jarPathOfClass(scalalabConsole.java:190)
>> at scalaExec.gui.scalalabConsole.interpreterWithAppendedCP(scalalabConsole.java:638)
>> at scalaSciCommands.BasicCommands.appendClasspaths(BasicCommands.java:594)
>> at scalaExec.Interpreter.GlobalValues.passPropertiesFromSettingsToWorkspace(GlobalValues.java:647)
>> at scalaExec.scalaLab.scalaLab$1.run(scalaLab.java:415)
>> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
>> ...
>>
>> also somehow the console doesn't scroll down to the bottom automatically (at least here on os x) when new results are printed.
>>
>> and last thing is, can i switch the look-and-feel? ocean just looks dated :) i'd just use the default look-and-feel (mac os x)
>>
>> best, -sciss-
>>
>>
>>
>> On 12 Jun 2011, at 15:08, Stergios Papadimitriou wrote:
>>
>>> Hi all,
>>>
>>> I like to inform the group that the new interface of ScalaLab281
>>> (http://code.google.com/p/scalalab/)
>>> is based on an adaptation of the ScalaInterpreterPane of Hanns Holger
>>> Rutz that personally I find it more elegant.
>>>
>>>
>>> Regards
>>>
>>> Stergios
>>>
>>>
>>>
>>>
>>
>>
>
>
Thu, 2011-06-16, 18:07
#5
Re: ScalaLab interface based on ScalaInterpreterPane of Hanns H
hi sciss,
I delayed to answer since I'm confused with my work on code-completion.
* I plan to use the F1 activated system to provide help on the core
functions (in file scalalab281.jar and scalalablibs.jar). This help will
be scanned with Java reflection and kept in sorted tables for efficient
retrieval. This system works, small improvements remain.
* Certainly the completion API of the Scala Interpreter is more
sophisticated, but I'm not yet familiar with it.
What I have done with the F7 key is far from what I want!!
I will sent a notice, if I succeed to have something significantly
better.
Regards
Stergios
On Wed, 2011-06-15 at 15:41 +0100, Sciss wrote:
> hi stergios,
>
> yes, i'd be most interested in pulling in code-completion to my project!
>
> i'm a bit drowned in work, but as soon as i get back to it, i will see what you did there. in what way does the java reflection provide completion that the standard scala interpreter API doesn't give?
>
> best, -sciss-
>
>
> On 15 Jun 2011, at 15:36, Stergios Papadimitriou wrote:
>
> >
> > Sciss:
> >
> > this kind of exception happened in a toolboxes related operation
> > that now at the current version is avoided.
> >
> >
> > Also, I try to extend the code completion potential of your
> > Scala Interpreter Pane, in two ways at the current ScalaLab version:
> >
> > 1. Using Java reflection, with the F1 key at the selected identifier
> >
> > 2. Using the Code Completion API of the Scala Interpreter, with the F7
> > key
> >
> >
> > Preliminary versions of these subsystems work,
> > I think they could be useful.
> >
> >
> > Regards
> >
> > Stergios
> >
> >
> >
> >
> > On Sun, 2011-06-12 at 15:36 +0100, Sciss wrote:
> >> nice work :)
> >>
> >> a few remarks:
> >>
> >> i get this exception on startup, don't know if it's relevant:
> >>
> >> jarFile = scalalab281.jar
> >> Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
> >> at scalaExec.gui.scalalabConsole.jarPathOfClass(scalalabConsole.java:190)
> >> at scalaExec.gui.scalalabConsole.interpreterWithAppendedCP(scalalabConsole.java:638)
> >> at scalaSciCommands.BasicCommands.appendClasspaths(BasicCommands.java:594)
> >> at scalaExec.Interpreter.GlobalValues.passPropertiesFromSettingsToWorkspace(GlobalValues.java:647)
> >> at scalaExec.scalaLab.scalaLab$1.run(scalaLab.java:415)
> >> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> >> ...
> >>
> >> also somehow the console doesn't scroll down to the bottom automatically (at least here on os x) when new results are printed.
> >>
> >> and last thing is, can i switch the look-and-feel? ocean just looks dated :) i'd just use the default look-and-feel (mac os x)
> >>
> >> best, -sciss-
> >>
> >>
> >>
> >> On 12 Jun 2011, at 15:08, Stergios Papadimitriou wrote:
> >>
> >>> Hi all,
> >>>
> >>> I like to inform the group that the new interface of ScalaLab281
> >>> (http://code.google.com/p/scalalab/)
> >>> is based on an adaptation of the ScalaInterpreterPane of Hanns Holger
> >>> Rutz that personally I find it more elegant.
> >>>
> >>>
> >>> Regards
> >>>
> >>> Stergios
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
>
>
nice work :)
a few remarks:
i get this exception on startup, don't know if it's relevant:
jarFile = scalalab281.jar
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at scalaExec.gui.scalalabConsole.jarPathOfClass(scalalabConsole.java:190)
at scalaExec.gui.scalalabConsole.interpreterWithAppendedCP(scalalabConsole.java:638)
at scalaSciCommands.BasicCommands.appendClasspaths(BasicCommands.java:594)
at scalaExec.Interpreter.GlobalValues.passPropertiesFromSettingsToWorkspace(GlobalValues.java:647)
at scalaExec.scalaLab.scalaLab$1.run(scalaLab.java:415)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
...
also somehow the console doesn't scroll down to the bottom automatically (at least here on os x) when new results are printed.
and last thing is, can i switch the look-and-feel? ocean just looks dated :) i'd just use the default look-and-feel (mac os x)
best, -sciss-
On 12 Jun 2011, at 15:08, Stergios Papadimitriou wrote:
> Hi all,
>
> I like to inform the group that the new interface of ScalaLab281
> (http://code.google.com/p/scalalab/)
> is based on an adaptation of the ScalaInterpreterPane of Hanns Holger
> Rutz that personally I find it more elegant.
>
>
> Regards
>
> Stergios
>
>
>
>