searchcode-server icon indicating copy to clipboard operation
searchcode-server copied to clipboard

results for file repo show too much in path

Open quasarea opened this issue 8 years ago • 2 comments

Hi, In example results for a query has a header:

ModelA.cs in ProjectA | /home/ProjectA/Model/ModelA.cs | 40 lines | C# while it should be something like: ModelA.cs in ProjectA/Model/ModelA.cs | 40 lines | C#

Existence of /home/ is totally unnecessary as it may be not relevant to users own folder name. Duplication of ProjectA same as user can name repo differently, but it would be useful as at least we know what repo is presented, it could be still a clickable link to its overview.

Additionally highlight could be applied to header for matching key words

Best wishes, J

quasarea avatar Mar 08 '17 15:03 quasarea

Oddly enough this was a request from a customer to include the full path. I might need to make this an option that can be configured I think.

boyter avatar Mar 08 '17 21:03 boyter

Yes please

hskrtich avatar Mar 08 '17 23:03 hskrtich