Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>labsqlNew to Visual Studio Code? Get it now.
labsql

labsql

Martin J Brekhof

|
38 installs
| (0) | Free
sql to labware basic and vice versa
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

labsql README

For extension "labsql". After writing up a brief description, we recommend including the following sections.

Features

This is an chatGTP generated extension that reformats SQL so it can be used as codelines, it also reformarts the code back to SQL.

the original chatGPT request: Summary of the request:

Create a Visual Studio Code extension with two commands. The first command, "Format SQL as Concatenated String", should format the selected SQL text according to the following rules: a. Start with sql = "". b. Every line should be like sql = sql + "selected text". c. The result may not contain lines longer than 70 characters; if needed, the line should be split. d. Words cannot be split. The second command, "Reverse Formatted SQL to Original", should reverse the formatted SQL string back to the original SQL string when selected.

Requirements

Originally targets Labware Basic and SQL Server syntax

Extension Settings

no settings changed

updated the code, it works for 99%

Release Notes

second release variable naming is now flexible

version 1.0.1

second release of package

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft