Skip to content

Add PostgreSQL language support - #1023

Open
farhad-sadeghlo wants to merge 1 commit into
LeetCode-OpenSource:masterfrom
farhad-sadeghlo:add-postgresql-support
Open

Add PostgreSQL language support#1023
farhad-sadeghlo wants to merge 1 commit into
LeetCode-OpenSource:masterfrom
farhad-sadeghlo:add-postgresql-support

Conversation

@farhad-sadeghlo

@farhad-sadeghlo farhad-sadeghlo commented Aug 6, 2026

Copy link
Copy Markdown

Summary

Adds PostgreSQL as a supported language in the VS Code LeetCode extension.

Changes

  • Adds postgresql to the supported language list.
  • Maps PostgreSQL solutions to the .sql file extension.
  • Adds PostgreSQL to the leetcode.defaultLanguage configuration.
  • Adds PostgreSQL-specific file path configuration.
  • Maps PostgreSQL Markdown code blocks to SQL syntax highlighting.
  • Updates the supported-language documentation.

Validation

  • npm run compile
  • npm run lint
  • npm run build
  • Generated a PostgreSQL solution for LeetCode problem 175 using the language slug postgresql.

The generated file contained:

@lc app=leetcode id=175 lang=postgresql

and:

Write your PostgreSQL query statement below

Dependency

This feature depends on PostgreSQL support in the underlying vsc-leetcode-cli package. This pull request should remain a draft until those changes are implemented and a new package version is published.

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.

1 participant