How to force Comments for .js files? RRS feed

  • Question

  • Hi,

    I want a solution to force developers to comments on Javascript methods.base on this thread,I could force developers to comments on C# codes in all around the project, excepts .js files.

    please help me on this.thanks.

    Thanks. Bahar Ghadami Web Developer And Technical expert

    Wednesday, July 9, 2014 1:08 PM


  • Hi,

    Visual Studio does not provide built-in method to force comments for js code.

    Actually your requirement is about code specification, I agree Cece Dong suggest you to do a company policy to force the developers to do it. Also you can try to consult ASP.NET forum: http://forums.asp.net/   to see whether ASP.NET experts can provide you some solutions.

    Of cause you could submit this feature request:


    The Visual Studio product team is listening to user voice there. You can send your ideas/suggestions there and people can vote.

    Thanks for your understanding.

    Best regards,

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Ioana Vasilescu Friday, July 11, 2014 8:37 PM
    • Marked as answer by Amanda Zhu Wednesday, July 16, 2014 10:04 AM
    Friday, July 11, 2014 3:44 AM