Code Monkey home page Code Monkey logo

react-extract.nvim's Introduction

Hi ๐Ÿ‘‹, I'm Lukas

An experienced Frontend developer who loves to vim

napmn

ย 

  • ๐ŸŒฑ Constantly expanding and deepening my knowledge about web development.
  • ๐Ÿ”ญ Passionate about optimizing the dev workflow.
  • ๐Ÿ‘ฏ Seeking collaboration on React / Django packages and Neovim plugins.

ย 


Connect with me

react-extract.nvim's People

Contributors

napmn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

react-extract.nvim's Issues

Extract component to current file

Three strategies of placement:

  1. end of file
  2. right above current component (maybe skip type definition if it's above current component?)
  3. right below current component

(2. and 3. only with treesitter)

Does not work

This plugin does not work. Is this an abandoned project because that's what it seems like .

Support extracting text objects

First off, cool plugin!

It'd be even cooler if you provided a mapping / a function to work in operator mode with text objects!

Error when attempting extraction of JSX: attempt to get length of local 'properties' (a nil value)

Perhaps I am misusing what this is about but I was hoping to take a piece of JSX and extract it to a component in a new file.

I am using NvChad.

I have tsserver setup:

image

My configuration is the default configuration:

image

I selected some extractable JSX using "V" and hit "<leader>re" and then was asked for a filename and input: "thingbobfoo.tsx" then was greeted with an error:

image

A new empty buffer is opened with the filename but there is nothing in there and the original buffer has not been changed at all.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.