jasmine-sublime-snippets icon indicating copy to clipboard operation
jasmine-sublime-snippets copied to clipboard

Toggle code/spec only considers filename not path

Open dduft opened this issue 10 years ago • 0 comments

I have several modules in my project. Some have controllers with same name/filename then others. When toggling, only the filename is considered and so, the wrong file is opened. Would it be possible, if two files with same name are found, to match the paths too, based on jasmine_path? e.g.: I have controllers /app/assets/javascripts/angular/modules/module1/controllers/inspection_controller.js /app/assets/javascripts/angular/modules/module2/controllers/inspection_controller.js and specs /spec/javascripts/angular/modules/module1/controllers/inspection_controller_spec.js /spec/javascripts/angular/modules/module2/controllers/inspection_controller_spec.js

Toggling inspection_controller from module1 opens inspection_controller_spec from module2.

I really love your plugin, thank you for your work!

dduft avatar Jul 03 '14 06:07 dduft