Visual-Studio-2010 – Visual Studio Folding Shortcuts “Can’t use”

I am confused. When I left home, the usual shortcuts worked yesterday. Today I started the computer, opened the project, and wanted to crash into the aspx file before writing a line of code Definition. It does not work, the status bar displays a message

The key combination (Ctrl+M, Ctrl+O) is bound to the command ( Collapse
to definitions) which is not currently available

I am in normal editing mode, not debugging. The same combination works for .cs files, but processing of .aspx files has stopped. I found a post on the Internet about having the same problem when updating to a new plugin version, but I didn’t mention the plugin. I tried to change into design view and back, but it didn’t change anything.

< p>How do I get my overview?

When all outline areas in the file have been collapsed to the definition, this command will be printed. For example, If you execute the command “Fold to Definition” twice, you will always receive this message for the second time. If you execute Expand All Definitions when all areas in the file are expanded, the same thing will happen. One of the following things happened 1.

>The language service did not report any outline areas in the file. In C#, this will always happen if the following options are not selected:

Tools →Options…→Text editor→C#→Advanced→Enter the outline mode when opening the file.
>Execute the Edit.StopOutlining command (Edit→Outline→StopOutlining, or press Ctrl M,P).
>In the file All areas of are collapsed.
>You have found a bug in the IDE, and you should report the bug to Microsoft Connect.

I am confused. When When I left home, the usual shortcuts worked yesterday. Today I started the computer, opened the project, and before writing a line of code, wanted to crash to the definition in the aspx file. It didn’t work and the status bar showed the message

< /p>

The key combination (Ctrl+M, Ctrl+O) is bound to the command (Collapse
to definitions) which is not currently available

I am in normal editing mode, not debugging. The same combination works for .cs files, but processing of .aspx files has stopped. I found on the Internet about the same problem when updating to a new plugin version But I didn’t mention plugins. I tried to change into design view and back, but it didn’t change anything.

How do I get my overview?

When all the outline areas in the file have been collapsed to the definition, this command will be printed. For example, if the command “fold to definition” is executed twice, then This message will always be received for the second time. If expand all definitions are executed when all areas in the file are expanded, the same happens. One of the following things happened.

>The language service does not report any outline area in the file. In C#, this will always happen if the following options are not selected:

Tools→Options…→Text Editor→C#→Advanced→ Enter the outline mode when opening the file.
>Execute the Edit.StopOutlining command (Edit→Outline→StopOutlining, or press Ctrl M, P).
>All areas in the file have been collapsed.
>You A bug has been found in the IDE and you should report the bug to Microsoft Connect.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1956 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.