- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
excluding .class files from open resource dialog
Thu, 2010-01-28, 15:13
I'm not sure this is a scala plugin issue...
CTRL+SHIFT+R looking for a resource - both the .class and the .scala files
are presented and it's annoying to have to move hand to arrow to select the
second one...
it seems to be a problem only for .scala files - don't know why, but .class
for .java files are not shown.
workaround : this alternative resource finder plugin:
http://muermann.org/gotofile/
-----
Razvan Cojocaru,
Work: http://www.sigma-systems.com
Me: http://feeds.razie.com/RazvanTech
Playground: http://wiki.homecloud.ca
Thu, 2010-01-28, 16:47
#2
Re: excluding .class files from open resource dialog
Hi Razvan,
if you right-click on your output folder, select Properties and then
mark the folder as Derived then the folder's contents will get
excluded from the open resource search results.
Thu, 2010-01-28, 16:57
#3
Re: excluding .class files from open resource dialog
I think my reflex to use resource finders is because CS-T is generally
slower...but yes, good workaround. I'm now using more the other one CA+N -
it's really fast and I enjoy the camel case :) couldn't make it work in the
CS+T although it says it would somehow support it...
Ismael Juma wrote:
>
> On Thu, Jan 28, 2010 at 2:13 PM, Razvan Cojocaru wrote:
>>
>> I'm not sure this is a scala plugin issue...
>>
>> CTRL+SHIFT+R looking for a resource - both the .class and the .scala
>> files
>> are presented and it's annoying to have to move hand to arrow to select
>> the
>> second one...
>
> Not a solution if you actually want to find a resource, but
> ctrl+shift+T side-steps that and gives you access to the types.
>
> Best,
> Ismael
>
>
-----
Razvan Cojocaru,
Work: http://www.sigma-systems.com
Me: http://feeds.razie.com/RazvanTech
Playground: http://wiki.homecloud.ca
Thu, 2010-01-28, 17:07
#4
Re: excluding .class files from open resource dialog
Spiros Tzavellas writes:
> Hi Razvan,
>
> if you right-click on your output folder, select Properties and then
> mark the folder as Derived then the folder's contents will get
> excluded from the open resource search results.
Awesome tip! I thought it was the Scala plugin that messed up, but it
seems like it's my combination of mixing maven output folders, specs
linked classes dirs etc. The actual plugin output folder is correctly
marked as derived.
/Jeppe
On Thu, Jan 28, 2010 at 2:13 PM, Razvan Cojocaru wrote:
>
> I'm not sure this is a scala plugin issue...
>
> CTRL+SHIFT+R looking for a resource - both the .class and the .scala files
> are presented and it's annoying to have to move hand to arrow to select the
> second one...
Not a solution if you actually want to find a resource, but
ctrl+shift+T side-steps that and gives you access to the types.
Best,
Ismael