continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
15.85k stars 1.2k forks source link

Added ability to rescan @Database or @PostgreSQL table list #1990

Open thinkingtree2 opened 1 month ago

thinkingtree2 commented 1 month ago

Validations

Problem

@Database or @PostgreSQL table list is not updated until IDE is restarted.

Solution

Added feature to refresh @Database or @PostgreSQL table list

fry69 commented 1 month ago

As a quick workaround you can use "Developer: Reload Window" via Shift-Cmd-P to basically restart VSCode+Continue, that will also reload/refresh database connections.

Additionally you could remove the isDevelopment When condition from the keyboard shortcut for "Developer: Reload Window" via "Change When Expression" like shown in the image below, to get unfettered access to this function just by pressing Cmd+R (in my case on macOS).

keybinding