-
Notifications
You must be signed in to change notification settings - Fork 72
Swift extension takes over C++ files in a CMake/C++ project #491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The vscode-swift lsp server SourceKit-LSP does provide functionality for both Swift, C and C++. Is this clashing with the C++ extension? What is the difference between the rendered docs with the swift extension enabled and disabled? |
Yes, it appears to be the case. Please check my report here: microsoft/vscode-cpptools#10461 When I disabled the Swift extension everything went back to normal. As I am using both C++ and Swift/Objective-C in the same project. I would really like that both extension behave and cooperated properly. |
Maybe with https://code.visualstudio.com/updates/v1_75#_profiles I can work around this issue. |
#493 should resolve this for you |
@adam-fowler Thank you for the quick reaction and your work! |
In release 1.1 |
Type: Bug
I don't know if its this extensions fault but I am experiencing the issue as reported here:
microsoft/vscode-cpptools#10461 (comment)
With the Swift extension enabled it apperas that C++ files are getting Swift features.
Extension version: 1.0.0
VS Code version: Code 1.75.1 (Universal) (441438abd1ac652551dbe4d408dfcec8a499b8bf, 2023-02-08T21:34:59.000Z)
OS version: Darwin arm64 22.2.0
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: