add tab-complete to repl #176
Conversation
Can we get a proper PR description for this @deoxxa it seems you have two commits and you only mention the title from the first one. |
What would you suggest instead? The first commit is only there to support the second one. |
Something like:
Subject is typically a brief summary of the change and description provides the detail. Given the recursive nature of KeysByParent could this cause significant slowdown when not desired? If so would good to add a command line option to disable it. |
Right - can do! Please hold :) |
@@ -655,6 +655,25 @@ func (self Object) Keys() []string { | |||
return keys | |||
} | |||
|
|||
// Get the keys (and those of the parents) for the object, in order of | |||
// "closest" to "furthest" | |||
func (self Object) KeysByParent() [][]string { |
stevenh
Apr 28, 2016
•
Collaborator
Would be nice if we started to pass linting with doc comments e.g. this should be of the form:
// KeysByParent returns the keys for the object, and those if its parents, in order of "closest" to "furthest".
This makes docs much nicer for external consumers.
Would be nice if we started to pass linting with doc comments e.g. this should be of the form:
// KeysByParent returns the keys for the object, and those if its parents, in order of "closest" to "furthest".
This makes docs much nicer for external consumers.
deoxxa
Apr 28, 2016
Author
Collaborator
Can't think of a reason why not!
Can't think of a reason why not!
deoxxa
Apr 28, 2016
Author
Collaborator
Done and done.
Done and done.
Autocomplete is now opt-in. To avoid adding another set of |
No description provided.