supabase-community / supabase-vscode-extension

Supabase Extension for VS Code and GitHub Copilot.
https://marketplace.visualstudio.com/items?itemName=Supabase.vscode-supabase-extension
MIT License
55 stars 5 forks source link

Can Supabase Extension for VS Code work with Supabase Cloud? #26

Open joewinke opened 2 months ago

joewinke commented 2 months ago

I've installed it and it wants me to run supabase start - but so far I have done everything via the cloud. Is it necessary? When I ran supabase start before it felt like it was creating another version that would 'compete' with the cloud. Do I have that right or do I need to run local to use the extension? Screenshot 2024-09-19 at 5 00 14 PM

thorwebdev commented 2 months ago

Currently the extension relies on the supabase stack running locally. But we're planning to integrate it with the management API so you can log in with your Supabase account. You can follow along here: https://github.com/supabase-community/supabase-vscode-extension/issues/9

joewinke commented 2 months ago

@thorwebdev thanks! is there any downside to me using supabase start if i'm using the cloud? will they conflict or get out of sync or anything like that?

thorwebdev commented 2 months ago

@joewinke you will want to use a workflow like this: https://supabase.com/docs/guides/cli/managing-environments

So once you've got the CLI installed, follow these steps: