Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templated Fields #124

Open
kpinnipa opened this issue Sep 22, 2020 · 2 comments
Open

Templated Fields #124

kpinnipa opened this issue Sep 22, 2020 · 2 comments
Labels
enhancement New feature or request High Priority UI/UX ui/ux fix/update

Comments

@kpinnipa
Copy link
Collaborator

Problem Description
Currently no arguments can be passed to code snippets and no parameters can be set for a snippet.

Solution

  • Allow a place/way for arguments to be passed into a code snippet upon insertion. When creating the snippet users should be allowed to specify a number of parameters and when they insert it a dialog should appear that allows them to fill in these sections.

Problems to Address

  • Have to figure out where these args will be visually and how they will be editable:
    1. On the snippet?
    2. Can they be modified in the editor?
    3. Will types be included?
    4. Limit to number of parameters?
  • Design must be mostly solidified before implementation
@kpinnipa kpinnipa added the enhancement New feature or request label Sep 22, 2020
@stefansimik
Copy link

This would be really excellent feature for daily use.

For example for data analytics, where you have to call many similar transformations like
df.pivot_table(index='COL', columns='COL', aggfunc={'COL': FUNCTION}

It would really help to type code much faster...

@kpinnipa
Copy link
Collaborator Author

Thank you for providing an example @stefansimik! We are currently still in the planning stages for this feature and are not sure about the exact release date for it but are definitely interested in developing it. Regardless, we appreciate the feedback and feel free to let us know if you have any further suggestions or encounter any problems!

@kpinnipa kpinnipa added High Priority UI/UX ui/ux fix/update labels Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request High Priority UI/UX ui/ux fix/update
Projects
None yet
Development

No branches or pull requests

2 participants