Repository navigation
v0.9.1
-
A constant assigned in
class << selfis the singleton class's.
--refs,--def,--dead, hover and Go to Definition took it for the
class's own, soWidget::LIMITand an instance method'sLIMITwere
listed as its references, though Ruby raises NameError on both. It is now
found only from inside that body, by position or by Ruby's own spelling
of its whole name,--refs Widget::singleton_class::LIMIT
(--refs Widget::LIMITmisses, and says the name it has);--deadand
workspace symbol search name its ownerWidget::singleton_class. A class
opened in that body is named the same way, and so are its methods:
--refs 'Widget::singleton_class::Job#perform'. Aclass << selfmethod
no longer resolves a constant of the class's superclass or includes,
which Ruby does not find there either. -
This changes what an index records (store v65): trekr reindexes once after
upgrading. -
A file opened behind a slow git is indexed once git answers. In
the editor, a new file whosegit ls-filestook over 1 s was left out
of the index for the session, and each open or save held every request
for that second. git is now asked off the request loop and waited for at
most 400 ms, once for files opened together, and the file lands when it
answers; a git that has not answered in 10 s is stopped and
the next save asks again. An ignored file is still never written.