yandeu / five-server

⚡ Development Server with Live Reload Capability. (Maintained Fork of Live Server)
https://www.npmjs.com/package/five-server
Other
165 stars 14 forks source link

Feature Request: Bidirectional Highlight Function #45

Open ImLowly opened 2 years ago

ImLowly commented 2 years ago

Describe the feature

Thanks!

yandeu commented 2 years ago

Thanks for your suggestions.

I thought about implementing this but don't know how to do it yet.

ImLowly commented 2 years ago

Well, I just started coding, but if you come into the web dev discord on a good day you can get some help from people who would use the feature.

https://discord.gg/Umn7SY4W

link expires in 7 days

yandeu commented 2 years ago

Thanks! I will try it :)

candideu commented 1 year ago

There's still quite some interest for this feature: https://github.com/yandeu/five-server/discussions/71

@yandeu Let us know what kind if help you would need 😊

yandeu commented 1 year ago

I know. I would be awesome. I just don't know where to start.

candideu commented 1 year ago

@yandeu someone in the web dev Discord suggested the following:

they'd need to inject js into the live server, which they probably have, and just have it pay attention to what elements are being hovered and do the same thing to pass that info back (Message link)

yandeu commented 1 year ago

The part of knowing what element is hovered in the browser is easy. But how to highlight the code or move the cursor in vscode?