Giter Club home page Giter Club logo

Comments (5)

borislit avatar borislit commented on May 14, 2024

Hey @acostaf.
What's your OS?
How big is your repository?
Can you post the origin file and the snippet you are trying to extract?

from vscode-glean.

acostaf avatar acostaf commented on May 14, 2024

@borislit

Forgot about it, I am running Windows 7, vscode 1.28.2 node: 8.9.3.

Project is around 40 to 50 files, the file is a js file and I am trying to extract the inner div

      <div className="row">
        <div className="col">
          {chat && chat.messages && (
            <ul className="list-unstyled text-black-50 small">
              {chat.messages.map((item ) => (
                <li key={item.when.toString()}>{`${getChatTime(item.when)} ${item.userId}:${item.text}`} </li>
              ))}
            </ul>
          )}
        </div>

from vscode-glean.

borislit avatar borislit commented on May 14, 2024

@acostaf can you please post the whole file? Is the repo public?

from vscode-glean.

wunnle avatar wunnle commented on May 14, 2024

Hey @borislit, interestingly Extract Component never worked for me either (installed glean a last week). I just created a new react app to test, but its still broken.

Basically it creates and empty file but never moves the code. I'm using Win 10, vscode 1.28.2

--

Edit: Just played with it a bit more. Looks like its -mostly- not working when it needs to create a new file, but works all the time when I create the file for Glean.

from vscode-glean.

borislit avatar borislit commented on May 14, 2024

@wunnle are u selected the absolute path or the relative? there is a known issue when you select an absolute path.
Can you describe steps to reproduce the issue, the origin code and the snippet you are trying to extract?

from vscode-glean.

Related Issues (20)

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.