liuderchi / ide-html

:atom: Atom-IDE for HTML, Go Template, Mustache and other Templates
https://atom.io/packages/ide-html
MIT License
20 stars 5 forks source link

ide doesn't support jsdoc #11

Open fooloomanzoo opened 6 years ago

fooloomanzoo commented 6 years ago

image

liuderchi commented 6 years ago

@fooloomanzoo is this javascript file? Javascript grammar is out of the scope of ide-html.

fooloomanzoo commented 6 years ago

@liuderchi It's javascript in a script tag. Wouldn't that be very common for html-files?

liuderchi commented 6 years ago

@fooloomanzoo What are the behaviors you expect of atom ide ui when opening html containing inline javascript script?

fooloomanzoo commented 6 years ago

@liuderchi That you can see the given doc definitions and can jump to the declaration of the functions. Would be possible for this ide to forward inline scripts to the javascript ide?

liuderchi commented 6 years ago

@fooloomanzoo It would be possible but the core html parsing functionality lies in vscode-html-server. Now I cannot create a new issue in that repo. Perhaps there are other ways to propose such enhancement to vscode team.