Destructive quick fix #13134
Labels
Feature: Create Declaration or Definition
Language Service
more info needed
The issue report is not actionable in its current state
Type: Bug
When the quick fix feature is used in a C++ header to generate definition of a method in the associated C++ source code and the source code does not include #include directive for the header file, the quick fix adds this #include line. However, the definition of the method is placed to the position in the source file BEFORE this update, causing that it ends up mixed with some different code typically, making this whole quick fix feature unusable and dangerous.
Extension version: 1.22.11
VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 5.15.133.1-microsoft-standard-WSL2
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
A/B Experiments
The text was updated successfully, but these errors were encountered: