-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
MinifyAll not deleting spaces in JSON arrays #54
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Hi, I will check it tomorrow! Thanks for contributing |
@AdrianCarreno the result the minifier gave me is: So for me it is working perfectly. |
To try it again, please, reinstall the extension or try it in a different environment. |
I was thinking and... maybe you are minifying this json code as other language such as HTML. Make sure the file that you are minifying ends with .json or .jsonc and VSCode detects it as so at the bottom right corner. |
I tried reinstalling the extension and the problem persists. I noticed that depending on how is formatted the original string, the output will be different. |
Wow that's weird. Could u try to save the file before minifying? |
I tried again video evidence v2 It is so weird, I've been trying off-camera and nothing weird happened. I don't think this is a MinifyAll issue, and maybe it has something to do with node or VSCode. Could you try to disable all extensions to see if any other extension is interfering with MinifyAll? Thanks!!! |
All the previous test were done in my work PC. Now I'm home and tried with my personal PC and got the same result. It's a fresh install of windows (I formatted last weekend), so everything is up to date. Maybe you have something else that makes it work properly? Extension version: 2.4.9 System Info|Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2592)| |GPU Status|2d_canvas: enabledflash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: disabled_off opengl: enabled_on protected_video_decode: enabled rasterization: enabled skia_renderer: disabled_off_ok video_decode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled| |Load (avg)|undefined| |Memory (System)|15.88GB (9.77GB free)| |Process Argv|--crash-reporter-id 6c12de3b-4208-468b-ac95-c6e04023b060| |Screen Reader|no| |VM|0%| |
I will try it on windows aswell |
Issue Type: Bug
Just try to minify a number array:
And it will keep the spaces between numbers. They are not necessary for syntax, and use a lot of space. I tried formatting a GeoJSON and it didn't get to the minimal size. It's annoying to have to use another command (regex in my case) to delete the remaining spaces.
Extension version: 2.4.9
VS Code version: Code 1.50.1 (d2e414d9e4239a252d1ab117bd7067f125afd80a, 2020-10-13T15:06:15.712Z)
OS version: Windows_NT x64 10.0.18362
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: