- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Multiple classes displayed in IntelliJ
Fri, 2009-10-30, 20:10
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!
Fri, 2009-10-30, 21:17
#2
Re: Multiple classes displayed in IntelliJ
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
Fri, 2009-10-30, 21:27
#3
Re: Multiple classes displayed in IntelliJ
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
>
>
Fri, 2009-10-30, 22:57
#4
Re: Multiple classes displayed in IntelliJ
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
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?