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

Formatting a specific file causes some shortcuts to stop working #651

Closed
metehan opened this issue May 18, 2020 · 3 comments
Closed

Formatting a specific file causes some shortcuts to stop working #651

metehan opened this issue May 18, 2020 · 3 comments
Labels
bug Something isn't working formatting

Comments

@metehan
Copy link

metehan commented May 18, 2020

ledger.zip

Issue Type: Bug

I can format any file without a problem but attached file can't be formatted with "Fortmat File" shortcut. After pressing ALT+SHIFT+F on this file shortcuts stops working on same workspace including CTRL-C, CTRL-V (Copy paste is still possible with command palette.)

Extension version: 2.0.101
VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz (8 x 2395)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.89GB (5.96GB free)
Process Argv D:\Dev\Spill\spill_cljs
Screen Reader no
VM 0%
@PEZ
Copy link
Collaborator

PEZ commented May 18, 2020

I can reproduce it. Very interesting. Thanks for reporting! This must be fixed.

@PEZ PEZ added bug Something isn't working formatting labels May 18, 2020
@PEZ
Copy link
Collaborator

PEZ commented May 18, 2020

Something with that file makes a regex match spin away. It might prove really tricky to fix properly, but I'll keep looking a bit at it.

One thing I've noticed is that it doesn't happen if I first format the new-record function. Which makes it all extra strange to me, but maybe it can make the file a bit ”safer” for you to work with.

@metehan
Copy link
Author

metehan commented May 21, 2020

Thank you. I am surprised that you could reproduce it I thought it's some edge case only happens on my pc. Thanks for the tip about new-record function, It's really strange

@PEZ PEZ changed the title Formatting a spesific file causes some shortcuts to stop working Formatting a specific file causes some shortcuts to stop working Jun 3, 2020
@PEZ PEZ closed this as completed in da79533 Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working formatting
Projects
None yet
Development

No branches or pull requests

2 participants