Arduino IDE 2.2.1 offline usage (Is there an IDE 2.x forum category?)

I apologise if I am in the wrong place here. I found this IDE 1.x category, but did not see one for IDE 2.x. So if this is the wrong place, please point me in the right direction.

In any case, here is my issue with IDE 2.2.1.

I should very well be able to use Arduinoe IDE (2.2.1; or, for that matter, any other version) offline, without seeing any errors or even "dire warnings" about being offline (like "cloud sketch" actions and updates not being available - even though I never use the "cloud" with Arduino development; or being unable to "update indexes" - whatever these "index" thingies are). Here is a list of warnings I got recently when starting the IDE offline:

IDEOfflineWarnings

If I want to add/update board packages or libraries, I could do so later after connecting online.

How do I configure Arduino IDE 2.2.1 for offline use without getting those messages? It should either come "out of the box" to enable offline usage, or there should be a configuration option checkbox when installing the software, to always work offline unless I want to manually update something.

Thanks,
DuinoSoar

You don't seem to have looked very hard but in any case I have moved your topic to the IDE 2.x category

Ah. I was looking under "Using Arduino" (where there IS a "IDE 1.x" sub-category) instead of "Software". There seems to be a consistent inconsistency here. :slight_smile: Thanks for moving it.

Not "seems", there is.

The original idea for the location of IDE2.x was that it was a software under development. Once it was officially released it should have been moved.

Proposals have been made and partially implemented (IDE1.x was originally called "Installation and Troubleshooting"). But the remainder is a bit stuck for some reason.

Hi @DuinoSoar

You can disable the automatic display of these, and all other notifications in the Arduino IDE advanced settings. I'll provide instructions:

  1. Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
    A menu will appear on the editor toolbar:
    image
  2. Select the "Preferences: Open Settings (UI)" command from the menu.
    You can scroll down through the list of commands to find it or type the name in the field.
    A "Preferences" tab will open in the Arduino IDE main panel.
  3. Type workbench.silentNotifications in the "Search Settings" field of the "Preferences" tab.
  4. Check the box under the "Workbench: Silent Notifications" setting.
  5. Close the Preferences tab by clicking its X icon.

After that change, notifications will no longer pop up. They are still available on demand from the IDE's "Notification Center". The presence of notifications in the notification center will be indicated by a number on the :bell: icon on the right side of the IDE's status bar. You can access the "Notification Center" by clicking at icon.

Thank you, @ptillisch, but that does not sound quite like what I am looking for.

From what you wrote it looks like the notification badge (showing number of notification messages in the bell icon) will still show up for the "no-connection" errors and warnings, so it will still "make me look". (I cannot test this right now because I am not at my home PC that has the 2.2.1 IDE installed). As well, I do not really want to disable all legitimate notifications in general, just the ones about being offline.

As I wrote before, anyone should be able to use the IDE while offline, and there should be no error or warning issued at all, for using IDE in this way.

It may, perhaps, be a good thing to make this (the suppression of these specific notifications) configurable (i.e. in Preferences) so that users who normally want to be sure they are connected will receive the messages; but being online should never be an absolute requirement that will issue errors and warnings if offline.

Better yet, don't make it a preference; just issue the warnings/errors only when a user does something in the IDE that requires the internet connection (like software, board or library updates). (So, maybe a preference to enable/disable automatic updates of software, boards and libraries?)

Jut my two Canuck loonies worth.

Best regards, DuinoSoar.

That is correct. I understand what you are looking for, but it doesn't exist at this time. I offered a suggestion of something that is available right now that might have been useful to you even if not perfect.

You are welcome to submit a formal feature request for the addition of such a configuration setting to the Arduino IDE developers. You can learn how to do that from this document:

https://github.com/arduino/arduino-ide/blob/main/docs/contributor-guide/issues.md#issue-report-guide

Better yet, you can submit a proposal for the changes that are required to the IDE codebase to make it happen:

https://github.com/arduino/arduino-ide/blob/main/docs/contributor-guide/pull-requests.md#pull-request-guide

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.