Eclipse: search text in documentation pane - eclipse

Is there a way to search for text in the documentation pane of Eclipse?
E.g. see the attached screenshot showing some Android SDK documentation:
and see this screenshot showing the Search menu:
I can't see how you can do a search. And Cmd F doesn't seem to do anything either.

This is basically a web browser pane. Sadly it is quite limited in functionality, you can't search within the view (and of course not within the documentation database instead of the currently shown document).
So the work around is to open the document in a complete, external browser. In this case it is easy to find the document (http://developer.android.com/reference/packages.html) but sometimes it might be annoying to find the URL as this limited web browser view doesn't even tell it to you or gives you a possibility to get it.
If it was about site search and not searching withing the page and if the site doesn't offer a site search (this one does) then of course you can use Google with a site:developer.android.com parameter; similar for other search engines.

Related

Documentation for DOM command in Browsers' devtools Console

Are there ways to view live documentation for DOM commands on Browsers' devtools Console? The goal is that I want a faster way than opening a new tab, checking documentation and navigating back to the console.
Note for editing: I decided to attach this image to have the question more clarified.
What I am asking about is how to view "documentation of DOM" in console.
Unfortunately, there isn't a way to view the documentation of DOM APIs directly within the Chrome or Firefox DevTools.
There are ways to improve the workflow a bit, though. E.g. in Chrome you can install an extension called MDN-Dox, which adds a toolbar button for searching within the MDN documentation.
Alternatively, you can add MDN web docs to the installed search engines. In Chrome you do that by opening the settings > Search engine > Manage search engines > Add > entering the search engine info with "https://developer.mozilla.org/en-US/search?q=%s" as URL. See https://support.google.com/chrome/answer/95426?co=GENIE.Platform%3DDesktop&hl=en for more info.
For Firefox there's also an extension called MDN Search, which adds "mdn" as keyword to search for something on MDN web docs.
You can also add the search engine manually. One way to do that is to go to https://developer.mozilla.org/en-US/ > right-click the search field > Add a Keyword for this Search > entering the info. You may also read https://support.mozilla.org/en-US/kb/add-or-remove-search-engine-firefox.

How to search through all the ajax responses in network tab in Chrome?

How to search through all the ajax responses in network tab in Chrome?
I want to do this is because it is difficult for a JavaScript developer to get to know which information is coming from which service call, especially if you are new to the project and business logic is not clear. Also, opening each service in a network tab and searching in responses of so many service calls is difficult and time consuming.
This has now been implemented on the Network tab. Whenever a search criteria is added, Chrome will offer searching through all headers and bodies.
More from offical doc,
Open the Network panel then press Command+F (Mac) or Control+F (Windows, Linux, Chrome OS) to open the new Network Search pane.
This is similar to another question this morning to search json responses. The solution is the same, star this issue this issue. Starring is triggered via the star icon in the far left area of the blue title are just under search.
Starring issues let's the developers know what people need. The more stars something has, the more likely it is to get worked on sooner.
Currently this functionality is not provided and extensions are unable to add this type of functionality since the network panel isn't extensible in this way.
In Firefox you can save all the responses as a HAR file and then search through the file in a text editor (Chrome truncates the responses).
Inspector of Microsoft Edge browser offer such feature. Useful when you need to search through traffic made by an HTTPS web site that Fiddler cannot inspect (like Facebook web site).
There doesn't seem to be a way to do this in Chrome or Firefox. My solution has been to use Fiddler, which does support it.
Edit: I believe this was working for all resources at the time of writing, but please see comments because people say it is not/no-longer working as expected.
As of Chrome version 91, if you want to search through all resources (not just AJAX/fetched resources), then you need to open DevTools and then press Ctrl+Shift+F to open a search box. If you just type into the "filter" text input then it only searches through the URLs, rather than also searching the contents.

How to include html when searching with "inspect elements"?

Ok, this seems simple but I've been scratching my head over this.
When I go to "inspect elements", and I see this (for example):
<div class="topbar">
I can use search to find "topbar", but not the whole thing (with the ">").
Is there some simple way to search for all text, including the html part, using google chrome's devtools?
A quick way to try and work around this is to use the selector, in this case .topbar when searching. It appears that currently the string selection only searches content text, not the DOM structure.
If you want to see if the search can get updated we always welcome new bug reports. The DevTools group doesn't mind feature requests through this system. Please have "DevTools" in the title so it is easy for any triager to know where to send it.

Customize basic search form and provide appropriate search results

In basic search form I have included checkboxes to detect duplicates on name & phone number.
How shall i proceed further.I have included fields on /custom/modules/Contacts/metadata/SearchFields.php and searchdefs.php.
Please help.
SugarCRM's Basic and Advanced Search field arrnagements can (and should) be configured using the Studio Tool. Log in as a System Administrator, click the Admin link in the top right corner and find the link for Studio
Within Studio, navigate to the module you're like to configure, go into Layouts, then Search, then Basic Search. The screen arrangement can be configured using drag-and-drop 'bricks' to represent the fields. All database fields for the module can be added to the Basic or Advanced search filters.
The screen can be configured using code, but I don't see why you would opt to do that. If you do, though, be sure to clear your cache using Repair and Rebuild or by enabling Developer Mode in the System Settings.

Browser Add-On/Extension and Browser Form data

Can someone point me to an article (or discuss here) that explains how an add-on/extension can read what a user has completed in a form in a browser so you can present data to them based on the search parameters?
An example would be the Sidestep extension that opens a sidebar when a user searches on an airline/travel site and presents them a Sidestep meta search based on the parameters used on the original airline/travel site.
Browser extensions are necessarily browser specific. I would look at the APIs for your target browser. Here's a thread on Firefox 3.0 extensions.
extension to what? your body?:)
If you're talking about a browser extension, then i'm pretty sure you are on the wrong way.
You could just search for forms in the current page, and based on the field names try to figure out what did the user searched for...
A js file, and an AJAX-call is all you need, and you could basically skip the ajax call also... but i generally prefer server-side processing, as the source code is more hidden this way.