Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML editing cannot navigate open JavaScript and CSS external file declaration references #1430

Open
lyh061619 opened this issue Dec 15, 2023 · 3 comments

Comments

@lyh061619
Copy link

lyh061619 commented Dec 15, 2023

Problem description

When editing an HTML page, the current editor is unable to open methods and element declarations in externally referenced JavaScript and CSS files, which is very inconvenient for locating problem operations.

Problem Solving

I hope the HTML editor supports direct opening and navigation to specific styles or JS methods declared in external files through mouse click (shortcut key) styles and JS methods

@mickaelistria
Copy link
Contributor

The navigation support in HTML is provided by the html-language-serveer, which is the same as what's used in VSCode. Please check whether this feature works in VSCode, and if it does report back here; if it doesn't, then please report the issue to VSCode so Wild Web Developer can leverage the feature once it's addressed upstream.

@lyh061619
Copy link
Author

lyh061619 commented Dec 15, 2023

The navigation support in HTML is provided by the html-language-serveer, which is the same as what's used in VSCode. Please check whether this feature works in VSCode, and if it does report back here; if it doesn't, then please report the issue to VSCode so Wild Web Developer can leverage the feature once it's addressed upstream.

Sorry, maybe my description of this issue is not clear enough. My idea is to directly locate the specific location of the external file where the style is located and declare it by clicking on the shortcut key with the mouse in the editor. Currently, HTML editing in the IDE has weak support for this feature and does not support it. It is inconvenient and the experience is not good to find CSS styles that can only be found through global search when editing HTML positioning

@lyh061619 lyh061619 changed the title Editing HTML supports opening JavaScript and CSS declarations HTML editing cannot navigate open JavaScript and CSS external file declaration references Dec 15, 2023
@lyh061619
Copy link
Author

I think this feature proposal is not from the Wildweb Developer module issues, it may be from the platform editor proposal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants