ameyp / CscopeSublime

A Cscope plugin for Sublime Text 2 and 3
89 stars 37 forks source link

Fix for installing CscopeSublime from PackageControl on ST3 #37

Closed ameyp closed 10 years ago

ameyp commented 11 years ago

@vanrijn This is a fix for https://github.com/ameyp/CscopeSublime/issues/36.

Package Control on ST3 compresses the package into a single "package-name.sublime-package" file, but ST3 internally treats the location of the package's contents as being in "Packages/packages-name/". Hence, strip out the ".sublime-package" (if it exists) from the file-path.

vanrijn commented 10 years ago

Looking at this now and testing. So sorry for the delay, @ameyp! =:(

vanrijn commented 10 years ago

I think the diff looks good, @ameyp. I'm merging it now and will test it on my Linux box next.

vanrijn commented 10 years ago

Awesome, works great. Thanks @ameyp!! =:)