then press Ctrl+R in sublime text, then you will see two symbols that are navigable to.
However, the actual behavior is that unless there is a space as below, then the method is not found. it looks like this only an issue in ST4, and the ClassName.prototype. is not part of the detected symbol. so please don't shoot the messenger, but it feels like its worth reporting.
-My.prototype.method = function() {
+My.prototype.method = function () {
By the way, when disabling this plugin, the space is no longer necessary. So the problem, as i see it, is ultimately that this plugin interferes with ST4's ability to find symbols in js code (probably due to st4, but ive lost a lot of time already figuring out whats wrong with ST4 that i havent checked this, but i can spend more time on this if necessary).
When writing a class in javascript, the expected behavior is that when you write some code like:
then press
Ctrl+R
in sublime text, then you will see two symbols that are navigable to.However, the actual behavior is that unless there is a space as below, then the method is not found. it looks like this only an issue in ST4, and the
ClassName.prototype.
is not part of the detected symbol. so please don't shoot the messenger, but it feels like its worth reporting.By the way, when disabling this plugin, the space is no longer necessary. So the problem, as i see it, is ultimately that this plugin interferes with ST4's ability to find symbols in js code (probably due to st4, but ive lost a lot of time already figuring out whats wrong with ST4 that i havent checked this, but i can spend more time on this if necessary).