Open vsfeedback opened 3 years ago
Possibly related to #39808
This issue occurs when "
(an unterminated string) is typed before a #Region
directive in a Visual Basic source file. Since VB strings can span multiple lines, the unterminated string absorbs the #Region
line and removes the block structure tags from it, causing the region to expand. The solution for this is to carry forward block structure tags which overlap with string literals if/when the last string literal in the VB document is not terminated.
All the more reason to suspend syntax checking until the caret is moved to another line, as VBE used to do. Reduces IDE crashes, too.
This issue has been moved from a ticket on Developer Community.
[severity:It's more difficult to complete my work] (1) The opening of all subsequent #regions via "... does not solve the problem. Whenever the sum of all " " " is odd, all subsequent regions are opened. (2) Keyboard improvement suggestion (Tools\Options\Keyboard): Make non-visible characters of a character set visible via AltGr Key. This would make the SourceCode more understandable, even through your own fonts. (3) Would it be possible to implement the mentioned improvements in VS 2017 ?
Original Comments
Feedback Bot on 7/15/2021, 00:43 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Original Solutions
(no solutions)