This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hello, For some time now commenting out with shortcut is not working in .css files. Just nothing happens. If I comment something manually, it's highlighted correctly. Works fine in .php or .html files, among <style> tag.
Could not reproduce in 7.3dev on a randomly picked css file. I tried CTRL+/ and Ctrl+Shift+C on: - selector line - inside css rule - one-line rules (start, end, in the middle of the line) Everything works. If it is possible, please attach the CSS file, describe the position at which I should inspect the behaviour. Please also zip & attach your $userdir/config area - subfolders "Shortcuts" and "Keymaps" at least, so I can check and possibly debug your key binding setup. Thanks.
(In reply to comment #1) > Could not reproduce in 7.3dev on a randomly picked css file. I tried CTRL+/ and > Ctrl+Shift+C on: > - selector line > - inside css rule > - one-line rules (start, end, in the middle of the line) > Everything works. If it is possible, please attach the CSS file, describe the > position at which I should inspect the behaviour. Please also zip & attach your > $userdir/config area - subfolders "Shortcuts" and "Keymaps" at least, so I can > check and possibly debug your key binding setup. Thanks. I was using latest stable build from hudson http://bertram.netbeans.org:8080/job/PHP-build/ Nothing worked for me via Ctrl+Shift+C and CTRL+/ with any .css file. I've checked keymaps before but didn't change them since they were correct... With your feedback, I changed one shortcut and... it's working! I did not change my config for months, so I guess something has changed and I had simply to resave it. Thank you very much :)
And oh, to be more precise: I didn't touch toggle-comment but added shortcut ctrl+shift+/ to "Comment" (was not set), checked - it worked and others started to work again too. Then I removed just added shortcut and it works fine.
*** This bug has been marked as a duplicate of bug 218976 ***