Intellisene for javascript code in cshtml file

Posted by: dellos1987 on 5 October 2021, 1:50 pm EST

  • Posted 5 October 2021, 1:50 pm EST

    I added .ts files as suggested in this link below

    But it just adds C# code intellisene, not Javascript.

    I m using VS 2019 Version 16.10.3.

    How can I fix this case?
  • Replied 6 October 2021, 9:16 pm EST


    We are not able to replicate the issue at our end. Could you please check if you have provided the references correctly? You may also try creating a project using C1Template as it would automatically add the required references.

    If the issue persists, please provide a sample replicating the issue, so that we may debug it and reply accordingly.

    Dushyant Sharma
  • Replied 7 October 2021, 12:26 pm EST


    I tried with C1Template too, but Javascript Intellisene not working.

    Here is the C1Template I tried.
  • Replied 7 October 2021, 12:34 pm EST

    Here is the template I tried.

    You should change the File name to "" and "".
  • Replied 8 October 2021, 12:07 am EST


    We tried renaming the sample you shared, but the fies are corrupted. Could you please provide a fresh sample, so that we could debug the issue and reply accordingly.

    Dushyant Sharma
  • Replied 20 October 2021, 7:15 pm EST


    I fixed this issue by installing TypeScript into project.

    For those who face this issue in the future search for how to install TypeScript use npm if your project does not show Intellisence.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels