Scopes: Are they working?

I've just tried creating some new scopes, in the hope that I could use the scope-based editor colours, but I can't seem to get them working.

I started off by creating a scope which included some JDK classes, with the following scope setting:


Looking at the scope summary, this says that the scope contains 0 files, which is a little odd since I'd expect that scope to include around 10k files!

I then tried it on some third-party libraries, for example:


Once again, 0 files included. In fact, the only way I can get the scope to say that it contains any files, apart from my code-base, is to exclude them!

Am I doing something fundamentally wrong?


lib:java..* || lib:javax..*


Ah great, that answers the class inclusion question.

However, scope-based editor colours don't work if the scope is declared as a shared-scope. Maybe that's intended.


I know this is a very old thread, but this does not work for me:


It says: "Scope contains 0 of total 9,999 files"