Search option missing in right-click menu, and code editor format

myEsp369
Posts: 2
Joined: Wed Sep 04, 2024 12:56 am

Search option missing in right-click menu, and code editor format

Postby myEsp369 » Wed Sep 04, 2024 1:15 am

Hi all,
Couldn't find relevant answer in the forum so I would like to ask questions below:
a. I installed ESP-IDF IDE v3.0.0, it is excellent but I found there is no "search text" option in right click menu. How can I get it back in V3?
Current V3 looking: (img link: https://ibb.co/y8jvd6M)
Image
Search text option in V2 IDE: (img link: https://ibb.co/nr7YXcQ)
Image

b. I don't need too much information about variant/function structure information, how can I turn it off? (img link: https://ibb.co/qCxz15c)
Image

Thanks for help!

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Search option missing in right-click menu, and code editor format

Postby ESP_kondalkolipaka » Wed Sep 11, 2024 8:56 am

Hello,

The “search text” option in the right-click menu is currently unavailable in the LSP-based C/C++ Editor. We will look into this. However, you can use the toolbar menu “Search > Text > Workspace” as a workaround.

Regarding disabling inlayHints in the editor, you can add the following configuration option to the .clangd file located in your project root.

C

Code: Select all

ompileFlags:
  CompilationDatabase: build
  Remove: 
    - -m*
    - -f*

InlayHints:
  Enabled: No

myEsp369
Posts: 2
Joined: Wed Sep 04, 2024 12:56 am

Re: Search option missing in right-click menu, and code editor format

Postby myEsp369 » Mon Sep 16, 2024 11:51 pm

ESP_kondalkolipaka wrote:
Wed Sep 11, 2024 8:56 am
Hello,

The “search text” option in the right-click menu is currently unavailable in the LSP-based C/C++ Editor. We will look into this. However, you can use the toolbar menu “Search > Text > Workspace” as a workaround.

Regarding disabling inlayHints in the editor, you can add the following configuration option to the .clangd file located in your project root.

C

Code: Select all

ompileFlags:
  CompilationDatabase: build
  Remove: 
    - -m*
    - -f*

InlayHints:
  Enabled: No
Thanks a lot ESP_kondalkolipaka. With your suggestion, I can turn off Inlay hint, and it looks cleaner now.
For search function, I added shortcut key to use search feature rather than moving mouse to click button in toolbar. And yes, if ESP IDE could add this option back to right-click menu, that would be appreciated.

Thanks for your help and time again.

Who is online

Users browsing this forum: No registered users and 33 guests