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

Tag autocomplete is not working

Open DFallas opened this issue 6 years ago • 14 comments

I added plugging and is working as expected except for the tag autocompletion is there any extra step besides adding plugin to enable it?

DFallas avatar Mar 02 '18 04:03 DFallas

Small update it does complete when I close the opening tag, but there are not suggestions shown.

DFallas avatar Mar 02 '18 04:03 DFallas

I'm having the same issue. Atom 1.25.0, atom-react 0.18.0. I have restarted Atom. I've tried div, <div,

and none of them autocomplete the closing tag. Also does not work with p, h1, etc nor with custom components. "Disable Auto Close" is set to false. I have not made changes to the JSX Complex Attribute or JSX Tag Start patterns. Thanks! [edit to add: OS X 10.12.6 ]

KMSkelton avatar Apr 01 '18 05:04 KMSkelton

Same issue here. Stopped when I updated to Atom 1.25.0 and 1.25.1.

EJ-Thomas avatar Apr 07 '18 20:04 EJ-Thomas

Same issue here. On Atom 1.25.1. Thought I was crazy.

I installed using 'apm install react'. Opened up a .js file and tried to write some JSX. Typed in <div but there's no option to autocomplete.

Went into the settings menu, and enabled "Enabled for all JavaScript files" option. Still no luck.

PhilJayN avatar Apr 09 '18 02:04 PhilJayN

I am facing the same issue with Atom 1.26.0

ghost avatar Apr 25 '18 08:04 ghost

Same thing here, not working at all on 1.26.1 💔

pincheira avatar May 04 '18 04:05 pincheira

Also facing the same issue, both on 1.22.1 and 1.27.2. Autoclose works, but no autocomplete. js and jsx files make no difference

chrismheath avatar Jun 05 '18 12:06 chrismheath

I'm in the same boat. This feature is the reason I installed this package.

Redrogue12 avatar Jul 26 '18 14:07 Redrogue12

Same here, doesn't work for javascript or jsx files, also doesn't work on HTML

dududuarte avatar Aug 06 '18 11:08 dududuarte

This is still not working.

tmeduho avatar Sep 27 '18 23:09 tmeduho

Please solve this issue asap. This is a much needed feature. It's the reason why I installed this package.

Somsubhra1 avatar Oct 18 '18 05:10 Somsubhra1

I found a work around for this issue. Just add the following your keymap.cson file of atom:

'atom-text-editor[data-grammar~="jsx"]:not([mini])':
  'tab': 'emmet:expand-abbreviation-with-tab'

Make sure you have emmet extension installed in your Atom.

Somsubhra1 avatar Nov 12 '18 18:11 Somsubhra1

Auto complete is not working for me (Atom Version 1.45.0)!

That emmet workaround doesn't work either.

SamSverko avatar Mar 24 '20 16:03 SamSverko

Still not working

the-eigengrau avatar Apr 02 '20 17:04 the-eigengrau