Skip to content

editor.action.clipboardCutAction doesn't seem work. #376

Closed

Description

@RyanK1m
  • code-server version: 1.408-vsc1.32.0
  • OS Version: Linux 4.12.8-2-ARCH #⁠1 SMP PREEMPT Fri Aug 18 14:08:02 UTC 2017 x86_64 GNU/Linux

Description

editor.action.clipboardCutAction action doesn't seem work at all.
editor.action.clipboardCutAction should cut entire line without selection.
current behavior or Ctrl+x is cut selected part.

Steps to Reproduce

  1. press Ctrl + x on any line without selection

  2. nothing happen.

  3. press Ctrl + shift + p (open up command pallet)

  4. choose Cut

  5. nothing happens.

Activity

  1. nol166 commented on Mar 29, 2019

    @nol166
    Contributor

    @RyanK1m Does an error pop up in the bottom right when you try to cut (either method)?

  2. RyanK1m commented on Mar 29, 2019

    @RyanK1m
    Author

    @nol166 No, there's no error pop up for either method.

  3. RyanK1m commented on Apr 4, 2019

    @RyanK1m
    Author

    @nol166 found the solution

    I removed these changes, and cut the entire line without selection works properly.
    I thinks this line overwrite behavior.

    scripts/vscode.patch file

    @@ -364 +363 @@ export class Configuration extends CommonEditorConfiguration {
    -			emptySelectionClipboard: browser.isWebKit || browser.isFirefox,
    +			emptySelectionClipboard: false, // browser.isWebKit || browser.isFirefox,
    
  4. code-asher commented on Sep 18, 2019

    @code-asher
    Member

    That part of the patch has been removed in v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions