Multiple classes displayed in IntelliJ

View: New views
5 Messages — Rating Filter:   Alert me  

Multiple classes displayed in IntelliJ

by Randy Kahle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using the latest build of Maia (Community) with the Scala plugin.

I'm noticing that my classes are listed twice in the Project view on the left. I've tried all sorts of ideas to eliminate the duplication but I'm stuck.

Any suggestions are welcome!

-- Randy

Re: [scala-tools] Multiple classes displayed in IntelliJ

by Randall Schulz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday October 30 2009, Randy Kahle wrote:
> I am using the latest build of Maia (Community) with the Scala
> plugin.
>
> I'm noticing that my classes are listed twice in the Project view on
> the left. I've tried all sorts of ideas to eliminate the duplication
> but I'm stuck.
>
> Any suggestions are welcome!

Might you have overlapping source routes that allow those classes to be
found by different (source-root-relative) file pathnames?


> -- Randy


Randall Schulz

Re: [scala-tools] Multiple classes displayed in IntelliJ

by Randall Schulz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday October 30 2009, Randall R Schulz wrote:

> On Friday October 30 2009, Randy Kahle wrote:
> > I am using the latest build of Maia (Community) with the Scala
> > plugin.
> >
> > I'm noticing that my classes are listed twice in the Project view
> > on the left. I've tried all sorts of ideas to eliminate the
> > duplication but I'm stuck.
> >
> > Any suggestions are welcome!
>
> Might you have overlapping source routes that allow those classes to
> be found by different (source-root-relative) file pathnames?

Sorry. I meant "source roots."


RRS

Re: [scala-tools] Multiple classes displayed in IntelliJ

by Randy Kahle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've checked that several times as that was my initial conclusion also.

I've discovered a new bit of information as I was working on the files. If I have a compiler error then the 2nd displayed instance goes away. Once I fix the error and compile, they both show up again. I'm thinking it is showing a source version of a compiled instance? That sounds weird, but maybe.

I have a non-standard configuration because I'm compiling for NetKernel and it prefers that I have source and compiled class files in the same tree location. Maybe it's related to that.

I'll continue to puzzle on this one.

Thanks! -- Randy

Randall Schulz wrote:
On Friday October 30 2009, Randall R Schulz wrote:
> On Friday October 30 2009, Randy Kahle wrote:
> > I am using the latest build of Maia (Community) with the Scala
> > plugin.
> >
> > I'm noticing that my classes are listed twice in the Project view
> > on the left. I've tried all sorts of ideas to eliminate the
> > duplication but I'm stuck.
> >
> > Any suggestions are welcome!
>
> Might you have overlapping source routes that allow those classes to
> be found by different (source-root-relative) file pathnames?

Sorry. I meant "source roots."


RRS

Re: [scala-tools] Multiple classes displayed in IntelliJ

by Randall Schulz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday October 30 2009, Randy Kahle wrote:

> I've checked that several times as that was my initial conclusion
> also.
>
> I've discovered a new bit of information as I was working on the
> files. If I have a compiler error then the 2nd displayed instance
> goes away. Once I fix the error and compile, they both show up again.
> I'm thinking it is showing a source version of a compiled instance?
> That sounds weird, but maybe.
>
> I have a non-standard configuration because I'm compiling for
> NetKernel and it prefers that I have source and compiled class files
> in the same tree location. Maybe it's related to that.

I think that's likely. I've never known anyone to actually prefer to
have .class files cluttering their source directories...


> I'll continue to puzzle on this one.
>
> Thanks! -- Randy


Randall Schulz