Type: Bug
- Use Open Folder to open an existing project that includes PostgreSQL files
- Connect to a PostgreSQL database
- Use Ctrl+P to open a PostgreSQL file
Expected Result
After opening the file, the PGSQL language server should automatically get set. This does seem to work if I open a new tab (Ctrl+N), the language server gets successfully set as PGSQL.
Actual Result
When opening the file, the language server is simply displayed as "Choose SQL Language", and when trying to click on it to set one, the notice "A connection using engine PGSQL exists. To change please disconnect or change connection" appears. Additionally, I see the following warning in the console:
[warning] Editor ID Mismatch: undefined !== workbench.editor.queryEditor. This will cause bugs. Please ensure editorInput.editorId matches the registered id
Unfortunately this means that Intellisense does not work on existing files.
Extension version: 0.6.0
Azure Data Studio version: azuredatastudio 1.50.0 (49c73a84388731fec941dac8d938345ac16bd470, 2024-11-17T22:41:05.327Z)
OS version: Windows_NT x64 10.0.26100
Restricted Mode: No
Preview Features: Enabled
Modes:
System Info
| Item |
Value |
| CPUs |
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192) |
| GPU Status |
2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) |
undefined |
| Memory (System) |
31.92GB (8.68GB free) |
| Process Argv |
|
| Screen Reader |
no |
| VM |
0% |
Type: Bug
Expected Result
After opening the file, the PGSQL language server should automatically get set. This does seem to work if I open a new tab (Ctrl+N), the language server gets successfully set as PGSQL.
Actual Result
When opening the file, the language server is simply displayed as "Choose SQL Language", and when trying to click on it to set one, the notice "A connection using engine PGSQL exists. To change please disconnect or change connection" appears. Additionally, I see the following warning in the console:
[warning] Editor ID Mismatch: undefined !== workbench.editor.queryEditor. This will cause bugs. Please ensure editorInput.editorId matches the registered idUnfortunately this means that Intellisense does not work on existing files.
Extension version: 0.6.0
Azure Data Studio version: azuredatastudio 1.50.0 (49c73a84388731fec941dac8d938345ac16bd470, 2024-11-17T22:41:05.327Z)
OS version: Windows_NT x64 10.0.26100
Restricted Mode: No
Preview Features: Enabled
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off