Can put a highlighter to mark which parentheses you forgot?
posted 1 year ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hello, good morning, that is the question, or this isnt possible? thank you!
posted 1 year ago
-
1 -
-
Number of slices to send:Optional 'thank-you' note:
-
-
Most editors, and that includes IDEs, have bracket matching as an option. That usually includes (...) and [...] and {...}, and, if you are lucky, maybe <...> too. Hover the mouse on a bracket and its partner will be highlighted. You can't mark the brackets you forgot because they aren't there, obviously. You should get a hint where you have forgotten a bracket of any sort from the compiler error. But it is only a hint and it may give the wrong location.
posted 1 year ago
-
1 -
-
Number of slices to send:Optional 'thank-you' note:
-
-
If you don't see a way to do this, it may help to know what editor or IDE you are using.
Bruno Valdeolmillos
Ranch Hand
Posts: 114
posted 1 year ago
The problem is that I already have autocomplete selected and they don't work for me.
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Campbell Ritchie wrote:Most editors, and that includes IDEs, have bracket matching as an option. That usually includes (...) and [...] and {...}, and, if you are lucky, maybe <...> too. Hover the mouse on a bracket and its partner will be highlighted. You can't mark the brackets you forgot because they aren't there, obviously. You should get a hint where you have forgotten a bracket of any sort from the compiler error. But it is only a hint and it may give the wrong location.
The problem is that I already have autocomplete selected and they don't work for me.
posted 1 year ago
-
1 -
-
Number of slices to send:Optional 'thank-you' note:
-
-
But that's typing assistance, like if you type "new Zorb(" it can automatically make that into "new Zorb()" without you having to type the closing parenthesis.
I find that a useful feature when I'm typing new code but it's a pain when I want to insert text which includes a left parenthesis -- usually I don't notice that has happened and then I have to fumble around and fix the misaligned parentheses.
Bracket matching, on the other hand, will highlight the matching right parenthesis when you click on a left parenthesis. Can be useful if you botched up the matching (see above).
Does this help? I'm not really clear on what you are looking for.
I find that a useful feature when I'm typing new code but it's a pain when I want to insert text which includes a left parenthesis -- usually I don't notice that has happened and then I have to fumble around and fix the misaligned parentheses.
Bracket matching, on the other hand, will highlight the matching right parenthesis when you click on a left parenthesis. Can be useful if you botched up the matching (see above).
Does this help? I'm not really clear on what you are looking for.
Campbell Ritchie
Marshal
Posts: 81613
593
posted 1 year ago
-
1 -
-
Number of slices to send:Optional 'thank-you' note:
-
-
I think BV is looking for bracket matching; he might find using Eclipse easier if he had the interface in his own language rather than English. I think it is in the “Text Editors” page which can be found by clicking slightly higher on the window shown on the screenshot.
| What kind of corn soldier are you? And don't say "kernel" - that's only for this tiny ad: Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |










