atom-react-autocomplete icon indicating copy to clipboard operation
atom-react-autocomplete copied to clipboard

Not matching `hasTagScope`

Open whatupdave opened this issue 8 years ago • 0 comments

I haven't dug into how this works too much but it's not matching me in a jsx file when I type:

  renderThing() {
    return <MyComp[CURSOR_HERE]
  }

I can see the check at:

  hasTagScope: function(scopes) {
    return scopes.indexOf('meta.tag.any.html') !== -1
    || scopes.indexOf('meta.tag.other.html') !== -1
    || scopes.indexOf('meta.tag.block.any.html') !== -1
    || scopes.indexOf('meta.tag.inline.any.html') !== -1
    || scopes.indexOf('meta.tag.jsx') !== -1
    || scopes.indexOf('meta.tag.structure.any.html') !== -1;
  },

but my current scopes are:

"source.js.jsx"
"meta.block.es"
"meta.block.es"
"variable.other.readwrite.js"

would this have something to do with other packages installed?

whatupdave avatar Aug 31 '16 20:08 whatupdave