Argument tab completion for sc.pl.umap-like functions?
See original GitHub issueIt’d be nice if some level of tab completion of argument names could be maintained for functions like sc.pl.umap
. This came up recently in #455, and I find myself frequently misspelling (mostly mis-pluralizing) argument names like color/ colors
and gene_name/ gene_names
. I’ve given this a shot using functools.wraps
, but no luck yet.
Any ideas on if we could do this @flying-sheep?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Argument tab completion for sc.pl.umap-like functions? #535
It'd be nice if some level of tab completion of argument names could be maintained for functions like sc.pl.umap.
Read more >Bash tab completion for argparse — argcomplete documentation
Tab complete all the things! Argcomplete provides easy, extensible command line tab completion of arguments for your Python script. It makes two assumptions:....
Read more >Spigot Plugin Development - Tab Completion with Commands
Tab completion is when suggestions come up in the minecraft chat for the next argument for the command. We can do this by...
Read more >Tab-completion of filenames as arguments for MATLAB scripts
This appears to contain the argument type mappings for tab completion. ... Suppose you have a Matlab function file called myFunction.m .
Read more >Dynamic Tab Completion with PowerShell ArgumentCompleters
Argument completers allow you to define tab completion on any of your PowerShell functions with just a few lines of code.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The PR is in motion, seems to work well!
Just wanted to mention that this would add much convenience. Since Fidel rewrote the plotting API, I saw that it was the right thing to do to reduce all the code in the almost-identical function headers, but I was missing the autocomplete, which had obviously disappeared.