ameyp / CscopeSublime

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

User configurable database location #12

Closed julianchurchill closed 11 years ago

julianchurchill commented 11 years ago

I tried out your plugin today and it's great - thanks for the hard work!

I found that with my setup (Windows + ClearCase) I had to put the cscope database in the root of each of my source code repositories, duplicating a 100MB database over 10 vobs. This is because windows soft links didn't work very well and ClearCase stops you putting any files in the root directory of all the repositories when used under Windows.

To help myself out of this situation I added a user setting to specify the location of a cscope database - if you don't specify it then the code behaves as before by searching through the parent directories. I thought other users like myself (Windows+ClearCase) might find this setting useful, of course I understand it probably has limited application for other OS+source control options.

ameyp commented 11 years ago

It makes perfect sense to add this, thanks for the pull request (and the kind words :) )

I've posted a couple of comments on your commit, could you please make the suggested changes and add that commit to this pull request?

julianchurchill commented 11 years ago

Ok, all changed as requested, thanks for the comments.

ameyp commented 11 years ago

Cheers, and thanks again for this pull request, it will prove to be really useful.