Skip to content

Conversation

@andreystepanov
Copy link
Contributor

@andreystepanov andreystepanov commented Jan 30, 2025

Sharing custom completions I've written for myself with the community, especially those interested in Loco framework (It’s Like Ruby on Rails, but for Rust).

At this point it already auto-completes:

  • environment (based on config/*.yaml filenames)
  • task names (currently based on src/tasks/*.rs filenames)
  • scheduler job names/tags (parsed from scheduler section of config/*.yaml, and it's aware of current --environment flag)
  • model fields, after you typed field: and then pressed Tab key (field:uuid, field:string!, field:tstz! etc.)
  • template names (for cargo loco generate override subcommand)
  • and others

@fdncred fdncred merged commit 10b2262 into nushell:main Jan 30, 2025
1 check passed
@fdncred
Copy link
Contributor

fdncred commented Jan 30, 2025

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants