Skip to content

Conversation

sajxx
Copy link
Contributor

@sajxx sajxx commented Sep 2, 2025

This PR adds the WSL File Search plugin to the Flow Launcher plugin store. It enables users to quickly search and open files within their Windows Subsystem for Linux (WSL) environment directly from Flow Launcher, leveraging the efficient fd (fdfind) tool for fast file discovery.

Key features include:

  • Fuzzy Keyword and Extension Search: Users can query files by keywords (e.g., "report") and extensions (e.g., ".py .js" or "ext:py ext:md"), with results limited to a configurable maximum (default: 20).
  • Path Handling: Displays truncated paths for readability while preserving key directory context; opens selected files in Windows Explorer or a context menu option to launch Windows Terminal in the file's directory.
  • Configuration Options: Supports user-defined WSL distro (Ubuntu or Debian), shell (zsh or bash), and max results via plugin settings.
  • Performance Optimizations: Background WSL warmup on plugin load to minimize first-search latency; timeout protection for searches to prevent hangs.
  • User-Friendly Feedback: Provides guidance when no query is entered and error handling for failed operations.

This plugin is particularly useful for developers working in hybrid Windows/WSL environments, streamlining file navigation without leaving the launcher.

@prlabeler prlabeler bot added enhancement New feature or request Plugin Submission labels Sep 2, 2025
@cibere cibere removed the enhancement New feature or request label Sep 2, 2025
cibere
cibere previously requested changes Sep 2, 2025
Copy link
Contributor

@cibere cibere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please build your plugin's dependencies in your release/publish workflow instead of pushing them directly to your repository.

@@ -0,0 +1,12 @@
{
"ID": "e4d1c3a7-b8f3-45d2-b5fa-5a3c8c0a1f41",
"Name": "WSL File Search",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The name here has to match the name in this file's name. fyi: The filename can include spaces

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

- Rename manifest file to match plugin name 'WSL File Search'

- Update download URL to use automated release artifacts

- Ensure filename follows Flow Launcher naming conventions
@sajxx
Copy link
Contributor Author

sajxx commented Sep 3, 2025

Changes Made

✅ Fixed Plugin Manifest Naming Issue

  • Renamed WSLFileSearch-e4d1c3a7-b8f3-45d2-b5fa-5a3c8c0a1f41.json to WSL File Search-e4d1c3a7-b8f3-45d2-b5fa-5a3c8c0a1f41.json
  • Filename now correctly matches the plugin name "WSL File Search" as required

✅ Resolved Dependency Management Issue

  • Updated download URL to use automated release artifacts
  • Plugin now builds dependencies in GitHub Actions workflow instead of committing them to repo

📋 Testing

  • Manifest file validates correctly
  • Plugin name matches filename
  • Download URL structure follows conventions
  • Release workflow builds dependencies automatically

This resolves both issues raised in the previous review.

@sajxx sajxx requested a review from cibere September 3, 2025 06:28
@jjw24 jjw24 enabled auto-merge September 3, 2025 10:37
Copy link
Member

@jjw24 jjw24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jjw24 jjw24 merged commit b6bcbf0 into Flow-Launcher:plugin_api_v2 Sep 3, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants