Closed testIssue29 closed 1 year ago
This issue could originate from a problem with file watching. Let me explain how file watching works in VSCode first and then provide some details how to get more logging data from how file watching behaves in your case.
Synopsis VSCode has different strategies for file watching depending on your workspace and setup:
fs.watch
fs.watch
If you are connected to a remote (SSH, WSL, Docker), the file watcher will run within the target file system. As such, even though you maybe on Windows where VSCode runs, if the remote is Linux, the file watcher will run in the Linux environment.
Platforms Depending on the platform you are on, file watching is differently implemented:
fsevents
servicesReadDirectoryChangesW
methodinotify
Specifically on Linux, watching a large folder recursively can result in VSCode consuming too many file handles. If that is the case, you will see a warning notification with instructions how to solve that.
Limitations File watching comes with a set of limitations:
files.watcherInclude
settingSettings
Please review your settings to see if maybe a folder is excluded by accident. Specifically, the files.watcherExclude
setting is relevant.
Logging (local) !!! This is ONLY when you open a local workspace, for remote see below !!! We provide logging for file events when you enable verbose logging. Steps are:
View | Command Palette...
Developer - Set Log Level...
Trace
Help | Toggle Developer Tools
Console
File Watcher
into the filter boxLogging (remote) !!! This is ONLY when you open a remote workspace (WSL, Docker, SSH), for local see above !!! We provide logging for file events when you enable verbose logging. Steps are:
View | Command Palette...
Developer - Set Log Level...
Trace
View | Output
Log (Remote Server)
from the dropdownThis issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!
Does this issue occur when all extensions are disabled?: Yes
VS Code Version: Version: 1.77.0 (Universal) Commit: 7f329fe6c66b0f86ae1574c2911b681ad5a45d63
OS Version: macOS Ventura 13.2.1
Steps to Reproduce:
void solve(){ vector res(4,0);
char board[3][3]{};
};
int main(){ solve(); return 0; };
BAD FAD QAC
1 1
1 3
1 1