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

scaffolding for commands #118

Closed
daretodave opened this issue May 11, 2024 · 1 comment · Fixed by #125 · May be fixed by #117
Closed

scaffolding for commands #118

daretodave opened this issue May 11, 2024 · 1 comment · Fixed by #125 · May be fixed by #117
Labels
back-end backend work enhancement New feature or request front-end front end work react-wizard-needed bless us with your react skills ready
Milestone

Comments

@daretodave
Copy link
Contributor

:cmd <command_name>

  • open editor for command at location
  • if cmd does not exist, create new one in commands/<command_name>.ts and import it in commands.ts

:cmd remove <command_name>

  • delete if an easy deletion, aka was created with scaffolding

ctrl+o on file name

  • open file path in editor!
  • this will be helpful for cmd scaffolding and opening the default :cmd

shift+tab after ctrl+o

  • navigate back to last file edited
  • shift tab tab navigate to last X file edited (save stack)
  • show ui for historical edit stack
    • modeled after shift tab feature in webstorm
@daretodave daretodave added back-end backend work enhancement New feature or request front-end front end work react-wizard-needed bless us with your react skills ready labels May 11, 2024
@daretodave daretodave added this to the 1.0.0 RELEASE milestone May 26, 2024
@daretodave
Copy link
Contributor Author

move the ctrl+o functionality to #122

just do cmd add|remove|command_name command_name

daretodave added a commit that referenced this issue May 27, 2024
* chore: add package manager line to pkg json

* chore: save all commands in snake case

* chore: auto complete to consider snake case

* chore: consider snake case on command execution

* chore: add command flow

* chore: add remove command flow

* chore: cmd <cmd_name> now edits or creates a command

* chore: improve readme for command scafolding and more

* fix: lint fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-end backend work enhancement New feature or request front-end front end work react-wizard-needed bless us with your react skills ready
Projects
None yet
1 participant