Comments (10)
query.Search should return query without any action keyword, and raw should return with action keyword if exists. This is intentional. Sorry not 100% clear on what you are asking, are you asking why they don't include a space at the end?
from flow.launcher.
yeah they don't include white spaces
from flow.launcher.
Is it possible to know if query contains spaces at the end?
from flow.launcher.
Unfortunately no, we never came across a scenario where whitespaces were needed to be kept for a plugin. What's your use case?
from flow.launcher.
I see it before in some alfred workspaces. it's used frequently if user types space show available commands if not use default one.
In my case, with the Notion plugin I wanna implement a similar scenario. i split query by char !
then i wanna check if what after !
mark is whitespace show available properties names else use first index and start recording the page name. this gonna be more faster.
The current behavior after split by exclamation mark show property names after user select one show pages. I prefer to skip step one if no spaces, i hope if could explain my point.
from flow.launcher.
Yeah that makes sense.
I thought both search and rawquery only trim the whitespaces at the start of the query string?
from flow.launcher.
I thought this too, technically turns out it's trimming the end as well, i tried Search and RawQuery and SearchTerm also and they all return trimmed string. and i couldn't figure why it is trimmed.
from flow.launcher.
I thought I fixed this in a PR sometime ago. 🤔
Edit: #1121
from flow.launcher.
Please double check it, I used this plugin to check whether is contain spaces or not.
Release link
https://github.com/AminSallah/Flow.Launcher.Plugin.whitespaces/releases/download/v1.0.0/Flow.Launcher.Plugin.whitespaces.zip
Action keyword s
from flow.launcher.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh
from flow.launcher.
Related Issues (20)
- BUG: Explorer Plugin - Unable to open custom Files App (third party file explorer) HOT 3
- BUG: All Text is jagged HOT 5
- Set default fallback option when pressing key combinations on result. HOT 3
- The ability to re-queue last queries. HOT 2
- BUG: Flow Launcher won't show up HOT 6
- BUG: Launched programs have old environment variables HOT 3
- Preview usage HOT 1
- Non-rounded (rectangle) search bar corners HOT 2
- BUG: Unhandled exception after setting Explorer > Customize Action Keywords > Path Search
- Crash after wake up from power save HOT 2
- BUG: System.UriFormatException: Invalid URI HOT 1
- Difficulty accessing plugin settings programmatically with Python HOT 2
- BUG: System.UnauthorizedAccessException HOT 2
- Can't set hotkey to "Win + Space" HOT 3
- way too long startup time HOT 1
- Browser bookmark HOT 1
- BUG: Error on launch HOT 2
- Flow launcher got an error
- hide Uninstallers filters options in Programs Plugin
- WebView/Live search plugin HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flow.launcher.