Closed 478137607 closed 2 weeks ago
Thanks for pointing that out!
The FileScanner is used to detect and automatically attach images to your chat sessions as they are created. I find this feature very handy, especially on macOS, where each screenshot appears on the desktop by default.
If this is causing issues, you can toggle it off in the settings: Tools > CodeGPT > Configuration > Check for new screenshots automatically
Thank you. Turning off this option will eliminate the issue
What happened?
I found that the idea is not running at all, but it still consumes a lot of CPU. After troubleshooting, I found that there is a monitor that keeps scanning my desktop folder (with a lot of files), causing the idea to lag. Further investigation reveals that there is a listener in this FileAlterationObserver, which is: ee. carlrobert. codegt FileWatcher。 I think this should be internal to the plugin, but I don't understand why my desktop folder needs to be scanned. idea:2022![image](https://github.com/carlrobertoh/CodeGPT/assets/34698521/c5babe90-e39c-430c-9273-a4602ceb6043)
Relevant log output or stack trace
No response
Steps to reproduce
No response
CodeGPT version
2.6.2
Operating System
Windows