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

Format selection Ctrl K Ctrl F doesn't work anymore #63392

Closed
albu77 opened this issue Nov 18, 2018 · 5 comments
Closed

Format selection Ctrl K Ctrl F doesn't work anymore #63392

albu77 opened this issue Nov 18, 2018 · 5 comments
Assignees
Labels
formatting Source formatter issues info-needed Issue requires more information from poster

Comments

@albu77
Copy link

albu77 commented Nov 18, 2018

Issue Type: Bug

Select a portion of code
Type Ctrl K CtrlF
The Search text box show up but no format of the selection
And there is no conflict whown for this combination

VS Code version: Code 1.29.1 (bc24f98, 2018-11-15T19:11:49.509Z)
OS version: Windows_NT ia32 6.1.7601

System Info
Item Value
CPUs Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz (4 x 2294)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_software
video_decode: unavailable_software
video_encode: enabled
webgl: enabled
webgl2: unavailable_off
Memory (System) 5.98GB (1.67GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (18)
Extension Author (truncated) Version
vscode-javascript-snippet-pack aka 0.1.5
project-manager ale 9.1.0
vscode-custom-css be5 3.0.1
css-compressor bes 0.0.2
path-intellisense chr 1.4.2
open-html-in-browser cod 0.1.21
vscode-instant-markdown dba 1.4.3
vscode-great-icons emm 2.1.44
json-tools eri 1.0.2
vscode-todo-plus fab 4.10.0
beautify Hoo 1.4.7
ftp-simple hum 0.6.8
typings-autoinstaller jvi 1.2.0
gitignore mic 1.0.1
vscode-language-pack-fr MS- 1.29.2
debugger-for-chrome msj 4.11.1
live-server-preview neg 0.1.2
flowmaker spe 1.2.0

(2 theme extensions excluded)

@vscodebot
Copy link

vscodebot bot commented Nov 18, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@cleidigh
Copy link
Contributor

@albu77

  • Have you turned off all extensions?
  • What file formats/languages exhibit this behavior, any file type?

@cleidigh cleidigh added info-needed Issue requires more information from poster formatting Source formatter issues labels Nov 19, 2018
@albu77
Copy link
Author

albu77 commented Nov 19, 2018

I've just tried with all extensions disabled: IT IS DOING SAME THING
For the fie format, .js, .html json anyone I tried.
Something strange is also that context Menu is not showing the key shortCut although the setting show good record of the key binding, as shown on images attached
bug1
bug2

@alexdima
Copy link
Member

@albu77 Most likely, there is another keybinding for Ctrl+K Ctrl+F that overrides this one.

Can you please confirm that your keybindings.json is empty and that searching for "Ctrl+K Ctrl+F" only shows Format Selection:

image

@albu77
Copy link
Author

albu77 commented Nov 20, 2018

Ok, my bad...... I'm sorry
I made an error in my keybindings.json: I forgot to add "when": "terminalFocus" in the binding of the clear terminal when I added it.
Now with this correction Everything is Ok (shortkey and contextMenu)

{
   "key": "ctrl+k",
    "command": "workbench.action.terminal.clear",
    "when": "terminalFocus"
   }

@albu77 albu77 closed this as completed Nov 20, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
formatting Source formatter issues info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

4 participants
@albu77 @alexdima @cleidigh and others