You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Url for opening file editing at a specific line number #295
It would be great to be able to advertise a link to edit a part of a file (e.g. the line number for a docstring of a specific function). IMO the whole point of the edit button is lowering the barrier for entry for contributions and this would help!
Similar to how you can access line numbers in a file, diff or a PR.
+1, this is a great idea. On hover of blob view for branches, an edit button could be shown.
BTW in #293 (comment) I also propose another such button: create an issue with body prefilled with the link to the location to report an issue at the given location.
Activity
cirosantilli commentedon Nov 13, 2014
+1, this is a great idea. On hover of blob view for branches, an edit button could be shown.
BTW in #293 (comment) I also propose another such button: create an issue with body prefilled with the link to the location to report an issue at the given location.
I have created a slightly more detailed version of this at: http://feedback.gitlab.com/forums/176466-general/suggestions/6711593-on-hover-per-line-button-on-branch-blob-show-to-ed
This would also require: #297 to be doable for markdown.
ptomato commentedon Apr 29, 2017
You can append something like
#L12to the edit URL to place the editor cursor at that line. It's not overly obvious but it works!hayd commentedon Apr 29, 2017
Nice! I'm sure you didn't use to be able to, good job github!