Arduino IDE built in "Dictionary" (f12 key not working) drop down menu gone?

when 2.0.0 first came out there was way that you could hover over some stuff and the "Dictionary" would show up. or is it called the "Class"? the "Library"? im not sure entirely. that was really helpful, having that pup up window so i could visually link things together in my head. where did that go?

I've moved your topic to the dedicated IDE2.0 section of the forum.

Open advanced settings, F1 or Ctrl+Shft+P, select "Open Settings (UI)" then in the search field enter "hover", check that the Hover: Enabled check box is ticked.

???????
that is not helpful.

Hi @mlohdael. Please provide a detailed description of what you mean by "not helpful".

Were the instructions unclear? If so, we can provide you with more detailed instructions.

Or did you follow the instructions and found they did not have the expected results? If so, please provide a detailed description of what you observed that did not match your expectation.

the instructions appear to be written by someone who looking at the menus is reciting off an old way that is no longer accurate. there is no 'advanced settings' in any of the drop down menus.

when i use ctrl+P (to open what is the 'command pallet' in VSCode) in the arduinio ide, and when i type 'hover' as suggested, there is nothing. just blank. there is no "open settings (ui)" in the command pallet thing, either. i tried that. was that 'hover' feature on a 'release candidate' version or something? it used to be when you rightclicked on something in a sketch, the first thing at the top was 'Dictionary/Peek F12" and the rest of the normal right-click things like copy/paste............

hitting F12 doesnt do anything, either. it just sits there.
VSCode is too intimidating for me still and that 'hover' feature was really helping me connect things together in my head and the entire picture of what's going on in the background and i'm trying understand it better.

sorry it took me a while to get back, i actually just tested out this morning on a different computer and the "hover" feature doesnt show up, stilll, on that computer, either.

I'll provide more detailed instructions:

  1. Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
  2. Select the "Preferences: Open Settings (UI)" command from the menu.
  3. A "Preferences" tab will now open in the Arduino IDE main panel. In the "Search Settings" field, type editor.hover.enabled
  4. If the checkbox under the "Editor › Hover: Enabled" setting is unchecked, check it.
  5. Click the X icon on the "Preferences" tab to close it.

We refer to the settings that are accessible via the "Preferences: Open Settings (UI)" command as the "advanced settings", as opposed to the normal settings available via File > Preferences.

The default keyboard shortcut to open the command palette is Ctrl+Shift+P , not Ctrl+P

Are you sure you aren't thinking of "Go to definition"?

well, i sure feel stupid... i went back to the video i watched forever ago that convinced me to switch to using the ide 2.0 in the first place and the guy was using 2.0 'release candidate' 3.... so that answers that.

so i take it that 'hover' feature enabled by default? it is enabled on the video the guy made. i would think at least our menus from what i have no on my computer currently freshly downloaded against what you're saying would be more lined up... it sounds like we're looking at different software... :-/

It was the same in Arduino IDE 2.0.0-rc3:

image

Yes.

Please provide a detailed description of exactly what it is that is not aligned between what I described in my instructions and what you are observing in your Arduino IDE.

image
image

okayokay, maybe i need to work on my terminology then... seems like we're having a breakdown in communication. i didnt realize you could add screenshots or this would have helped a long time ago.... my bad.

the box with "function delay -> void Paramaters: unsigned long ms" contained within the red box i made in paint, is what i've been referring to this whole time. i guess i dont know what to call that. these are screenshots from the video i found that convinced me to switch to 2.0 instead of keep using 1.8.x was specifically thAt feature, as it helped fill in bits of info i was confused about a lot.

sorry, i didnt mean i had 'release candidate 3', i was saying that was the one in the video this guy made. sorry i that wasnt clear. i am up to version 2.0.2 myself, as i just kept updating whenever the ide would ask me to. the specific video i saw was made youtube says 11mo ago, but i watched not lot before 2.0.1 came out. i was only using 2.0.0 on my own computer for a few days, until it asked me to update. it seems to have JUST ALL THE SUDDEN disappeared, and i cannot figure it how to get it back, by explaining it to others especially when i dont know what terms to use. clearly, i dont know what i'm talking about.

i've been teaching myself and am not going to school for this or anything. it seems that i may not entirely sure it was 'f12' maybe i said that cuz i keep seeing it in the right click context-menu or something, but i dont want to start using terms now i know i may be wrong about.

