mattcasters opened a new pull request, #7491:
URL: https://github.com/apache/hop/pull/7491

   ## Summary
   
   - Extends project/global search beyond pipelines (`.hpl`), workflows 
(`.hwf`), and metadata so registered explorer file types (text, SQL, JSON, XML, 
logs, …) are searched as well.
   - Adds `IHopFileType.CAPABILITY_SEARCH` and `createSearchable(...)` so file 
types can opt into discovery without opening a UI tab; handlers get a default 
that delegates (text handlers use the open editor buffer).
   - Rewrites `ProjectSearchablesIterator` to walk project files via 
`HopFileTypeRegistry` instead of hardcoding extensions, with `ensureLoaded()` 
for hop-search CLI.
   - Adds `TextFileContent` + searchable + analyser (line-level matches) and 
treats open text files correctly in the Open search section.
   
   Closes #7292
   
   ## Test plan
   
   - [x] Unit tests: `HopGuiSearchHelperTest`, 
`TextFileContentSearchableAnalyserTest`
   - [x] `./mvnw -pl ui,plugins/misc/projects -am test` (affected modules)
   - [ ] Manual: open a project with `.hpl`, `.hwf`, `.sql`, `.json`, `.txt`; 
Search Everywhere finds content in text/SQL as well as pipelines
   - [ ] Manual: open a text tab with a unique string; hit appears under the 
Open section
   - [ ] Optional: `hop search` against a project still finds 
pipelines/workflows and text when file types load


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to