quarnster/SublimeJava — pull request #39 by phildopus (2012-08-01 20:28:49+00:00)
Title: fix matching of packages when two types end with the same string

If a class has imported both ArrayList and then List, and the completion is being done on a List object, get_packages matches with ArrayList and then attempts to search Arra and Arra.*, which don't exist and causes the the completion to time out. This commit tests for a dot or a dollar sign before the subtype name to make sure it gets the right class name.