You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for confirming that @jakebailey, I was trying to debug why project-relative set for typescript.preferences.importModuleSpecifier was broken. Downgrading to 5.3.x or bumping to 5.5.0-dev.20240329 fixed it.
Type: Bug
After upgrading TypeScript to 5.4, import path completion did changed its behavior in my project.
TypeScript 5.3
TypeScript 5.4
The project defines its
baseUrl
intsconfig.json
like below.The import path seems to start with the
baseUrl
, therefore, when I disablebaseUrl
intsconfig.json
, the import path becomes relative.This behavior appears when I set
TypeScript › Preferences: Import Module Specifier
asshortest
orproject-relative
.I'm sorry, but I haven't been able to create a minimal reproducible case yet. Does anyone know anything about this?
My environment is below.
VS Code version: Code 1.87.2 (863d2581ecda6849923a2118d93a088b0745d9d6, 2024-03-08T15:21:31.043Z)
OS version: Darwin x64 22.6.0
Modes:
System Info
canvas_oop_rasterization: disabled_off
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
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: