Arduino IDE 1.8.x will open a script ino file directly from File explorer via either double click or right click and "Open with".
Can't seem to get this functionality on IDE 2.0 regardless of file associations or whatever.
This lacking functionality is being tracked here:
opened 06:10PM - 13 May 21 UTC
closed 03:39PM - 23 Feb 22 UTC
conclusion: resolved
topic: code
os: windows
type: imperfection
criticality: high
Windows 10 file explorer: If you select "Open with ... Arduino IDE" for a * .ino… file with the right mouse button, the Arduino IDE (2.0.0-beta6) opens the last processed file. That is unexpected behavior!
and here for macOS:
opened 12:39PM - 11 Jan 21 UTC
closed 03:39PM - 23 Feb 22 UTC
conclusion: resolved
topic: code
os: macos
type: imperfection
criticality: high
**Describe the bug**
On macOS it is not possible to open a file directly from t… he Finder.
This possible with the classic Arduino IDE.
On double click or right click / open with... starts the Pro IDE but not with right file
**To Reproduce**
Steps to reproduce the behavior:
1. Go to Finder
2. Open a folder with an .ino file inside
3. Double click for opening
4. IDE opens but not with the file you clicked
**Expected behavior**
It should possible to open an .ino file directly from the Finder, like on Classic IDE.
Also with a message when there is no right folder -> auto create a folder
**Desktop (please complete the following information):**
- OS: macOS 10.15.7
- Version: Alpha 0.1.3
There is some unfinished work on it here:
arduino:main
← arduino:atl-372--file-association
opened 12:19PM - 31 Mar 21 UTC
### Motivation
We want to add 2 functionalities to the ide
- associate a file … type (namely, `.ino` files)
- allow the drag and drop of a file over the icon (macOS only) and open the relevant files
### Change description
DRAFT: the following changes are just a proposal;
- file association is done via electronBuilder + `template-package.json` configuration
- files to be opened are handled in `electron-main-applicatoin.ts`
### Additional Notes
See comments in the attached [Jira Task](https://arduino.atlassian.net/browse/ATL-372)
### Reviewer checklist
* [ ] PR address a single concern.
* [ ] PR title and description are properly filled.
* [ ] History is clean, commit messages are meaningful.
system
Closed
February 21, 2022, 3:58am
3
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.