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

Doesn't seem to be working. #29

Open
GuskiS opened this issue Mar 13, 2018 · 8 comments
Open

Doesn't seem to be working. #29

GuskiS opened this issue Mar 13, 2018 · 8 comments
Labels
Milestone

Comments

@GuskiS
Copy link

GuskiS commented Mar 13, 2018

Version 1.21.0
Commit 9a199d77c82fcb82f39c68bb33c614af01c111ba
Date 2018-03-07T11:01:43.521Z
Shell 1.7.9
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

Ubuntu 16.04

When I try ctrl+alt+left/right nothing happens. Same thing when adding shift

@dan-blanchard
Copy link

I'm using 1.21.1 on macOS 10.13.3 and seeing the same issue.

@mlewand
Copy link
Owner

mlewand commented Mar 27, 2018

Thanks for the report, I'll try my best to give it a look during the weekend to understand what is going on. I'll keep you guys updated.

@mrmanicou
Copy link

The issue really is that there exists a default shortcut for the command workbench.action.moveEditorToNextGroup ctrl+alt+[right | left]arrow

it seems that once your extension is installed it conflicts with this command

@dan-blanchard
Copy link

Even when I disable those conflicting shortcuts, it still doesn't work.

@mlewand
Copy link
Owner

mlewand commented Mar 28, 2018

Guys just FYI if any of you is willing to have a look at it before I can, I'm open for PRs - just so you know 🙂

@mlewand mlewand added this to the 1.0.2 milestone Mar 28, 2018
@mlewand mlewand added the bug label Mar 28, 2018
@eclemens
Copy link

My custom key bindings removing the default from vscode and replacing them with this extension. I modified the extension key bindings to use when": "editorTextFocus"

[
    { "key": "ctrl+alt+backspace",   "command": "-selectPartOfWord.backspace"                             },
    { "key": "ctrl+alt+backspace",   "command": "selectPartOfWord.backspace",   "when": "editorTextFocus" },
    { "key": "ctrl+alt+delete",      "command": "-selectPartOfWord.delete"                                },
    { "key": "ctrl+alt+delete",      "command": "selectPartOfWord.delete",      "when": "editorTextFocus" },
    { "key": "ctrl+alt+left",        "command": "-cursorWordStartLeft",         "when": "editorTextFocus" },
    { "key": "ctrl+alt+left",        "command": "-selectPartOfWord.moveLeft"                              },
    { "key": "ctrl+alt+left",        "command": "selectPartOfWord.moveLeft",    "when": "editorTextFocus" },
    { "key": "ctrl+alt+right",       "command": "-cursorWordEndRight",          "when": "editorTextFocus" },
    { "key": "ctrl+alt+right",       "command": "-selectPartOfWord.moveRight"                             },
    { "key": "ctrl+alt+right",       "command": "selectPartOfWord.moveRight",   "when": "editorTextFocus" },
    { "key": "ctrl+shift+alt+left",  "command": "-cursorWordStartLeftSelect",   "when": "editorTextFocus" },
    { "key": "ctrl+shift+alt+left",  "command": "-selectPartOfWord.selectLeft"                            },
    { "key": "ctrl+shift+alt+left",  "command": "selectPartOfWord.selectLeft",  "when": "editorTextFocus" },
    { "key": "ctrl+shift+alt+right", "command": "-cursorWordEndRightSelect",    "when": "editorTextFocus" },
    { "key": "ctrl+shift+alt+right", "command": "-selectPartOfWord.selectRight"                           },
    { "key": "ctrl+shift+alt+right", "command": "selectPartOfWord.selectRight", "when": "editorTextFocus" },
]

@lukaszpolowczyk
Copy link

Extension still not working.

Wersja: 1.58.0
Commit: 2d23c42a936db1c7b3b06f918cde29561cc47cd6
Data: 2021-07-08T06:53:55.113Z
Electron: 12.0.13
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: 8.9.255.25-electron.0
OS: Linux x64 5.10.7-arch1-1

@eclemens
Copy link

@lukaszpolowczyk I don't know if this extension is still required. VS Code has similar build-in commands. These are my keyboard shorcuts, adapt it to your liking.

  // Sub-Word Navigation
  {
    "key": "ctrl+alt+right",
    "command": "cursorWordPartRight",
    "when": "textInputFocus"
  },
  {
    "key": "ctrl+shift+alt+right",
    "command": "cursorWordPartRightSelect",
    "when": "textInputFocus"
  },
  {
    "key": "ctrl+alt+left",
    "command": "cursorWordPartStartLeft",
    "when": "textInputFocus"
  },
  {
    "key": "ctrl+shift+alt+left",
    "command": "cursorWordPartStartLeftSelect",
    "when": "textInputFocus"
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants