felipeochoa / rjsx-mode

A JSX major mode for Emacs
https://github.com/felipeochoa/rjsx-mode
MIT License
641 stars 32 forks source link

Components auto-completion? #117

Closed sooqua closed 5 years ago

sooqua commented 5 years ago

Is it possible to get auto-completion for imported React components?


import Navbar from './components/layout/Navbar';
const App = () => {
  return (
    <div className="App">
      <Nav| /> << NO AUTO-COMPLETION
    </div>
  );
};
felipeochoa commented 5 years ago

That's not part of this package. You can use tern or typescript for completions. I'd suggest company mode on the emacs side