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

It doesn’t work ...

Open googol7 opened this issue 8 years ago • 4 comments

It's a great idea but for me it doesn’t work and I can’t figure out why not.

I’m on:

Atom 1.13.0 x64 on macOS Sierra 10.12.2 https://atom.io/packages/react 0.16.2 https://atom.io/packages/atom-react-autocomplete 0.1.10

.importjs.json contains

{
    "lookupPaths": [
        "view-components/src/component"
    ]
}

completions.json contains for example:

{
  "components": {
    "battery-level.jsx": {
      "attributes": [
        "percentage"
      ],
      "props": {
        "percentage": {
          "type": {
            "name": "number"
          },
          "required": false,
          "description": "",
          "defaultValue": {
            "value": "100",
            "computed": false
          }
        }
      }
    },
    ...

package.json contains

{
  "scripts": {
    "generate": "rc-autocomplete"

and the command npm run generate works

Atom was restarted after the installation of the package but the atom-react-autocomplete neither autocompletes the names of the components nor the properties of the components.

It would be nice if atom-react-autocomplete had some debugging options or if it was a bit more verbose on why it wouldn’t work.

googol7 avatar Jan 11 '17 17:01 googol7

Im running in to same issues would be nice to figure what we are doing wrong, @DavidWells Any idea ? :)

Nopzen avatar May 18 '17 12:05 Nopzen

This may or may not help you. I initially couldn't get it to work as well. I did the following and it works.

  • Ensure that the language for the file is Babel ES6 Javascript (that's what I saw from his youtube)
  • Restart and/or View --> Developer --> Reload Window

Hope it helps

piti118 avatar Jun 04 '17 18:06 piti118

Same problem with me, just cant get it to autocomplete after following all the steps ... Atom 1.19.5 on Ubuntu 16.04

rohan-paul avatar Oct 09 '17 18:10 rohan-paul

You may check if the following settings are enabled on the autocomplete-plus package: screen shot 2018-05-05 at 21 50 08

Then restart Atom.

tujoworker avatar May 05 '18 19:05 tujoworker