Skip to content

Idea: add support for selecting all the arguments from function call #24

Open
@mpourmpoulis

Description

@mpourmpoulis

as of release 0.1.2 the bids you can extract from a function call are

"(argument <argument_index>|keyword <keyword_index>|keyword value <keyword_value_index>|entire keyword <entire_keyword_index>|<caller> [<sub_index>]|entire call)"

which provides for a lot of options ( including going to empty function calls ) but one thing that is currently missing is the ability to select all of the arguments in function call.

Now my first idea was to utilize a name like argument list which would also make it similar to parameter list. However I believe something like arguments all might better off,i feel it might sound better with a small expansion have in mind

In particular there have been times where I have been interested in selecting only the positional arguments or the one passed by keyword, so having something like positional all and keywords all would also make sense! However, there are a couple of issues involved keyword is traditionally used for picking up only the keyword name, which might be a source of confusion, especially if you take into account that the natural expansion would be to support picking up all the keyword names or keyword values. in order to support the latter, small modifications would have to be made to the backend similar to the ones in the dedicated sub indexing queries to allow for multiple results per input because keyword names are going to be separated from one another

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions