Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated code added at cursor instead of end of file, visual basic #37738

Open
kendrahavens opened this issue Aug 5, 2019 · 1 comment
Open
Labels
Area-IDE Feature Request Need Design Review The end user experience design needs to be reviewed and approved.
Milestone

Comments

@kendrahavens
Copy link
Contributor

Version Used:
Visual Studio 2019 Version 16.3 Preview 1

Steps to Reproduce:

  • In Visual Basic winforms projects you can generate the code for control events by selecting them from the right-hand navbar. (Note: I do not believe this option is available in C#)
    image

Expected Behavior:

  • Add code where cursor is in the document.

Actual Behavior:

  • It adds the selected event control to the file at the bottom.
    image

Related undesired behavior when Regions are present:
#37339

Suggestion

holding shift or Alt key while selecting the event from the drop down, or an option

@jinujoseph jinujoseph added this to the Backlog milestone Aug 6, 2019
@jinujoseph jinujoseph added the Need Design Review The end user experience design needs to be reviewed and approved. label Aug 6, 2019
@jinujoseph jinujoseph added this to In Queue in IDE: Design review via automation Aug 6, 2019
@sharwell sharwell moved this from In Queue to Next meeting in IDE: Design review Aug 12, 2019
@sharwell sharwell moved this from Next meeting to Need Update in IDE: Design review Aug 12, 2019
@ryzngard
Copy link
Contributor

From Design Review: Current behavior is expected. Associating navbar actions with current cursor location is disassociated action, believed to be bad design. It's possible this could be solved with better placement of generated code, but not specifically tied to cursor. Needs a proposal to follow up.

@ryzngard ryzngard moved this from Need Update to Need Proposal in IDE: Design review Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Feature Request Need Design Review The end user experience design needs to be reviewed and approved.
Projects
Status: Need Proposal
IDE: Design review
  
Need Proposal
Development

No branches or pull requests

3 participants