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

Tag auto close does not work

Open lehainam-dev opened this issue 9 years ago • 22 comments

My tag autocompletion used to work, but today somehow I can't do autocompletion anymore. I think it happens when I check "Enabled for all javascript files", when I already select grammar JSX for my javascript files manually. I tried to check/uncheck "Disable auto close", reinstall package, restart atom, restart my PC (haha). It still does not work. Anyone have any ideal? It is so annoy if I have to write <div> and close it by myself.

lehainam-dev avatar Aug 10 '16 17:08 lehainam-dev

I have the same problem since upgrading to 0.16.0

aymericbouzy avatar Aug 11 '16 15:08 aymericbouzy

What version of the plugin+atom are you using?

orktes avatar Aug 12 '16 05:08 orktes

I'm using Atom 1.9.8, and atom-react 0.16.0 Since upgrading, I had this weird behaviour with react native code : screen shot 2016-08-12 at 08 08 48

However I am now unable to reproduce, so maybe I solved it. What I did is quit Atom completely and launch again.

aymericbouzy avatar Aug 12 '16 06:08 aymericbouzy

I'm using Atom v1.5.3, and atom-react 0.16.0.

lehainam-dev avatar Aug 12 '16 07:08 lehainam-dev

I have the same problem: Atom: 1.9.9 atom-react: v0.16.0

skywalkerlw avatar Aug 24 '16 23:08 skywalkerlw

Same with : Atom: 1.8.0 atom-react: v0.16.0

zazatek avatar Aug 25 '16 07:08 zazatek

Me too Atom: 1.9.9 atom-react: v0.16.0

joshuadutton avatar Aug 25 '16 21:08 joshuadutton

Me as well: Atom: 1.11.2 atom-react: v0.17

JoniWeiss avatar Oct 29 '16 20:10 JoniWeiss

Atom: 1.12.7 atom-react: 0.16.1

Yakoot avatar Dec 15 '16 21:12 Yakoot

Atom: 1.12.7 atom-react: 0.16.1

terminalqo avatar Dec 25 '16 05:12 terminalqo

Me too Atom: 1.13.0 atom-react: v0.16.0

AndyKetter avatar Jan 20 '17 05:01 AndyKetter

Atom: 1.14.3 atom-react: 0.16.2

LuckXP avatar Feb 17 '17 23:02 LuckXP

same issue on Atom: 1.15.0 atom-react: 0.16.2

gozes avatar Mar 22 '17 11:03 gozes

Same

Atom: 1.15.0 atom-react: 0.16.2

isaachinman avatar Apr 01 '17 16:04 isaachinman

I am also having this issue. Atom: 1.16.0 atom-react: 0.16.2

TimLavelle avatar Apr 27 '17 09:04 TimLavelle

The same problem. Atom 1.16.0 atom-react: 0.16.2

denkrasnov avatar May 05 '17 15:05 denkrasnov

Not sure if this relates to it, but I have two JSX options set up. image

When it's on Javascript (JSX), autoclose works. when it's on Javascript with JSX it does not.

eugyev avatar May 27 '17 14:05 eugyev

This issue is happening for me too. Atom 1.18.0 react 0.16.2

Grammar set to JavaScript (JSX)

eggsandbeer avatar Jul 15 '17 22:07 eggsandbeer

Having this issue on a fresh install: Atom 1.18.0 react 0.16.2

Greta avatar Jul 26 '17 16:07 Greta

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/80

benjaminhoffman avatar Aug 14 '17 00:08 benjaminhoffman

If anyone having this issue, just go to settings > enable for all Javascript files

theonlydaleking avatar Apr 04 '18 03:04 theonlydaleking

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