It still isn't clear to me what you are asking, so I'll go ahead with what I assume you are asking.
I assume you are asking how you can use a tool like "ESP8266 Sketch Data Upload " with Arduino IDE 2.x.
The answer is you can't. This tool is only compatible with Arduino IDE 1.x. Arduino IDE 2.x will not recognize the installation of that tool.
You can install and use Arduino IDE 1.x for the purposes of having access to tools like "ESP8266 Sketch Data Upload ". The Arduino IDE 1.x download links are listed here:
https://www.arduino.cc/en/software#legacy-ide-18x
You can have Arduino IDE 2.x and 1.x installed at the same time without any problems so you are welcome to continue to use Arduino IDE 2.x as your everyday IDE, using Arduino IDE 1.x only when you have need to use tools like "ESP8266 Sketch Data Upload " tool.
The Arduino IDE 2.x developers are aware of the need to support extending the functionality of Arduino IDE 2.x as was possible with the "Tools" system of Arduino IDE 1.x:
opened 11:42PM - 12 Feb 21 UTC
topic: code
type: imperfection
criticality: high
**Describe the solution you'd like**
I would like to propose support for extern… al tools / plugins which are compatible with Arduino IDE. Ex. https://github.com/me-no-dev/arduino-esp32fs-plugin or https://github.com/me-no-dev/EspExceptionDecoder
If it is already supported, how can I use tools in Pro IDE?
If it is not supported yet, are there any plans for implementing that?
### Describe the problem
There is no support for extending the capabilities of Arduino IDE via external tools/plugins. This is a feature parity mismatch with Arduino IDE 1.x.
### To reproduce
1. Follow the instructions to install the "Arduino Pico LittleFS Filesystem Uploader" plugin:
https://github.com/earlephilhower/arduino-pico-littlefs-plugin#installation
1. Start Arduino IDE 2.x
1. Open the **Tools** menu.
🐛 The expected "**Pico LittleFS Data Upload**" menu item is missing.
### Expected behavior
Support for extending the capabilities of Arduino IDE via external tools/plugins equivalent to the system provided by Arduino IDE 1.x.
### Arduino IDE version
#### Original report
2.0.0-beta.1
#### Last verified with
2.0.2
### Operating system
All
### Operating system version
any
### Additional context
#### Additional reports
- https://github.com/arduino/arduino-ide/issues/350
- https://github.com/arduino/arduino-ide/issues/239
- https://github.com/arduino/arduino-ide/issues/1931
- https://github.com/arduino/arduino-ide/issues/807
- https://github.com/me-no-dev/arduino-esp32fs-plugin/issues/30
- https://github.com/lorol/arduino-esp32fs-plugin/issues/8
- https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/issues/20
- https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/issues/21
- https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/issues/22
- https://github.com/earlephilhower/arduino-esp8266littlefs-plugin/issues/25
- https://github.com/me-no-dev/EspExceptionDecoder/issues/85
- https://github.com/thingsboard/thingsboard-arduino-sdk/issues/107#issuecomment-1374437622
- https://forum.arduino.cc/t/exception-decoder/1055759/1
- https://forum.arduino.cc/t/exception-decoder/1055759/4
- https://forum.arduino.cc/t/exception-9-epc1-0x40100262-epc2-0x00000000-epc3-0x00000000-excvaddr-0xc010e109-depc-0x00000000/1054425/14
- https://forum.arduino.cc/t/esp-exception-decoder-for-arduino-2-0/1050587
- https://forum.arduino.cc/t/tool-menu-esp8266-littlefs-filesystem-uploader-not-displaying/1037055
- https://forum.arduino.cc/t/esp8266-sketch-data-upload/941933
- https://forum.arduino.cc/t/tools-for-arduino-ide-2-0-beta/894962
- https://forum.arduino.cc/t/ide-2-0-and-esp32-sketch-data-upload/904160
- https://forum.arduino.cc/t/add-tools-to-arduino-ide-2-0/893213
- https://forum.arduino.cc/t/ide-2-0-beta-10-not-yet-configurable-tools-menu/892980
- https://forum.arduino.cc/t/espexceptiondecoder-cant-be-found-in-tool-directory/876547
- https://forum.arduino.cc/t/nrf5-softdevice-flashing-tool/866336
- https://forum.arduino.cc/t/arduino-2-0-beta-no-ardublock/856338
- https://forum.arduino.cc/t/tools-directory-with-esp32fs-or-esp8266fs/703461
- https://forum.arduino.cc/t/tool-to-upload-data-to-spiffs-is-missing/699986
- https://forum.arduino.cc/t/how-to-install-plugin-in-linux/1120703
- https://forum.arduino.cc/t/decoding-abort-backtrace-help/1130283
#### Related
- https://github.com/arduino/arduino-ide/pull/1893
- https://github.com/arduino/arduino-ide/issues/406
-
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [X] My report contains all necessary details
There is actually some work in progress right now with the goal of resolving that deficiency. For example:
arduino:main ← dankeboy36:set-arduino-context
opened 07:56PM - 21 May 23 UTC
### Motivation
To provide a way to implement external tools for the Arduino… IDE without modifying the IDE codebase. See #58.
This PR introduces a tiny layer of code to listen to Arduino context-related changes and set it on the VS Code `workspaceState`. Other VS Code extensions can import this new VSIX API and retrieve context information from the Arduino IDE—information such as the sketch path, FQBN of the currently selected board, etc. See https://github.com/dankeboy36/vscode-arduino-api for more details.
I have an [ongoing](https://github.com/dankeboy36/arduino-ide-esp-exception-decoder/compare/main...init) reference re-implementation of the ESP exception decoder. It works in the Arduino IDE. I did the reference implementation in Code and noticed that Theia has a few bugs, so the final implementation comes a bit later:
https://github.com/arduino/arduino-ide/assets/111981763/f26e40f0-07ad-46b9-ab15-1e9927b2468f
### Change description
### Other information
### Reviewer checklist
* [ ] PR addresses a single concern.
* [ ] The PR has no duplicates (please search among the [Pull Requests](https://github.com/arduino/arduino-ide/pulls) before creating one)
* [ ] PR title and description are properly filled.
* [ ] Docs have been added / updated (for bug fixes / features)
There is still a lot of work to do so the solutions I listed in my previous reply are what we have to work with now. But at least there is some hope of a future where tools like "ESP8266 Sketch Data Upload " can be added to Arduino IDE 2.x.
If you have a GitHub account, you can subscribe to the issues above to get notifications of any new developments related to this subject.