Open rtek1000 opened 8 months ago
@rtek1000
I'm trying to understand what's the reason to make such an issue relevant.
If you need to have this data files compiled into your firmware I advice you put them in separate .h
files and include them, but ignore them as they're not even human readable/editable files.
You're certainly not editing PNGs in the Arduino IDE
Also... respect to you if you're able to decode base64 💪🏼
@rtek1000 I'm trying to understand what's the reason to make such an issue relevant. If you need to have this data files compiled into your firmware I advice you put them in separate
.h
files and include them, but ignore them as they're not even human readable/editable files. You're certainly not editing PNGs in the Arduino IDEAlso... respect to you if you're able to decode base64 💪🏼
I really don't think it's relevant, as it is very common for Arduino IDE users to use other text editors, usually Notepad++. But it would be interesting to see if VS Code can display beyond this limit, as it is becoming a clone, and it may be interesting to continue on this path, as long as it can offer better performance.
The idea of putting it in an h file is adequate. As for decoding, as you can see, it is an image that the browser requests when opening the page, called favicon.ico.
<link id="favicon" rel="shortcut icon"
A favicon is a small image displayed next to the page title in the browser tab.
I used Base64 in a project, but it was a Kazuki Ota library, I just made the header to operate in C, due to the project being started in C on the STM32CubeIDE, and it's not secure either, just unreadable. Looking at the source code, it doesn't seem to be very complicated, here's an explanation, in case anyone is curious:
The Base64 decode algorithm converts plain text into original data. Technically, it can be said that it converts six-bit bytes into eight-bit bytes.
https://base64.guru/learn/base64-algorithm/decode
For example, "Hello" becomes "SGVsbG8="
Thank you.
Expected behavior
- See lines longer than 10k characters.
As a workaround, you can use the editor.wordWrap
advanced settings. Set it to "on"
:
{
"editor.wordWrap": "on"
}
Or use the Alt+Z (⌥+Z on macOS) keybinding.
https://github.com/arduino/arduino-ide/assets/111981763/2cc4e75b-8655-434f-a791-20776b19f409
You can also use the View: Toggle Word Wrap
command from the Command Palette to switch between the four modes.
You can also use the
View: Toggle Word Wrap
command from the Command Palette to switch between the four modes.
In VS Code a button appears "Show more 10.4KB".
There are 7588 open issues: https://github.com/microsoft/vscode/issues
9762
for today.
I wonder which project having faster issues acceleration. But for me they both looks doomed.
Describe the problem
Cannot see lines longer than 10k characters, in the case of a simple favicon, it is not possible to see the end of the line, although the cursor column counter continues to be incremented.
It may be easier for the user to use an external editor with text wrapping.
To reproduce
20630 characters:
Expected behavior
Arduino IDE version
2.3.2
Operating system
Linux
Operating system version
Xubuntu 22.04.3 LTS
Additional context
No response
Issue checklist