Intellij IDEA showing error on legit Scala code -


i new scala , intellij idea. learning lift simply lift examples. have setup ide per instructions provided here. using maven based approach.the scala plugin versioned (0.4.1084 -- latest of june 30, 2011). intellij idea version 10.5.

the archetype

 -darchetypegroupid=net.liftweb \  -darchetypeartifactid=lift-archetype-blank_2.8.1 \  -darchetypeversion=2.3 \  -darchetyperepository=http://scala-tools.org/repo-releases \  -dremoterepositories=http://scala-tools.org/repo-releases \  -dgroupid=com.company \  -dartifactid=lift_test \  -dversion=1.0 

when started coding snippet , sitemap example. see ide show error (and nasty wavy line below code) @ following line

  menu.i("info") / "info" submenus (     menu.i("about") / "about" >> hidden >> locgroup("bottom"),     menu.i("contact") / "contact",     menu.i("feedback") / "feedback" >> locgroup("bottom")     ), 

the error says,

expression of type (menu.menuable , menu.menuable menu.withslash,  menu.menuable) doesn't conform expected type convertabletomenu 

however, when run maven > install or compile 'boot.scala idea seem run without error.

i having hard time on getting scala/lift working on either of 2 ides, idea , eclipse.

please let me know missing?


i have added bug report, may see here http://youtrack.jetbrains.net/issue/scl-3429?projectkey=scl

the plugin still under development. code red , bad code green both issues arise in every day usage. if want development of plugin, please file bug report short example demonstrating issue.

http://youtrack.jetbrains.net/issues/scl


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -