Hello,
in the past I liked to work with NPP in combination with VSC.
In the meantie Arduino code editor has been improved a lot.
But I still miss Bookmarks and documents how to use.
What is your question? Bookmarks are a part of internet browsers, how does that relate to an IDE
I mean , how to use bookmarks in code editor in the Arduino IDE 2.xx
Hi @student901. Arduino IDE 2.x is built on the open source Eclipse Theia IDE framework. Theia is based on VS Code. Just like VS Code, Arduino IDE 2.x doesn't have any built-"bookmark" feature.
Theia supports VS Code extensions. This means that it is possible to add additional capabilities to Arduino IDE 2.x by installing VS Code extensions.
This means that, just like VS Code, it is possible to add a "bookmark" capability to Arduino IDE by installing the extension that adds that capability. The most popular of these extensions is "Bookmarks":
Please note that the Arduino company only provides support for the stock Arduino IDE. We do not provide support for problems encountered when using additional VS Code extensions with Arduino IDE, so this is very much an "at your own risk" sort of thing. However, it does appear to work fine from a quick test.
If you have used VS Code, you will be used to installing extensions via the manager in the application. Arduino IDE 2.x does not have that capability, so the extension installation process is different.
- If Arduino IDE is running, select File > Quit from the Arduino IDE menus.
All Arduino IDE windows will close. - Click the following link to open the extension's Visual Studio Marketplace page in your web browser:
Bookmarks - Visual Studio Marketplace - Click the "Download Extension" link on the right side of the page.
A file download will start. - Wait for the download to finish.
- Create a folder named
plugins
under Arduino IDE's configuration folder:- Windows:
(whereC:\Users\<username>\.arduinoIDE\
<username>
is your Windows username) - Linux:
(where/home/<username>/.arduinoIDE/
<username>
is your Linux username)
The
.arduinoIDE
folder may be hidden by default in your file manager and terminal. - macOS:
(where/Users/<username>/.arduinoIDE/
<username>
is your macOS username)
The
.arduinoIDE
folder is hidden by default. You can make it visible by pressing the Command+Shift+. keyboard shortcut.
- Windows:
- Copy the downloaded file to the
plugins
folder you created.
(e.g.,C:\Users\<username>\.arduinoIDE\plugins\alefragnani.Bookmarks-13.5.0.vsix
).
After starting Arduino IDE, you will find that it has the bookmarking features provided by the "Bookmarks" extension. They can be used just the same as in VS Code.
I followed the instructions until I was supposed to download the file with the link at the right. There is no link, but there is an "install" button. It informed me that I do not have VS Code installed so it couldn't function. I then clicked on repositories and downloaded the zip. It has several files and folders but doesn't contain the file name pasted in above. Any suggestions?
Hi @NICHOLAS_K. Unfortunately since the time I wrote those instructions Microsoft removed the download links from the Visual Studio Marketplace extension pages.
Fortunately in this case the extension is also listed in the alternative Open VSX Registry, and a download link is present in the extension pages on that site.
Here are the updated instructions:
- If Arduino IDE is running, select File > Quit from the Arduino IDE menus.
All Arduino IDE windows will close. - Click the following link to open the extension's Open VSX Registry page in your web browser:
Open VSX Registry - Click the "DOWNLOAD" link on the right side of the page.
A file download will start. - Wait for the download to finish.
- Create a folder named
plugins
under Arduino IDE's configuration folder:- Windows:
(whereC:\Users\<username>\.arduinoIDE\
<username>
is your Windows username) - Linux:
(where/home/<username>/.arduinoIDE/
<username>
is your Linux username)
The
.arduinoIDE
folder may be hidden by default in your file manager and terminal. - macOS:
(where/Users/<username>/.arduinoIDE/
<username>
is your macOS username)
The
.arduinoIDE
folder is hidden by default. You can make it visible by pressing the Command+Shift+. keyboard shortcut.
- Windows:
- Copy the downloaded file to the
plugins
folder you created.
(e.g.,C:\Users\<username>\.arduinoIDE\plugins\alefragnani.Bookmarks-13.5.0.vsix
).
After starting Arduino IDE, you will find that it has the bookmarking features provided by the "Bookmarks" extension. They can be used just the same as in VS Code.