Inconsistent File Representation in Visual Studio Code
Dear Visual Studio Code Support Community,
I am currently experiencing an unusual behavior in Visual Studio Code that I haven't been able to resolve independently. The issue is that when navigating to a function definition in my code, which is defined in another file tab which is already open, a new Tab with the same content opens. Both tabs seem to be referencing the same file object. This means that changes made in one tab are also visible in the other, and vice versa.
Here are some details and steps I have already taken:
•I have reinstalled Visual Studio Code and set up a new project to ensure that the issue is not project-specific.
•All extensions have been temporarily disabled to rule out conflicts.
•The Visual Studio Code cache has been cleared, and the program has been restarted multiple times.
•I have changed and adapted the settings.json file. I do not know if this is helpful but here is the content of the file:
{
"editor.codeActionsOnSave": {},
"python.analysis.extraPaths": [],
"python.autoComplete.extraPaths": [],
"python.condaPath": "C:\\Users\\...\\anaconda3\\Scripts\\conda-script.py",
"python.defaultInterpreterPath": "c:\\Users\\...\\anaconda3\\envs\\work\\python.exe",
"python.experiments.optInto": [
"pythonTerminalEnvVarActivation"
],
"python.pythonPath": "C:\\Users\\...\\anaconda3\\python.exe",
"python.terminal.activateEnvInCurrentTerminal": true,
"python.terminal.activateEnvironment": true,
"python.experiments.enabled": true,
"security.restrictUNCAccess": false,
"window.zoomLevel": -1,
"python.analysis.diagnosticSeverityOverrides": {
}
This behavior doesn't seem to align with the normal workflow of Visual Studio Code, and I am unsure how to further investigate or resolve it. Please provide guidance or recommendations on how to address this issue.
Thank you in advance for your assistance.
Best regards,
Maxi