Toggle comment issue



  • Toggling comments for languages that require before and after phrases for comments doesn’t appear to work in the latest version. I work with xslt and was able to use ctrl + Q to toggle line comments before. Toggling still works for languages such as Javascript where line comments only require leading characters.

    On a side note, I’d like to see the the Toggle Line Comment work with selections on a line to only comment that piece of text. Using the Block Comment for a selection works but if the selection doesn’t span more than 1 line, I think using the Toggle Line Comment should just comment out the selection.



  • I’ve just updated to 7.3.3 and am unable to get any of the Comment Shortcut keys to work in Javascript on my Windows 10 machine. (It does work on Windows 7).



  • @Tamara-Sylte

    do the menu (main and context menu) comments work?
    Can you post your debug-info? (can be found in ? menu)

    Cheers
    Claudia



  • I am seeing this issue as well.

    Using the Ctrl+Q default shortcut or through the edit menu has the same effect on a .config file, it adds more comment blocks instead of toggling. The behavior is the same as “Single Line Comment” or Ctrl+K.

    Debug Info:
    Notepad++ v7.3.2 (32-bit)
    Build time : Feb 12 2017 - 23:15:39
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : ON
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : ComparePlugin.dll JSMinNPP.dll mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll PluginManager.dll XMLTools.dll



  • I updated to 7.3.3 and found the same issue.
    Debug info:
    Notepad++ v7.3.3 (32-bit)
    Build time : Mar 8 2017 - 03:37:37
    Path : C:\Program Files (x86)\Notepad++\notepad++.exe
    Admin mode : ON
    Local Conf mode : OFF
    OS : Windows 10 (64-bit)
    Plugins : ComparePlugin.dll JSMinNPP.dll mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll PluginManager.dll XMLTools.dll


Log in to reply