When importing "styled-components" VSCode IntelliSense will fall into infinite loading
See original GitHub issueWhen importing “styled-components”, VSCode IntelliSense will fall into infinite load, the language server seems to have crashed, I tried either 4.2.0 and 4.1.3, but it didn’t get better.
import React, { Component } from "react";
import styled from "styled-components";
const Title = styled.h1`
font-size: 1.5em;
text-align: center;
color: palevioletred;
`;
class App extends Component {
render() {
return <Title>Hello World!</Title>;
}
}
export default App;
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:12 (3 by maintainers)
Top Results From Across the Web
Intellisense not working · Issue #347 · styled-components ...
I expect the intellisense to tell me that an height css property ... a code importing another styled component like this, intellisense fails ......
Read more >How To Fix Visual Studio Code IntelliSense Loading Infinitely
Fixing Visual Studio Code IntelliSense Loading Infinitely If it doesn't work straightaway, you might need restarting your VS Code editor.
Read more >VS Code issue with styled-components : r/vscode - Reddit
Is anyone having problems when importing 'styled-components' into any JS file? For some reason VS Code stops working for me—in the sense ...
Read more >Intellisense not working with styled components extension ...
The auto-complete function is not working. Here is my code. LoginStyle.js import styled from "styled-components" export const Container = styled ...
Read more >vscode-styled-components - Visual Studio Marketplace
Syntax highlighting and IntelliSense for styled-components. ... made to work with styled so make sure your default import is styled and nothing else....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ouweiya problem with vscode version
1.33.0
, I just revert back with1.32.3
. As of now, it’s working fine.@cbdeveloper i am using latest now without any issue.