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:

javax..||java..||com.sun..||org.ietf..||org.omg..||org.w3c..||org.xml..||sun..**

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:

org.hibernate..*

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?

3 comments
Comment actions Permalink

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


0
Comment actions Permalink

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.

0
Comment actions Permalink

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

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

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

0

Please sign in to leave a comment.