atom-react-autocomplete
atom-react-autocomplete copied to clipboard
It doesn’t work ...
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.
Im running in to same issues would be nice to figure what we are doing wrong, @DavidWells Any idea ? :)
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
Same problem with me, just cant get it to autocomplete after following all the steps ... Atom 1.19.5 on Ubuntu 16.04
You may check if the following settings are enabled on the autocomplete-plus package:
Then restart Atom.