Skip to content

Doesn't provide autocompletion or hover hints #14

Description

@poly2it

While syntax errors and some lints seem to work (unless I use the connectionString option), I do not get any autocomplete or hover hints. I also don't get any LSP logs, which I find a bit weird.

postgres-language-server.jsonc

{
	"$schema": "https://pg-language-server.com/latest/schema.json",
	"extends": [],
	"vcs": {
		"enabled": false,
		"clientKind": "git",
		"useIgnoreFile": false
	},
	"files": {
		"include": ["**/*.sql"],
		"ignore": []
	},
	"linter": {
		"enabled": true,
		"rules": {
			"recommended": true
		}
	},
	"typecheck": {
		"enabled": true
	},
	"plpgsqlCheck": {
		"enabled": true
	},
	"db": {
	    "host": "/tmp/tmp.BP3nQM2Bwc",
	    "port": 5432,
	    "username": "x",
	    "password": "x",
	    "database": "x",
	    "connTimeoutSecs": 10,
	    "allowStatementExecutionsAgainst": ["/tmp/tmp.BP3nQM2Bwc/*"]
	}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions