Skip to content

Clicking a region name in CodeNav navigates to the end of the region instead of to its start #166

@Bergam64

Description

@Bergam64

Hello Samir,

I've just installed the latest version (10.5.132) and I've noticed the following problem:
when you click a region name in CodeNav, it navigates to the corresponding #endregion directive in the editor, which is not what you would expect. Instead it should navigates to the #region directive.

Note that if that #region is closed in the editor, clicking its name in CodeNav navigates to the closed region (usually a one-liner), as expected.

Currently, to navigate to the start of a #region with CodeNav, you need to:

  1. close the region (with the up arrow button),
  2. click the region name,
  3. re-open the region (with the down arrow button).

Please fix that.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions