News for hackers. Stuff that matters.
Re:Better Code Navigation on GitHub by npp5048 on Tuesday July 22, 2014 @02:54PM (#8070889)
The layout of your page is really making it hard to read. I feel like the words are trailing off the side of the bounding box. Also I have to scroll all the way right to reach the end of the sentence. I'm sure the information you posted is useful, but I couldn't spend more than 30 seconds on the page.
Re:Better Code Navigation on GitHub by typpo on Tuesday July 22, 2014 @03:33PM (#8071120)
Thanks for the heads up; seems like there was a layout issue that did not affect Chrome. Should be fixed now.
Re:Better Code Navigation on GitHub by npp5048 on Tuesday July 22, 2014 @04:23PM (#8071367)
Awesome! Yeah, looks much better now.
Re:Better Code Navigation on GitHub by yeukhon on Tuesday July 22, 2014 @03:21PM (#8071060)
The two things that are useful than jumping.

1. A same-page search on the sidebar so I don't have to switch tab to search and open new links.

2. Split screen to read code like my terminal does.

I've always wanted browser be able to split screen instead of tabs. This add on is quite promising from the demo.

Bravo.

Re:Better Code Navigation on GitHub by gravity13 on Tuesday July 22, 2014 @03:57PM (#8071236)
My biggest issue with code navigation on Github is that there doesn't seem to be a way to traverse the file tree without navigating through each directory.

It makes getting an overall sense of the organization of the project a bit of a hurdle until you actually clone the repo and look through it (which is too much work if I'm just glancing at something quickly).

For both new-to-project and new-to-programming folks, I'd argue this is very important as it's a scaffolding mechanism for learning the new system.

Re:Better Code Navigation on GitHub by typpo on Tuesday July 22, 2014 @04:00PM (#8071251)
You may like this Chrome extension called Octotree. It adds a hierarchy on the left hand side of the page:

https://chrome.google.com/webstore/detail/octotree/bkhaagjah...

Re:Better Code Navigation on GitHub by notduncansmith on Tuesday July 22, 2014 @05:49PM (#8071759)
+1, I was just about to recommend Octotree. I use it almost daily.
Re:Better Code Navigation on GitHub by gravity13 on Tuesday July 22, 2014 @04:03PM (#8071265)
Awesome, I was hoping somebody made this already. Thanks!
Re:Better Code Navigation on GitHub by jordibunster on Tuesday July 22, 2014 @04:22PM (#8071360)
Do you know about the 't' hotkey?
Re:Better Code Navigation on GitHub by zsombor on Tuesday July 22, 2014 @03:30PM (#8071106)
Have created something similar enabling cross referenced search both from code and diffs as well at https://tixef.com. Indeed the ability to slice into the details of an implementation can be quite useful for actually understanding the code.

Good job making it a browser extension! The low impact install can build on the individual's desires for a better experience.

Re:Better Code Navigation on GitHub by nja on Tuesday July 22, 2014 @08:42PM (#8072351)
We use GitHub Enterprise for our git hosting, code review, and issue tracking, but OpenGrok[1] for code perusal. It's indispensable, though this looks like it could be a useful intermediary.

[1] http://opengrok.github.io/OpenGrok/

Re:Better Code Navigation on GitHub by nilkn on Tuesday July 22, 2014 @03:27PM (#8071089)
I've noticed that when I click a line number, it correctly highlights the line and updates the URL as usual, but it also scrolls the code view to the top, which is probably not desired.
Re:Better Code Navigation on GitHub by alpeb on Tuesday July 22, 2014 @05:12PM (#8071581)
Off-topic: With today's changes to Github I can no longer see a commit diff by clicking on the corresponding SHA in the commits page. Any idea where has that gone?
Re:Better Code Navigation on GitHub by prezjordan on Tuesday July 22, 2014 @05:47PM (#8071750)
Nope :( It's very strange that the abbreviated SHA isn't clickable. The commit message still is, however.
Re:Better Code Navigation on GitHub by jonalmeida on Tuesday July 22, 2014 @10:58PM (#8072702)
Also: 1. Better issue search 2. Saving issue queries 3. (This one is far fetched) Add Atom in Github itself so people can work on code from anywhere.
Re:Better Code Navigation on GitHub by SchizoDuckie on Wednesday July 23, 2014 @07:36AM (#8073773)
Seriously cool. Please keep working on this!

Also, please make it a sidebar instead of a split bottom navigation bar. that would be much easier to read