Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Automatic var names in Scala

$
0
0

Hello everyone,

I'm using Idea 13.1.5 for writing Scala and Java code (Just started with Scala).

When writing in Java it's easier to create names for variables, for example if I start typing:

private SomeService

And then I click "CTRL+Space", Idea will automatically offer the name "someService" for this variable.

Is there a way to do that in Scala? How can I use it?

 

I know in scala the name comes before the type but I'm still hoping for some magic from the Idea devs.

 

Thanks


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>