locked
Is Automatic Brace Completion working correctly in JavaScript RRS feed

  • Question

  • Hi,

    I am a CMU graduate. Recently, I want to use VS to write my javascript program.

    One thing really confuses me: is the Automatic Brace Completion really working?

    It seems so according to the following youtube link:

                    https://www.youtube.com/watch?v=ct4oW_cRMMw

                    at 02:10, and

                    https://www.youtube.com/watch?v=S5pXzp2PePw

                    at 17:50

    but I definitely check the box in Option->TextEditor->JavaScript->Automatic Brace Completion

    I installed node js tool: NTVS.1.2.RC.VS.2015

    Using VS 2015 Community under windows 10

    Test this feature by creating an Express application and a blank javascript visual

    And I have reinstalled the VS already... and this feature in C++ and C# are working

    is there any trick I missed ?

    I really really really need this feature. This is the only flaw so far to develop a javascript program in VS

    Please help


    • Edited by Jackal Sin Friday, July 15, 2016 5:34 AM add more info
    Friday, July 15, 2016 5:33 AM

Answers

  • Hi Jackal Sin,

    >> "One thing really confuses me: is the Automatic Brace Completion really working?"

    According to your description, it seems that Automatic Brace Completion setting doesn’t work on your side, I create a simple demo with VS 2015 Community under windows 10, it works fine on my side.

    I would suggest that you could reset JavaScript settings and check if it works for you. tools -> Import and Export Settings -> Next -> Next -> choose JavaScript -> Finish.

    If the issue is still existing. Please Starts Visual Studio in safe mode and check if it works.

    https://msdn.microsoft.com/en-us/library/ms241278.aspx

    Best regards,
    Li Wang


    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.

    • Marked as answer by DotNet Wang Monday, August 1, 2016 1:45 AM
    Wednesday, July 20, 2016 6:50 AM