Flow.Launcher
Flow.Launcher copied to clipboard
Add setting to select all query text on window reopen
-
SettingsPaneGeneralViewModel.cs
- Add
SelectAllQueryOnReopenproperty - Bind the new property to the settings in the constructor
- Add
-
MainWindow.xaml.cs
- Update
OnLoadedmethod to select all query text if the new setting is enabled - Add
SelectAllQueryTextmethod to handle selecting all query text
- Update
-
MainWindow.xaml
- Bind
QueryTextBoxto the new setting to select all query text when the window is reopened
- Bind
-
SettingWindow.xaml.cs
- Initialize the new checkbox based on the settings
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.
| :x: Errors | Count |
|---|---|
| :x: forbidden-pattern | 26 |
| :x: ignored-expect-variant | 1 |
| :warning: non-alpha-in-dictionary | 19 |
See :x: Event descriptions for more information.
Forbidden patterns :no_good: (1)
In order to address this, you could change the content to not match the forbidden patterns (comments before forbidden patterns may help explain why they're forbidden), add patterns for acceptable instances, or adjust the forbidden patterns themselves.
These forbidden patterns matched content:
s.b. workaround(s)
\bwork[- ]arounds?\b
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txtfile matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^refers to the file's path from the root of the repository, so^README\.md$would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txtfile.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@1208nn Sorry for the late response. Is there a reason that this is a draft pr?
@1208nn Sorry for the late response. Is there a reason that this is a draft pr?
I'm sorry that I have no touch to those devices that can run VS, so this PR isn't finished as you can see and untested.
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.
| :x: Errors | Count |
|---|---|
| :x: forbidden-pattern | 26 |
| :x: ignored-expect-variant | 1 |
| :warning: non-alpha-in-dictionary | 19 |
See :x: Event descriptions for more information.
Forbidden patterns :no_good: (1)
In order to address this, you could change the content to not match the forbidden patterns (comments before forbidden patterns may help explain why they're forbidden), add patterns for acceptable instances, or adjust the forbidden patterns themselves.
These forbidden patterns matched content:
s.b. workaround(s)
\bwork[- ]arounds?\b
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txtfile matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^refers to the file's path from the root of the repository, so^README\.md$would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txtfile.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.
| :x: Errors | Count |
|---|---|
| :x: forbidden-pattern | 26 |
| :warning: ignored-expect-variant | 1 |
| :warning: non-alpha-in-dictionary | 19 |
See :x: Event descriptions for more information.
Using only_check_changed_files is incompatible with expect.txt.
To accept the items listed, you should add them to allow.txt.
Forbidden patterns :no_good: (1)
In order to address this, you could change the content to not match the forbidden patterns (comments before forbidden patterns may help explain why they're forbidden), add patterns for acceptable instances, or adjust the forbidden patterns themselves.
These forbidden patterns matched content:
s.b. workaround(s)
\bwork[- ]arounds?\b
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txtfile matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^refers to the file's path from the root of the repository, so^README\.md$would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txtfile.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.
| :x: Errors | Count |
|---|---|
| :x: forbidden-pattern | 26 |
| :warning: ignored-expect-variant | 1 |
| :warning: non-alpha-in-dictionary | 19 |
See :x: Event descriptions for more information.
Using only_check_changed_files is incompatible with expect.txt.
To accept the items listed, you should add them to allow.txt.
Forbidden patterns :no_good: (1)
In order to address this, you could change the content to not match the forbidden patterns (comments before forbidden patterns may help explain why they're forbidden), add patterns for acceptable instances, or adjust the forbidden patterns themselves.
These forbidden patterns matched content:
s.b. workaround(s)
\bwork[- ]arounds?\b
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txtfile matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^refers to the file's path from the root of the repository, so^README\.md$would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txtfile.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
@1208nn Hi, I think FL already provides this feature and please check Last Query Style.
If you want to select all text when window is reopened, you can use Select Last Query. And you do not want to do that, you can use Preserve Last Query.
Closed.
Oh, sorry.
I think I didn't make it clear.
for example (see #2945)
bm github
Select github
@Jack251970
Hmm, you mean just select part of query text
Why do we need that?
@check-spelling-bot Report
:red_circle: Please review
See the :open_file_folder: files view, the :scroll:action log, or :memo: job summary for details.
| :x: Errors and Warnings | Count |
|---|---|
| :x: forbidden-pattern | 24 |
| :warning: non-alpha-in-dictionary | 13 |
See :x: Event descriptions for more information.
Forbidden patterns :no_good: (1)
In order to address this, you could change the content to not match the forbidden patterns (comments before forbidden patterns may help explain why they're forbidden), add patterns for acceptable instances, or adjust the forbidden patterns themselves.
These forbidden patterns matched content:
s.b. workaround(s)
\bwork[- ]arounds?\b
If the flagged items are :exploding_head: false positives
If items relate to a ...
-
binary file (or some other file you wouldn't want to check at all).
Please add a file path to the
excludes.txtfile matching the containing file.File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
^refers to the file's path from the root of the repository, so^README\.md$would exclude README.md (on whichever branch you're using). -
well-formed pattern.
If you can write a pattern that would match it, try adding it to the
patterns.txtfile.Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.
Note that patterns can't match multiline strings.
Isn't this something that can be done with a custom query hotkey? It seems pointless to create it.