Use phind.com right in your code editor. Use (Cmd+I)/(Ctrl+I) to quickly open search panel and start searching.
If you use (Cmd+Shift+I)/(Ctrl+Shift+I) while you have code selected, it will be used as context for your search.
If you use (Cmd+Shift+K)/(Ctrl+Shift+K) while you have code selected, you can provide instructions and the AI will automatically rewrite the code according to those instructions.
NOTE: You must have a Phind account in order to use this extension. You can sign up here.
Phind is a personal search-enabled assistant for programmers that can help with technical questions, including debugging, finding documentation, and assisting in writing code.
Demos
Selecting text in your editor and pressing (Cmd+Shift+I)/(Ctrl+Shift+I) opens the chat panel
Selecting text in your editor and pressing (Cmd+Shift+K)/(Ctrl+Shift+K) lets you replace/generate inline code
Using phind to look up errors, warnings, and hints underlined in your code.
Note: this extension is in alpha which means there will sometimes be breaking changes. If you experience issues, make sure to update to the latest version.