Skip to content

Don't override sticky scroll settings if intellisense is disabled, to avoid conflicts with Clangd #13574

Open
@adalisk-emikhaylov

Description

@adalisk-emikhaylov

Environment

  • OS and Version: Windows 10
  • VS Code Version: 1.99.3
  • C/C++ Extension Version: 1.25.3
  • If using SSH remote, specify OS of remote machine: No SSH

Bug Summary and Steps to Reproduce

Refer to clangd/clangd#2221

When both Clangd and the Micosoft's C/C++ extension are installed, the latter messes with the sticky scroll settings, prevending Clangd from displaying it properly.

This happens even with "C_Cpp.intelliSenseEngine": "disabled", which is probably undesirable.

I suggest disabling this behavior when intellisense is disabled.

How to repro:

  • Install both the MS C/C++ extension and Clangd. Ensure Clangd is working.
  • Disable intellisense when prompted (MS extension suggests this when it sees clangd).
  • Trigger sticky scroll. Ensure that you follow the style where {s are on separate lines.
  • Observe that the sticky scroll only displays the {s instead of the function signatures:

Image

Configuration and Logs

Not relevant.

Other Extensions

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Language ServiceenhancementImprovement to an existing featurehelp wantedCan be fixed in the public (open source) repo.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions