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
When opening a Dart/Flutter project with the extension active, the project won't compile due to an error in the pubspec.yaml on the line containing publish_to: none, with error:
Matches multiple schemas when only one must validate.
Extension version: 2.17.0
VS Code version: Code 1.93.0 (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z)
OS version: Linux x64 6.8.0-41-generic snap
Modes:
System Info
Item
Value
CPUs
AMD Ryzen Threadripper PRO 5955WX 16-Cores (32 x 1800)
Hey @opyate, are you able to reproduce this error, and can you provide what states in problems tab, it can tell which extension/validator provides this error. And if possible can you provide full yaml file instead of just line 5 so that we can try to reproduce the error? thanks!
If I work on Flutter code, I have to disable the "Gemini Code Assist + Google Cloud Code" extension, and if I don't work on Flutter code, I have to disable the Dart/Flutter extensions to get Gemini code assist etc.
Hello @opyate looks like this is a bug in our yaml LS that mistakenly process pubspec.yaml, we currently don't support validation for flutter pubspec doc. We will disable it in the next release.
Type: Bug
When opening a Dart/Flutter project with the extension active, the project won't compile due to an error in the pubspec.yaml on the line containing
publish_to: none
, with error:Extension version: 2.17.0
VS Code version: Code 1.93.0 (4849ca9bdf9666755eb463db297b69e5385090e3, 2024-09-04T13:02:38.431Z)
OS version: Linux x64 6.8.0-41-generic snap
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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: