ctrl-click (go to defintion) on a web component custom element doesn't do anything

ctrl-click (go to definition) on a web component custom element doesn't do anything. I have the Polymer & web Component plugin installed. It seems Web Components support is limited. 

0
5 comments

Hello Abdu,

Could you please share a specific example, like screenshot or recording or code sample so that we could take a closer look at it? Thank you in advance!

0

Your comment system doesn't allow attachments. I was going to share a zip file..
I would like to ctrl-click on the <popup-info> to go to its class. This works in Angular and React but not in Web Components it seems.

 

 

class PopUpInfo extends HTMLElement {
constructor() {

super();
...
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Pop-up info box — web components</title>
<script src="main.js" defer></script>
</head>
<body>
<h1>Pop-up info widget - web components</h1>

<form>
<div>
<label for="cvc">Enter your CVC <popup-info img="img/alt.png" data-text="Your card validation code (CVC) is an extra security feature — it is the last 3 or 4 numbers on the back of your card."></popup-info></label>

<input type="text" id="cvc">
</div>
</form>

</body>
</html>
0

Hello Abdu,

 

Could you please share your zipped solution, you can do it via our upload service. Once you've upload the file please let me know its ID.

Thank you.

0

file id: 2021_10_10_BS7yuzJGec5PA55S

0

Hello Abdu,

Sorry for the delay in responding.

Unfortunately, there's no web components support at the moment. Here's a corresponding request - https://youtrack.jetbrains.com/issue/WEB-49361 You are welcome to comment or vote for it.

Thank you.

0

Please sign in to leave a comment.