question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Code completion broken in WebStorm

See original GitHub issue

Bug report

Describe the bug

Code completion is broken in WebStorm.

To reproduce

  1. 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>;
}
  1. Position cursor after ChakraLink but before >
  2. Hit ctrl-space to trigger autocomplete
  3. Result: image

Minimal reproduction

Minimal repro: https://codesandbox.io/s/peaceful-euler-s3p8n?file=/src/Link.tsx

Expected behavior

IDE offers completion, like VSCode does: image

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:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

6reactions
Lulololucommented, Oct 31, 2020

Hola,

The exact same thing happens to me with Webstorm. So far, I’ve tried :

  • Deleting Node Modules and package-lock.json - Invalidate Cache and Restart ;
  • Installing Webstorm EAP 2020.3.

Neither solution worked for me.

So, I’ve opened an Issue on Webstorm Youtrack :

https://youtrack.jetbrains.com/issue/WEB-48085

Thank You,

3reactions
RIP21commented, Apr 8, 2021

@frysztak @dohomi @JohannesKlauss and others. In the latest release for WebStorm and other JetBrains IDEs, it’s finally fixed! 2021.1 and onwards 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found