sorry for the seemingly dumb question! :-[

That is understood. I call it the hover box myself as I don't know it's official name either.

Yes, he was just showing that it is the same in both 'release candidate 3' and the current versions.

f12 will take you "to the definition" which means it will go to where the variable or function that is highlighted is defined. very helpful but it not the hover box

no such thing, this forum is for beginners. :smiley:

Advanced Settings is the box that pops up when you press f1. Although it doesn't actually say it. That is what it is.

It is a very long list of settings so there is a search box at the top to make it easier to find the setting you want.

type "hover" in that search box and it should bring the correct setting up to the top. As you can see there are 2 hover settings.

That is how it is supposed to work but when I tried it just now I'm getting the opposite results that you are. when I toggle either setting it doesn't seem to change anything. the hover box still pops up even after restarting the IDE.

It is going OK for me, just very slowly. Something you need to understand is that you have created additional discussion tracks as the post has progressed. We must pursue each of these tracks. So some of our responses are about those additional tracks you created.

No hover

Unable to access the advanced settings

Missing "Dictionary/Peek F12" menu item in editor context menu

F12 keyboard shortcut has no effect


That is clear to me and has been clear to me from the start. This is called the "Hover".

I understand. We would like to help you with that, but it has been very slow going because you keep making vague responses like this:

and this:


This is incorrect. The box that pops up when you press the F1 or
Ctrl
+Shift+P(Command+Shift+P for macOS users) keyboard shortcuts is called the "Command Palette ".

What we refer to as the "Advanced Settings" is the view that opens when you run the "Preferences: Open Settings (UI) " command (which is one of the commands available from the Command Palette).

That is the expected behavior. The "Show Definition Preview Hover" and "Show Hover" commands only trigger the appearance of the hover for the code at the cursor if available, just as would happen if you moved the mouse pointer over that code and left it hovering there for a short time. These are not configuration commands and they do not make any persistent state change to Arduino IDE.

There are some hover configuration settings in the advanced settings. You can see them by doing this:

  1. Press the Ctrl+Shift+P keyboard shortcut (Command+Shift+P for macOS users) to open the "Command Palette".
  2. Select the "Preferences: Open Settings (UI)" command from the menu.
  3. A "Preferences" tab will now open in the Arduino IDE main panel. In the "Search Settings" field, type hover

Changes to those settings should be persistent.

I have been following this tread and it is challenging. There is, from what I remember and without reading all again, no mention as to what board was selected.

If no valid board has been selected, and displayed at the top, there is no "Hover" details available - the IDE does not know what it has to show.

image

bingo. this was it.
thank you for spotting that!
sorry for wearing you and every one down

i am used to seeing people give input that has nothing to do with. i dont this situation, but others, and also postings from other people. new to 'forum-ing' on here, i guess you'd say. not used to people actually trying to help

close any unnecessary open issues, or pull requests or merges or whatever they're called. you can stop the investigating into the other stuff...

i agree that it cant help you guys if it turns out i was the one who didn't know what i was talking about.

thanks everyone. i never saw that displayed anywhere, but, it makes sense, now that it was pointed out and i have since had some time to think about it more

that f1 thing is new to me......

hmm, okay.
so let ne ask then, what's the main difference between f1 and ctrl+p?
or is that too much to get into...
i see the pop-up bar that shows up at the top is noticeably different.
could you explain that in like 2 or 3 or 4 sentences for me? i would appreciate that.

First of all, please note that you are once more referring to the wrong keyboard shortcut.

For some reason, you are stuck on Ctrl+P. That is the default shortcut of the "File: Open File..." command, and completely unrelated to the discussion we had here.

The correct keyboard shortcut is Ctrl+Shift+P (note the Shift). That is the keyboard shortcut to open the Command Palette.

As for the difference between Ctrl+Shift+P and F1, there is none that I know of. They are only two alternative keyboard shortcuts that do the same thing.

I personally prefer Ctrl+Shift+P because I am used to F1 being the standard keyboard shortcut for opening application help, so I find the use of it to open Command Palette to be unintuitive. But you are free to use either keyboard shortcut according to your preferences.

Not at all. I love discussing this stuff and sharing whatever small amount of knowledge I might possess on the subject. I can get a bit frustrated when the progress of a discussion is slow, but that is because I want to help people to accomplish their goals as soon as possible.

Please provide a screenshot of this pop-up bar. Make sure the resolution of the screenshot is high enough to allow us to see all the details (the other screenshots you shared screenshots are illegible).


this is what shows up when i press ctrl+p.
clearly, this menu must not be called what i thought it was called.
i just called it that in my explination because it resembled it to me from VSCode.
i should have said "command pallet -like"...
like i said, i didnt realize you could post screen shots on here.
i dont ever dig through these forums on a regular basis, like maybe i should....

this is teaching me that my vocab isnt as on-par as it should be. somewhat humbling. sorry again for anything i said that was unclear. i realize that yeah i probably didnt do the best job explaining it in the first place. my bad. the original issue i had is resolved, tho. i really appreciate you guys writing back and forth this many times as you have. thank you!