Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

189
Vistas
How to get hint for JS functions in HTML-Tags?

I searched for many hours for a solution and found nothing. So, I hope you can help me.

I using the latest version of Visual Studio Code (1.61.0) for Linux: In Atom or WebStorm was it possible, to type in the script tags of a HTML file the first letters of a function or writing the name of an object with a dot and the IDE opens a tool tip to show the possible functions in other JS files. But this don't work in VS Code. Also it is not possible to go to a function source via CTRL + Click. If I go with my mouse over the in HTML written function call, the tool tip displays "any".

My installed extensions (which have maybe influence with the problem):

  • HTML CSS Support
  • JavaScript and TypeScript Nightly
  • Visual Studio IntelliCode

Here are the files and a Screenshot of the "any" dialog. I hope someone knows a solution. Thank you!

index.html:

<script src="./js/hello.js">
    document.getElementById("display-div").innerHTML = helloWorld();
</script>

js/hello.js:

function getMessage() {
    return "Hi there...";
}

enter image description here

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda