Comments (5)
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.
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.
@acostaf can you please post the whole file? Is the repo public?
from vscode-glean.
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.
@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)
- Can't find this extension in VS Code HOT 4
- Cannot read property `tsAction` of undefined
- Extreme Latency & High Profile Usage HOT 3
- npm install command not working after cloning repo
- Extract to arrow function by default? HOT 1
- Settings: Extract to jsx file instead of tsx
- React Native error: [BABEL] unknown: Preset /* your preset */ requires a filename to be set when babel is called directly. HOT 1
- Extension issue
- Extension issue
- No props validation for Typescript users?
- Extension issue HOT 1
- useEffect refactoring suggestion is overzealous
- When converting from class to function components, useCallback doesn't convert the parameters
- Publish plugin to openVSX
- Prettier cannot run on save HOT 1
- "You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a Identifier node without passing scope and parentPath." Error when converting class to functional component.
- This experimental syntax requires enabling the parser plugin: 'nullishCoalescingOperator' (6:77) HOT 1
- Using Extract Component to File in Client component in NextJS13 breaks it
- Takes too long to save files HOT 1
- Incorrect type. Expected one of string in setting.json
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-glean.