Code completion broken in WebStorm
See original GitHub issueBug report
Describe the bug
Code completion is broken in WebStorm.
To reproduce
- Create a minimal component:
import { Link as ChakraLink } from '@chakra-ui/core';
import React from 'react';
export interface LinkProps {
isActive: boolean;
to: string;
children: string;
}
export function Link(props: LinkProps) {
const { isActive, to, children } = props;
return <ChakraLink>{children}</ChakraLink>;
}
- Position cursor after
ChakraLink
but before>
- Hit ctrl-space to trigger autocomplete
- Result:
Minimal reproduction
Minimal repro: https://codesandbox.io/s/peaceful-euler-s3p8n?file=/src/Link.tsx
Expected behavior
IDE offers completion, like VSCode does:
System information
- OS: Win 10
- Browser (if applies): Firefox
- Version of @chakra-ui/core: 1.0.0-rc.5
- Version of Node.js: 12.18.1
- WebStorm: 2020.2.3
- TypeScript: 3.9.7
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Code completion | WebStorm Documentation - JetBrains
If code completion doesn't work, this may be due to one of the following reasons: ... Code completion popup might not appear automatically...
Read more >IntelliJ: Code completion not working - no suggestions
Go to File->Power Save Mode and disable it - it is off. · Go to Preferences->Editor->Code Completion and check Autopopup code completion -...
Read more >Code Completion not working – IDEs Support (IntelliJ Platform)
Hello,. I am building a plugin with Code Completion. The objective is to suggest blocks of code when the user type text.
Read more >Code completion | IntelliJ IDEA Documentation - JetBrains
Basic code completion helps you complete the names of classes, methods, fields, ... Code completion is available for custom file types.
Read more >After update to 2022.2 code completion broken. There are no ...
I did Invalidate caches..(with all checkboxes), Repair IDE, reopen project and restart Windows. I prayed and crossed my fingers, but even that did...
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
Hola,
The exact same thing happens to me with Webstorm. So far, I’ve tried :
Neither solution worked for me.
So, I’ve opened an Issue on Webstorm Youtrack :
https://youtrack.jetbrains.com/issue/WEB-48085
Thank You,
@frysztak @dohomi @JohannesKlauss and others. In the latest release for WebStorm and other JetBrains IDEs, it’s finally fixed! 2021.1 and onwards 😃