question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VSCode Bug: Shortcut do not work properly on v1.25.0

See original GitHub issue
	{
		"key": "cmd+d",
		"command": "sftp.trans.remote",
		"when": "editorFocus"
	},

Expected Behavior

Upload current file on editor focus. Upload from sidebar menu is working fine.

Actual Behavior

Showing to select a folder (?)

Specifications

  • Version: 1.25.0-insider using workspace
  • Platform: High Sierra 10.13.5

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

7reactions
MarekLewcommented, Jul 19, 2018

Another temp solution, changer, change keybildings.js, add "args": [null]:

{
    "key": "ctrl+u",
    "command": "sftp.trans.remote",
    "when": "editorTextFocus",
    "args": [null]
},

but is bug: selectFileFallbackToConfigContext is used for sftp.trans.remote and this not have sense. Beaus from command palete: SFTP: Upload work like SFTP: Sync to Remote

Please use selectFileOnly for sftp.trans.remote

2reactions
AndisGrossteinscommented, Jul 6, 2018

@liximomo This issue is reproducible in latest public release of VSCode (1.25.0), so it is not just insider builds now. I just updated VSCode to 1.25 and I see other extensions throwing errors like TypeError: Cannot read property 'document' of undefined. vscode-sftp doesn’t log any errors even with "sftp.printDebugLog": true but those error messages might be a good pointer for you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode some shortcuts not working properly - Stack Overflow
Press "cmd+shift+p" to open command palette · Type "Preferences: Open Keyboard Shortcuts" and hit enter · Press "option+cmd+k" to start recording ...
Read more >
Some Ctrl+Alt+ shortcuts no longer work when AltGr+ is pressed
I have several shortcuts defined using Ctrl+Alt+. The ones that have a vowel no longer execute the shortcut, but instead insert an accented ......
Read more >
Visual Studio Code Key Bindings
The Keyboard Shortcuts editor has a context menu command Show Same Keybindings, which will filter the keybindings based on a keyboard shortcut to...
Read more >
Getting Started with VS Code and PlatformIO IDE for ESP32 ...
Whether you already have Python installed or not, you need to run the following ... That's it, PlatformIO IDE extension was successfully added...
Read more >
One-Click VS Code in Browser from GitHub Repo ('How Did I ...
One-Click VS Code in Browser from GitHub Repo ('How Did I Not Know ... stuff right here; I'm surprised it works as well...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found