ViperIDE
ViperIDE copied to clipboard
[Bug] Minify Tool automatically converts f-strings to normal strings
Describe the bug
When using the minify tool to save disk space, the tool renders the f in front of an f-string as an extra character, thus converting the f-string into a normal string.
Setup
- MicroPython board: RPi Pico 2W with RP2350
- MicroPython version: v1.25.0-preview.49.g0625f07ad.dirty
- OS version: ChromeOS 141.0.7390.134
- Browser: Chrome 141.0.7390.134 (Official Build) (64-bit)
- Connection type: USB, BLE
To Reproduce Steps to reproduce the behavior:
- Type in some f-strings.
- Enter the tools tab, then hit 'Minify'.
- You will notice that the the f in front of the string is gone.
Expected behavior The minify tool was expected to keep the f-strings, yet it converted them to normal strings, making patching hard, especially if you have a LOT of strings that need placeholders.
Screenshots