Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a portable mode #122

Open
3 tasks done
ornea opened this issue Feb 1, 2020 · 31 comments
Open
3 tasks done

Add a portable mode #122

ornea opened this issue Feb 1, 2020 · 31 comments
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@ornea
Copy link

ornea commented Feb 1, 2020

Describe the request

Allow the Arduino IDE installation and dependencies (application, preferences, platforms, sketchbook) to be stored under a single folder.

馃檪 The user can put a complete sketch development environment on a portable drive and use it on any available computer.
馃檪 The user can create a complete self-contained project environment with all project dependencies, including the IDE application itself.

Describe the current behavior

The IDE installation and dependencies are stored in multiple separate places on the user's computer:

  • Application folder (e.g., C:\Program Files\Arduino IDE\)
  • Configuration folder (e.g., C:\Users\<username>\.arduinoIDE\)
  • Data folder (e.g., C:\Users\<username>\AppData\Local\Arduino15\)
  • Sketchbook folder (e.g., C:\Users\<username>\Documents\Arduino\)

It is not possible for the user to configure the location of the "configuration folder".

It is possible to configure the location of the "data folder" (via <configuration folder>/arduino-cli.yaml), but doing so is user friendly and the configuration file is under the non-configurable "configuration folder" anyway.

馃檨 A complete sketch development environment can not be easily moved between computers.
馃檨 Complete self-contained project environments can't be created.

Arduino IDE version

58aac23

Operating system

All

Operating system version

Any

Additional context

Arduino IDE 1.x has a portable installation capability, which is enabled by creating a folder named portable under the Arduino IDE installation folder. The configuration, boards platforms, and sketchbook are then stored under that folder:

https://docs.arduino.cc/software/ide-v1/tutorials/PortableIDE

Due to system security restrictions, it is not possible for users of the macOS or Microsoft Store packages of Arduino IDE 1.x to use that feature. These deficiencies in the previous system might be considered when designing an equivalent feature for Arduino IDE 2.x

Additional reports

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest nightly build
  • My request contains all necessary details
@linxcow

This comment was marked as duplicate.

@keesdekoning

This comment was marked as duplicate.

@moelski

This comment was marked as duplicate.

@rsora rsora transferred this issue from arduino/arduino-pro-ide Mar 1, 2021
@silvanocerza silvanocerza added the type: enhancement Proposed improvement label Mar 1, 2021
@Tonymac32

This comment was marked as duplicate.

@ortegafernando

This comment was marked as duplicate.

@modtronix-com

This comment was marked as duplicate.

@tophe2019

This comment was marked as duplicate.

@per1234 per1234 added the topic: code Related to content of the project itself label Nov 1, 2021
@ubidefeo
Copy link

ubidefeo commented Nov 1, 2021

@tophe2019
thank you for your feedback.
We know that portable mode is very useful to some users, and it is in our backlog.
We do not plan to give it higher priority for now as our first goal is to release a stable IDE and later focus on more niche uses.

@modtronix-com
being able to reproduce a build will be implemented in a more efficient way once the Reproducible Build RFC goals are reached (https://github.com/arduino/tooling-rfcs/blob/main/RFCs/0003-build-profiles.md)
This will allow anyone to simply get a Sketch and make sure that everything they need to build it successfully is available to the CLI and IDE 2.0

@Meins321

This comment was marked as duplicate.

@witnessmenow

This comment was marked as duplicate.

@Lou-Menz

This comment was marked as duplicate.

@JoeLoginIsAlreadyTaken

This comment was marked as duplicate.

@simondddd

This comment was marked as duplicate.

@aidenfarley

This comment was marked as spam.

2 similar comments
@johntor

This comment was marked as spam.

@seeers

This comment was marked as spam.

@embsysblog

This comment was marked as duplicate.

@gpb01

This comment was marked as duplicate.

@OpenSourceDevelop

This comment was marked as duplicate.

@PcSpecific

This comment was marked as duplicate.

@nmaas87

This comment was marked as duplicate.

@torntrousers

This comment was marked as duplicate.

@Zedus112

This comment was marked as duplicate.

@raihei

This comment was marked as duplicate.

@ObviousInRetrospect

This comment was marked as duplicate.

@JohnboyK

This comment was marked as duplicate.

@per1234
Copy link
Contributor

per1234 commented Sep 18, 2022

Hi all. Feedback about the community's need for this missing feature is valued, but "+1" comments can generate a lot of noise for the people who watch the repository to follow the development.

Comments that add new information to the discussion are always welcome, but if you only want to express support then I suggest the use of GitHub's "Reactions" feature.

@per1234 per1234 changed the title Portable Mode is on my wish list. Would be nice to see that as an option Add a portable mode Sep 19, 2022
@torntrousers
Copy link

being able to reproduce a build will be implemented in a more efficient way once the Reproducible Build RFC goals are reached (https://github.com/arduino/tooling-rfcs/blob/main/RFCs/0003-build-profiles.md) This will allow anyone to simply get a Sketch and make sure that everything they need to build it successfully is available to the CLI and IDE 2.0

I'm not sure that the 0003-build-profiles proposal is enough to replace portable mode, as its currently written. For example, one thing I use portable mode for is fiddling with the board support packages, like source files within portable\packages\esp32.

@Kabron287

This comment was marked as duplicate.

@n0bel

This comment was marked as duplicate.

@arduino arduino locked as too heated and limited conversation to collaborators Sep 29, 2022
@kittaakos
Copy link
Contributor

Copied from #2321 (comment):

Since Theia has implemented portable mode, can it be ported to the Arduino IDE?
References: eclipse-theia/theia#12690
eclipse-theia/theia-blueprint#276

I've seen #122, but I can't comment on that one, and thought that this information could be useful for devs.


Since Theia has implemented portable mode, can it be ported to the Arduino IDE?

No, it's currently not available from the Theia Blueprint app.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests