jskinner / DefaultPackages

Old bug tracker for Sublime Text's "Default Packages", e.g. bad syntax highlighting
http://web.archive.org/web/20150524043750/https://www.sublimetext.com/forum/viewtopic.php?f=2&t=12095
26 stars 2 forks source link

cannot use "Goto Definition" via "Goto" menu on method name with punctuation in Ruby #127

Closed bachue closed 6 years ago

bachue commented 9 years ago

Hi,

Just found an issue that use Menu -> "Goto" -> "Goto Definition" on some ruby methods whose name contains punctuation(e.g. abc!, abc?), it always says "Unable to find xxxx". But right click on these methods and choose "Goto Definition", it works.

Reproduce:

def abc!
  'abc'
end

def abc?
  true
end

def abc
  'abc'
end

abc!
abc?
abc

OS version: Mac OS X 10.10.3 Sublime version: Sublime Text 3, Stable channel, build 8083

FichteFoll commented 9 years ago

Works fine for me. 8084 Win7

FichteFoll commented 6 years ago

Still works in the latest dev build 3153.