Skip to content
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

Using VS Code Variables In Settings #738

Open
s0kil opened this issue Dec 4, 2020 · 1 comment
Open

Using VS Code Variables In Settings #738

s0kil opened this issue Dec 4, 2020 · 1 comment
Labels
feature request New issue opened using "Feature request" template pg PostgreSQL driver

Comments

@s0kil
Copy link

s0kil commented Dec 4, 2020

I've been trying to set up a connection such as:

  "sqltools.connections": [
    {
      "previewLimit": 50,
      "server": "localhost",
      "port": 5432,
      "driver": "PostgreSQL",
      "name": "my-app",
      "socketPath": "${workspaceFolder}/build/db/.s.PGSQL.5432",
      "connectString": "postgresql:///app?host=${workspaceFolder}/build/db",
      "password": ""
    }
  ]

However, it seems that variables are not supported.
Is there any other way to achieve something similar without hard coding full path?

@s0kil s0kil added the feature request New issue opened using "Feature request" template label Dec 4, 2020
@gjsjohnmurray gjsjohnmurray added the pg PostgreSQL driver label Jul 23, 2022
@gjsjohnmurray
Copy link
Collaborator

See also #703 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New issue opened using "Feature request" template pg PostgreSQL driver
Projects
None yet
Development

No branches or pull requests

2 participants