boyter / searchcode-server

The offical home of searchcode-server where you can run searchcode locally. Note that master is generally unstable in the sense that it is not a release. Check releases for release versions https://github.com/boyter/searchcode-server/releases

Home Page:https://searchcodeserver.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Enhancement: Detailed information for overview file breakdown.

NathanaelA opened this issue · comments

For example one repo that I'm looking at looks like:

6 Languages	
Markdown 2 files 23% of project
TypeScript 2 files 23% of project
Unknown 2 files 23% of project
JSON 1 files 12% of project
Javascript 1 files 12% of project
git-ignore 1 files 12% of project

I would love to be able to click on any of those and see the files they are, and if possible the file names that show up are clickable to actually view the source.

Sounds reasonable. It ties in somewhat with #89 requires a few changes on the a backend to support it at this point though.

So sitting in master. I have some code that allows this to happen. What it does is piggybacks of the literal search option and links to a search that displays the above.

Its not integrated into the same page however. Still thinking about if that should be the case.

The below shows the output for a project and then me clicking through to see Kotlin code.

screen shot 2017-09-07 at 8 34 50 am

screen shot 2017-09-07 at 8 35 40 am

@boyter - Ben, this would be awesome. It doesn't have to be the same page; it is perfectly fine to reuse the rest of the system to keep it consistent. :-D

Well it was more about me being lazy because its easier to implement :)