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.
Currently, opening/closing tag matching simply hightlights the matching tag. Would be great if there were an option I could set so that the whole block between the opening and closing tags could be highlighted. I'd personally find that more useful, because in many cases the matching tag is not on the screen and you have to scroll to make sure there is a matching tag somewhere. Thanks!
Hi, there is shortcut CTRL+[ which place the cursor on the matching bracket. This is shortcut which works for matching tags as well. I don't known, what you mean that the block could be highlighted between the matched tags. Do you mean selected? Or you mean really highlated for better finding the matching tag. You can select a text between matching tags with shortcut CTRL+SHIFT+[.
> I don't known, what you mean that the block could be highlighted > between the matched tags. Do you mean selected? Or you mean really > highlated for better finding the matching tag. I meant highlighted. Currently, only the matching tag is highlighted (in pink by default I believe]. I'd personally like to be able to set an option so the whole block between the matching tags is highlighted (rather than just the matching tag). But as you say, using CTRL+SHIFT+[ gives me a similar result and that's good enough. Now regarding this: > there is shortcut CTRL+[ which place the cursor on the matching > bracket. This is shortcut which works for matching tags as well. I was hoping that doing CTRL+[ multiple times would allow me to toggle between the matching brackets. Currently, only the first CTRL+[ places me at the end of the matching bracket, and the subsequent ones have no effect. I think having the toggle capability would make CTRL+[ much more powerful. Should I file another RFE? (or maybe I'm just too picky :-) [Actually, after further testing it looks like the toggle behavior I mention above works for JSP tags as well as with directives, but it does not work with HTML tags (e.g. <body> ... </body>). Bug or intended behavior?] Some more testing: Toggle behavior works with: <%@page contentType="text/html;charset=UTF-8"%> does not work with: <%@page pageEncoding="UTF-8"%>
If the cursor is positioned on opening or closing tag, it would be nice to mark the block on the left side by line of suitable color instead of highlighting text inside block.
I rewrite the highliting of the matching tags and jumping using CTRL+[ and CTRL+SHIFT+[ in the right way (I hope:)). The option for highliting text between the matching tags is still valid.
Adding to the conversation, it would be better to have an option of selecting the background colour, of the current cursor block. Thanks
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss