Skip to content

setting up vscode #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

setting up vscode #18

wants to merge 3 commits into from

Conversation

benfdking
Copy link

@benfdking benfdking commented Jun 16, 2025

Steps:

  1. Open in codespaces
  2. Install SQLMesh extension (either individually or when prompted to do so)
  3. Sign In
  4. Bug: Refresh window (this is annoying but at the moment when you sign in for some reason it doesn't trigger the installatioN)
  5. Trigger installation by triggering extension (opening SQL file or hitting lineage) Wait for the installation to finish
  6. It works

Things that I did:

  1. Removed use of uv pip install (it doesn't work easily because doesn't find uv)
  2. Added automatic configs
  3. Removed the use of env vars which are not in the LSP context

config.yaml Outdated
database: sqlmesh_state_demo
state_connection:
type: cloud
url: https://cloud.tobikodata.com/sqlmesh/tobiko/public-demo/
Copy link
Collaborator

@sungchun12 sungchun12 Jun 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UX Feedback: this should NOT be needed for tcloud users to get the extension to work

@@ -2,7 +2,6 @@ projects:
public-demo:
url: https://cloud.tobikodata.com/sqlmesh/tobiko/public-demo/
gateway: public-demo
extras: bigquery,web,github,postgres
pip_executable: uv pip
Copy link
Collaborator

@sungchun12 sungchun12 Jun 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UX Feedback: This should be allowed to work for users as most tcloud customers are using uv pip today and it's much better experience for them.

config.yaml Outdated
# connection: # This connection is used for automatic unit test generation and external model creation
# type: bigquery
# project: sqlmesh-public-demo
# postgres:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UX Feedback: there should be a way to prompt users to re-export the environment variables and/or provide helpful guidance to get the extension to pick these up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants