Hi Jason, I'm using Scala IDE v3.0. Sorry if that wasn't clear.
I imported the spark-core project using the "Import as maven project" option in Eclipse after editing the pom in a couple of places as suggested here: http://syndeticlogic.net/?p=311 The edits were mainly to get Eclipse to recognize the src/main/scala and src/test/scala folders as source and test folders respectively. Other than that, I didn't do anything extra to make search references work, and I wonder if I'm missing some setup step. Any tips would be helpful, Ameet On Tue, Jul 30, 2013 at 8:46 PM, Jason Dai <[email protected]> wrote: > Yes, you can do that using the Scala IDE; it's not perfect though. > > Thanks, > -Jason > > > On Wed, Jul 31, 2013 at 5:18 AM, Ameet Kini <[email protected]> wrote: >> >> Have any Eclipse users been able to search for references (i.e., >> References -> Project, or References -> Workspace) on Scala classes in >> their Spark project ? >> >> I have a project Foo that depends on Spark. Both Foo and spark-core >> are Eclipse projects. Within Foo, I'm able to search for references >> for Scala classes within Foo. However, I'm not able to search >> references for Spark's Scala classes within the spark-core project. >> The error I get is "The operation is unavailable on the current >> selection. Please select a valid Java element name." I am able to >> search references on Java classes within the spark-core project. I'm >> confused as to what may be different about Foo's eclipse setup and >> spark-core's eclipse setup that affects search references on Scala >> classes. >> >> I'm not sure if Scala IDE is somehow at play here. >> >> I've already looked at this link from the spark project's >> documentation page for any clues: http://syndeticlogic.net/?p=311 >> >> Thanks, >> Ameet > >
