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

[folding] select line with folding should include folded range #51232

Closed
fab1o opened this issue Jun 6, 2018 · 3 comments
Closed

[folding] select line with folding should include folded range #51232

fab1o opened this issue Jun 6, 2018 · 3 comments
Assignees
Labels
editor-folding Editor code folding issues
Milestone

Comments

@fab1o
Copy link

fab1o commented Jun 6, 2018

  • VSCode Version: 1.24.0-insider
  • OS Version: MacOS

Steps to Reproduce:

  1. create a region in javascript //# region hey ..... //#endregion
  2. close the region
  3. Select the region and ctrl+c
  4. Paste the code

It should paste the entire code in the region like Visual Studio does with C#, but instead it only pastes the region comment

Does this issue occur when all extensions are disabled?: Yes

@vscodebot vscodebot bot added the insiders label Jun 6, 2018
@vscodebot
Copy link

vscodebot bot commented Jun 6, 2018

@fab1o
Copy link
Author

fab1o commented Jun 6, 2018

Same in Windows

@aeschli
Copy link
Contributor

aeschli commented Jun 6, 2018

To select the folded ranges you have to select up to the next line.

@aeschli aeschli changed the title Copying and pasting regions - does not work as it should select line with folding should include folded range Jun 6, 2018
@aeschli aeschli changed the title select line with folding should include folded range [folding] select line with folding should include folded range Jun 6, 2018
@aeschli aeschli self-assigned this Jun 6, 2018
@aeschli aeschli added this to the Backlog milestone Jun 6, 2018
@aeschli aeschli added the editor-folding Editor code folding issues label Jun 6, 2018
@vscodebot vscodebot bot removed the insiders label Jun 7, 2018
@fab1o fab1o closed this as completed Jun 8, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
editor-folding Editor code folding issues
Projects
None yet
Development

No branches or pull requests

2 participants