Coding Cases only for selections without spaces?

I like the Coding Cases extension,very handy in source code, but cluttrrs somewhat the Popclip pop-up in situations wheetr no variable has to be case-changed.

So I was thinking, it would be great if the coding case change options only appear for selections without spaces.

I had a brief look at the source and the Coding Cases extensions uses the JS library case-anything which does different things for strings with and without spaces. But I think for the extension we would need some logic outside case-anything, to tell the extension itself to not appear for selections with spaces.

How can we do this?