The projects that are causing woes are JS projects (no TS).
I donāt think Iām using a custom syntax highlight for JSā¦ I do have others installed but Iāve never used them, and when I open JS files myself they open in JavaScript
:
Would the indexer use these ones as well? Should I disable / kill them somehow?
I also banned *.md
files (and *.todo
since theāre similar) since I saw another thread complaining about those taking forever as well (and I do use Markdown Enhanced
).
Now Iām restarting sublime it maybe doesnāt do this anymore? Itās hard to tell, the index maybe just thinks itās up to date.
One thing Iāve noticed that is really weird, is that I have a folder attached to one of the problematic projects called _meta
, which just contains a collection of notes and things like that. The Indexer gives me this:
index "_meta..." collated in 0.04s from 1236 files
index "_meta..." is using 4273664 bytes for 10306 symbols across 68538 locations
The entirety of this directory ls this (core filenames anonymised but with their original extensions):
$ ll -a ../_meta/
total 352
drwxr-xr-x 20 scdf staff 640 28 Jan 16:05 .
drwxr-xr-x 56 scdf staff 1792 28 Jan 14:16 ..
-rw-r--r--@ 1 scdf staff 6148 20 Jul 2017 .DS_Store
-rw-r--r--@ 1 scdf staff 742 23 Dec 16:35 a text file
-rw-r--r--@ 1 scdf staff 1097 24 Jan 12:09 aaa.md
-rw-r--r--@ 1 scdf staff 6978 25 Sep 05:13 bbb.md
-rw-r--r--@ 1 scdf staff 11476 29 Jan 09:08 ccc.md
-rw-r--r--@ 1 scdf staff 4910 4 Oct 21:55 ddd.md
-rw-r--r--@ 1 scdf staff 871 23 Dec 16:35 a text file
-rw-r--r--@ 1 scdf staff 2490 1 Feb 13:58 eee.md
-rw-r--r--@ 1 scdf staff 6095 5 Feb 19:49 eee.todo
-rw-r--r--@ 1 scdf staff 4626 25 Sep 05:13 fff.md
-rw-r--r--@ 1 scdf staff 4571 29 Sep 2017 ggg.todo
-rw-r--r--@ 1 scdf staff 633 22 Feb 2018 hhh.todo
-rw-r--r-- 1 scdf staff 51919 5 Feb 21:07 iii.todo
-rw-r--r--@ 1 scdf staff 20754 29 Jan 13:45 jjj.todo
-rw-r--r--@ 1 scdf staff 303 7 Sep 2017 one singular js file.js
-rw-r--r--@ 1 scdf staff 3056 1 Feb 13:58 kkk.todo
-rw-r--r-- 1 scdf staff 5456 1 Feb 13:58 lll.todo
-rw-r--r--@ 1 scdf staff 1325 8 Nov 15:21 mmm.todo
$ cat ../_meta/* | wc -l
1760
Itās unclear to me, especially after Iāve banned markdown and todoās from indexing, what itās doing exactly. Here is my exclude:
"index_exclude_patterns":
[
"*.log",
"*.class",
"node_modules",
"*.md",
"*.todo"
],