Bug 355693 - Git configuration should assist on possible parameters and link to corresponding documentation
Summary: Git configuration should assist on possible parameters and link to correspond...
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-24 08:01 EDT by Matthias Sohn CLA
Modified: 2019-03-04 14:52 EST (History)
2 users (show)

See Also:


Attachments
key completion (19.84 KB, image/png)
2019-03-04 14:39 EST, Michael Keppler CLA
no flags Details
value completion (16.80 KB, image/png)
2019-03-04 14:39 EST, Michael Keppler CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Sohn CLA 2011-08-24 08:01:47 EDT
There are many git configuration parameters [1]. It's tedious to lookup possible git configuration parameters their supported values and corresponding documentation from the web. EGit should assist by providing key/value assistance and it should provide easy access to the corresponding documentation (maybe we find a way to hyperlink to the corresponding sections in [1], though I am not sure if IP rules would allow that). 

[1] http://kernel.org/pub/software/scm/git/docs/git-config.html
Comment 1 Michael Keppler CLA 2019-03-04 14:39:22 EST
Created attachment 277758 [details]
key completion
Comment 2 Michael Keppler CLA 2019-03-04 14:39:43 EST
Created attachment 277759 [details]
value completion
Comment 3 Michael Keppler CLA 2019-03-04 14:45:41 EST
I've created a little prototype of content assist for the configuration dialog with a selected set of only 4 keys. Something like that can be done easily due to our available content assist implementation. Does that fit your requirement?

The hard part would be to actually provide the assistance for many (or even all) config values. I have absolutely no idea whether it is possible to somehow get a list of keys, values and descriptions semi-automatically from the git sources. And the question is also whether that would help the users, or if we should just provide a collection of "favorites of the egit developers", e.g. 20 to 30 entries maybe?
Comment 4 Eclipse Genie CLA 2019-03-04 14:52:27 EST
New Gerrit change created: https://git.eclipse.org/r/138004