aim33
Your AI toolbox that always aims right
🎯 Principle of the extension :
The goal of this project is to help you increase your productivity and the quality of your code thanks to AI.
From code search to facilitated exchange with AI, we have developed a few features which should improve your daily life drastically!
Here is how you can join :
🥚 Getting Started
- Go to the login page
- Login using GitHub
- Send a message to @Eric Montagnon, @Matthieu Bezard, @Hugo Borsoni, @Alexis Delage or @Maxime Roucher to be added to the React Native Team in order to have access to the projects of the database
- On the website, in your account settings, copy the Access Token
- In VSCode, try to search (cf below): it will ask for your token. Paste-it there.
- It’s all set up!
🐥 Features
🦅 Code search
Principle
With this feature, you will be able to search for :
- the state of the art at BAM in terms of librairies and good practices
- examples of implementation for specific features
- documentation from other projects
- many more
All this without leaving the comfort of your VSCode 🛋️
How to do this
- Open VSCode
- In your file, in the middle of the code, type the content of your research, ex :
useLogin()
How to configure a translation system?
regex to validate an email
ScreenTemplate
- Select what you just typed
- ⌘ + ⇧ + P
⇒ aim33 : Search for code that is similar to the current selection
- Done ✅
You can also do it on our website :
With the website
- open the website
- login
- Go to the “search” page
Adding a date filter
If you have a lot of data in your database, the results which correspond the most to your research might be old and maybe out of date. In that case, it can be better to get less fitted results but more recent.
Therefore, we have added the possibility to filter the results by date.
To do so, in the extension, use the command
aim33 : Search for code that is similar to the current selection last committed after a certain date
Then fill the date and ta-da! 🥳
On the website, click on the filter button next to the search bar, it will open the filter section 😊
Add Projects to the database
- 🧬 When adding a project to the database, the only action which will be done is to clone this project on our exoscale server.
- ❌ No writing or modification of any sort will be performed.
- 📍 Moreover, everything is done on our exoscale server, nothing will be sent to another company
- 🔐 Finally, only the persons who you have authorized will see your project in the results of the search
In order to have more data in your results, it is possible to add current or past projects to your personnal database :
1 - the Tech Lead or EM of the project has to create a team :
to do this go to the website in the Teams tab (https://code.ai.m33.tech/teams)
2 - The members of the team have to be added to the project in the edit menu of the team. Each member has specific permissions
3 - A member of the team with the right permissions can then add the project
- Go to Github > Settings > Developper Settings > Personal Access Token
- 2 possibilities :
- Create a classic access token
you need to give the “repo” access to the token. This gives reading and writing access but only the read will be used, you can also delete this token once the project has been uploaded directly from github
- Create a Fine-grained access token (beta)
If you want to give specific access to the app, you can select a fine-grained token, however, this only works for projects for which you have admin rights
- Copy paste this token to the “Account” tab of the website
- Go to your “Teams” tab and go to the edit menu of your team
- Copy-paste your project’s https url
- Click on add
- ✅ Done
🦜 Copy to chatGPT
Principle
With this feature, you will be able to ask chatGPT to explain you a selection of code or the open files in your VSCode with a prompt automatically optimized and written for you
Here is how to do it :
Use the VSCode extension
for a selection of code
- in VSCode, select the code you want to give to chatGPT
- ⌘ + ⇧ + P
- aim33 : Copy the current selection to clipboard and open ChatGPT
- ChatGPT will be opened automatically, you only have to paste the content of your clipboard to the search bar
for files opened in you vscode workspace
- in VSCode, open the files you want to give to chatGPT
- ⌘ + ⇧ + P
- aim33 : Copy the currently opened files to clipboard and open ChatGPT
- ChatGPT will be opened automatically, you only have to paste the content of your clipboard to the search bar
🧬 Generate snippets
Principle
With this feature, you will be able to ask chatGPT to generate snippets of code from examples and a technical conception.
Here is how to do it :
Use the VSCode extension
- ⌘ + ⇧ + P
- You will be prompted to select files via a regex request
- You will be prompted to input your technical conception
- The extension will create a file in your workspace at a relevant path and open it !
Demonstration videos
Install & Search
https://www.loom.com/share/3504b177892643eeb9d7bf7588e357c7?sid=77f26a48-8a93-49dc-8d87-5ec80dffc926
ChatGPT facilitated copy-paste
https://www.loom.com/share/dc39a2d83b644dceadb3981d9bdae1f5?sid=a741730f-0c39-423d-834b-8fd209e42645
Project and Team Management
https://www.loom.com/share/36f73ce2ed5d4b27ac4dbaa3ce5995fc?sid=2a814e3b-b7f4-4ed3-9055-2b32f68023b1