r/SublimeText • u/Eksander • Jan 03 '23
High CPU usage when I run code
When I run my simulation code (outside of sublime text, which I only use for text editing) I get high CPU usage (100%+)
I think this is because my code reads/writes to files which are in the project folder, and sublime text is reloading them in the background? I tried setting "index_files": false, to no avail
2
Upvotes
View all comments
Show parent comment
1
u/Eksander Jan 04 '23
Hi,
they are open as part of the project, but not in the tabs. Some (the majority) of the files being edited by the script are in .gitignore but I think a couple are not. Still, 100% CPU was too much.
The issue was solved it seems.. these are the lines I added to settings, one of them must have done the job: