The "extraction method" is not functioning properly.

My “extraction method” feature seems to be malfunctioning. For example, when I try to extract the following code into a function, the result shown in the picture is incorrect. The highlighted area is wrong, forcing me to manually change the function name.

        dashTimer -= Time.deltaTime;
        dashCoolDownTimer -= Time.deltaTime;

I suspect this issue might be related to .NET, but I’m not sure how to resolve it. Initially, I thought it was caused by interference from another plugin, “IntelliCode,” but the problem persists even after I disabled it.

Additionally, I can’t find the corresponding shortcut key for the “extraction method” operation in VSCode.Can anyone help me to fix it?

9911277--1432440--螢幕擷取畫面 2024-06-27 151506.png