improvements finding references
Hello,
after working a while with the Scala IDE for eclipse (galileo) on a mixed Java/Scala project I`ve found some (minor) bugs which are a little bit annoying:
1.) Executing "Search for references" on a scala method find all references for the class instead of the method.
2.) Executing "Open call hierachy" on a scala method give no results. Executing the same command on java method which uses scala classes gives also nothing.
3.) Executing "Navigate" --> "Open Type" (Ctrl + Shift + T) with scala types finds "ScUtil" and also "ScUtil$". The 2nd result shouldn´t be shown.
All issues exists for several months and are not really critical but would make the work with scala feeling more as with java itself.
Scala IDE for Eclipse: 1.0.0.201008160152
Lothar
after working a while with the Scala IDE for eclipse (galileo) on a mixed Java/Scala project I`ve found some (minor) bugs which are a little bit annoying:
1.) Executing "Search for references" on a scala method find all references for the class instead of the method.
2.) Executing "Open call hierachy" on a scala method give no results. Executing the same command on java method which uses scala classes gives also nothing.
3.) Executing "Navigate" --> "Open Type" (Ctrl + Shift + T) with scala types finds "ScUtil" and also "ScUtil$". The 2nd result shouldn´t be shown.
All issues exists for several months and are not really critical but would make the work with scala feeling more as with java itself.
Scala IDE for Eclipse: 1.0.0.201008160152
Lothar
Leave a comment
Sorry, I I've forgotten one point. In the following example
hitting F3 on the generic type of the 1st list parameter (MyType1) opens the source for java.util.List. I would expect that the type MyType1will be opened ? On the 2nd list parameter it works as expected and MyType2 is opened.
Lothar
import scala.collection.mutable.Buffer;
import java.util.{List => JList}
import java.util.{Arrays => JArray}
import scala.collection.JavaConversions._
object ScUtil {
def filterPlantComponentsForPlant(jList:JList[_<:MyType1]) : JList[MyType2[_]] = {
...
}
}
hitting F3 on the generic type of the 1st list parameter (MyType1) opens the source for java.util.List. I would expect that the type MyType1will be opened ? On the 2nd list parameter it works as expected and MyType2 is opened.
Lothar
Updating tickets (#3255, #3262, #3271, #3277, #3279, #3287, #3313, #3317, #3318, #3320, #3329, #1000000, #1000002, #1000004, #1000005, #1000007, #1000011, #1000013, #1000018, #1000019, #1000020, #1000022, #1000023, #1000024, #1000025, #1000026, #1000028, #1000031, #1000033, #1000034, #1000037, #1000039, #1000040, #1000041, #1000057, #1000058, #1000060, #1000061, #1000063, #1000064, #1000065, #1000067, #1000070, #1000073, #1000076, #1000080, #1000082, #1000083, #1000084, #1000085, #1000087, #1000088, #1000089, #1000090, #1000092, #1000093, #1000094, #1000095, #1000097, #1000102, #1000104, #1000106, #1000108, #1000110, #1000111, #1000116, #1000124, #1000126, #1000127, #1000129, #1000132, #1000133, #1000136, #1000139, #1000143, #1000144, #1000145, #1000148, #1000149, #1000152, #1000154, #1000155, #1000157, #1000158, #1000159, #1000161, #1000169, #1000170, #1000172, #1000174, #1000176, #1000178, #1000179, #1000183, #1000185, #1000188, #1000189, #1000192, #1000196, #1000198)
on 2012-01-25 12:09 *
By skyluc
Type set to Enhancement
Version changed from 1.0.0-SNAPSHOT to 2.0.0-final-29
Eclipse version changed from Galileo to All
Component changed from None to JDT integration
Milestone changed from Backlog to Enhancements
Permission type changed from None to Public
Status changed from New to Accepted
on 2012-05-22 02:45 *
By Mirco Dotta
Opened a different ticket for the issue reported in the first comment: http://scala-ide-portfolio.assembla.com/spaces/scala-ide/support/tickets/1001033
I'm closing this ticket because too many (unreleated) issues are reported all in once. Instead, four different tickets exist now to address each of the reported issues.