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

How do I get autocomplete and auto close to work?

Open flynfish opened this issue 10 years ago • 32 comments

I've never been able to get autocomplete to show up and work properly. I'm using the latest version...

Is it possible there is a conflict with some other package preventing it from working? I'm not sure what other information to provide to help get to the bottom of it not working.

flynfish avatar Jul 08 '15 21:07 flynfish

+1

mnlfischer avatar Jul 13 '15 20:07 mnlfischer

Have you selected the JSX grammar on the bottom right corner?

screenshot 2015-07-14 13 17 35

orktes avatar Jul 14 '15 10:07 orktes

Yes the JSX grammar is selected.

flynfish avatar Jul 30 '15 18:07 flynfish

For me autocomplete works but there is no dropdown with list of hints... Atom version: 1.0.11 Atom-react version: 0.12.6

thisninja avatar Sep 09 '15 22:09 thisninja

Same here...autocomplete is not working.

seb-bizeul avatar Sep 21 '15 19:09 seb-bizeul

Same here

hilfor avatar Sep 30 '15 12:09 hilfor

Same here

nantokaworks avatar Oct 08 '15 09:10 nantokaworks

Same here

Jonatthu avatar Nov 04 '15 07:11 Jonatthu

+1

minfawang avatar Nov 04 '15 08:11 minfawang

+1

adekbadek avatar Nov 17 '15 21:11 adekbadek

+1

artivilla avatar Feb 07 '16 06:02 artivilla

+1

linker-err0r avatar Apr 07 '16 02:04 linker-err0r

+1

rad182 avatar Apr 21 '16 11:04 rad182

+1

matttti avatar May 17 '16 10:05 matttti

+1

ShaneMckenna23 avatar May 20 '16 16:05 ShaneMckenna23

+1

vkbrad avatar Jun 08 '16 23:06 vkbrad

+1

KimSarabia avatar Jun 15 '16 03:06 KimSarabia

+1

guillefix avatar Jul 09 '16 14:07 guillefix

It's working now. Btw, I was trying to auto-close tag with tab, and that's wrong. You need to type and then it auto-closes. Also check in the atom-react settings, you can make snippets work for all js files.

guillefix avatar Jul 09 '16 14:07 guillefix

Doesn't work for me either. Could it possibly be conflicting with another package?

WillLuce avatar Jul 17 '16 03:07 WillLuce

Not working for me too.

pkishorez avatar Jul 24 '16 10:07 pkishorez

Can't get it to work either

trekinbami avatar Aug 04 '16 21:08 trekinbami

same here

pswami avatar Aug 06 '16 06:08 pswami

+1 (Fresh install of Atom and this plugin)

mattiassamskar avatar Aug 10 '16 08:08 mattiassamskar

Had the same issue. Updating to 0.16.0 and restarting Atom fixed the problem for me.

aaronkor avatar Aug 16 '16 04:08 aaronkor

+1. It's like the most important feature for me. Does it make sense to reinstall Atom?

SimileDude avatar Feb 15 '17 22:02 SimileDude

same here, on latest version also

Sandeep3005 avatar May 07 '17 02:05 Sandeep3005

Work for me, you should type and then it auto-close. Not using enter, or tab, or other Just type <div> and then it will auto-close <div></div>

Thanks it's really helpful

akanura avatar May 08 '17 22:05 akanura

i had the same issue then renamed by files with extension .jsx and it works great.

this issue is dupe of https://github.com/orktes/atom-react/issues/189

benjaminhoffman avatar Aug 14 '17 00:08 benjaminhoffman

+1

eyar avatar Dec 27 '17 13:12 eyar

not working for me

Xiaochi-Li avatar Feb 06 '18 01:02 Xiaochi-Li

I use these solution by @alteredtastes, and it works perfectly.

  1. uninstall the Language-Javascript-JSX package if it is installed.
  2. rm -rf ~/.atom/packages/react
  3. rm -rf ~/.atom/.apm/react
  4. apm install react
  5. restart atom
  6. ensure that Javascript (JSX) is the grammar selected for the file.

fadlykayo avatar Sep 30 '18 09:09 fadlykayo