Imagine going through a huge repository and trying to find who you should reach out to, or which files to look at - to try and understand the context. Context Pilot does it for you, currently supported for neovim and Visual Studio Code.
Use Case:
- You are adding a dependency, or changing in your infra code, but don’t know what else to change to ship the code.
- You are going through an auto-generated code, trying to find the proto definition of an auto-generated class.
- You are going through a code, but don’t know what it’s about - you need to reach out to someone to help guide you through. But who is/are the best person(s) for this?
For all these cases, LSP doesn’t give you the best results. LSP References work purely on the “uses”/“references”, while context pilot will help you get context on this.
- Introduction (includes Motivation and use-cases)
- Demo of Context Pilot in VSCode and NeoVim
- Sharing algorithm used for Context Pilot
- Sharing features implemented so far
- Talk about performance impact (includes in-house DB sharding implementation)
- How to take your binary to users? (this includes a demo of how neovim plugin and VSCode extension communicated with the Context Pilot utility)
- Future steps (it’s open sourced)
- It’s something that any develop would like using.
- If you plan to develop a tool in Rust and want your frontend editors to be able to connect with your backend utility, this talk will help you with that. NeoVim’s plugin written in Lua communicates with the context pilot binary, similarly for VSCode (written in typescript).
- This project has huge learning curve + opportunities to contribute, so if you are getting started with Rust or are already confident about it, Context Pilot is open to grabs for features/bug fixes.
- None of this is click-bait, and everything was developed live on my channel (really not promoting it here, but just saying since it’s true)
Please note that this took me more than 7 months of development, I wanted to present this before but that would have been immature to present as things with Context Pilot were still evolving. :)
Disclaimer: I don’t think I’m the best person to teach something, and meetups are - very honestly to teach but to spark an idea and initiate a discussion with all the attendees. Nonetheless, I hope that after this talk:
- You’ll have more ideas on how you can take your ideas to the end-user. A lot of us have great ideas in mind, either built using Rust or any other language, but after this talk - you might end up going back to your system and implement a plugin for users to actually use it.
- You’ll have an opportunity to contribute to this project and help take it to the users.
- I’ve implemented concepts like DB Sharding from scratch, I hope to debate with y’all on why and how I did it.
- You’ll also know a bit about NeoVim plugin integration with this utility and VSCode extension integration with Context Pilot.
As I always say, Rust community is very welcoming, so I just look forward to hearing y’all out on thoughts on this. No pre-requisites as such, but I would appreciate it if we all come with an open and creative mind to be open to hearing out on ideas and giving feedback (constructive, of course) :)
Well, you can find more about me on my profiles below:
- YouTube: https://youtube.com/c/kushashwaraviShrimali
- Twitter: https://twitter.com/kushashwa
- Blog: https://krshrimali.github.io/
- GitHub: https://github.com/krshrimali
- Twitch: https://twitch.tv/buffetcodes
Context Pilot has been open-sourced since it’s beginning. Please find the code-base here: https://github.com/krshrimali/context-pilot-rs. The plugins are open sourced as well (not sharing the links here as I want viewers/attendees to have less noise in terms of number of links to click on)
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}