Does the new Snowsight (preview app) interface provide functionality to find/replace text in the query pane?
In the current interface I can use ctrl-F and ctrl-shift-f for find and replace respectively. They don't seem to work in Snowsight. The search box in the Results pane only works with returned results.
It is possible to enable Replace functionality in Snowsight by pressing CTRL + SHIFT + H:
This and more features are discoverable under Keyboard shortcuts:
Snowsight also provides keyboard shortcuts for faster navigation and editing of worksheets. To view the list of supported keyboard shortcuts, press [CMD]+[SHIFT]+[?] (Mac) or [CTRL]+[SHIFT]+[?] (Windows).
EDIT
New Find and Replace UI:
Quick answer: This is not supported by Snowsight.
Meanwhile just search will work as expected from the browser.
If anyone stumbles on this question like me, now there's a way.
On Mac, hit CMD + Option + f.
Guess you can replace CMD w/ Ctrl and Option w/ Alt if your'e on Windows.
Related
I am learning to use React and using Visual Studio Code.
When I insert an image I write: .
I installed the extension: ES7 React/Redux/GraphQL/React-Nativesnippets and it's working with for example RFCE.
Is it possible to add an autocomplete? So for example I just need to enter img and then press control + something that it is autocompleting the whole tag? Or that a menu pops up where I can choose what I want to enter? I tried entering "img" and pressed control + space but it says "no suggestions".
Is it possible to add suggestions to the ctrl + space option?
Yes, you can get some intellisense. You need to ensure the files have the correct extension and that you have installed the correct extensions. I suggest this one:
https://marketplace.visualstudio.com/items?itemName=jawandarajbir.react-vscode-extension-pack
Yakuake (KDE drop-down terminal) would be a very convenient tool for me, except for a single mysterious key mapping: Shift+Tab
What yakuake shortcut settings says it does: Nothing
What it actually does: Switches to previous terminal split
This is unfortunate, since it drowns the mapping from my vimrc to walk backwards up the autocomplete menu.
Does anyone know of a way to remap this elusive mapping? I checked in all the other KDE shortcut settings and found nothing. After all, I have no problems in Konsole...
Steps to reproduce this mysterious behaviour:
Open yakuake
hit Ctrl+( to create a split view
hit Shift+Tab
I am on yakuake 3.0.5+, and the rest of my system can be inspected here
It turns out this was a known bug:
https://bugs.kde.org/show_bug.cgi?id=421632
It should be fixed in the next KDE bugfix release (20.08).
I try to write my very first webextension, following this tutorial. I wrote a manifest.json and added a background script as I want to provide global functionality: I want to clear the search bar once the search was performed - basically it's this, but for Firefox 57+.
My question: How can I access the search bar at all?
I found a list of available APIs, including the tabs, the menus, and so on, but no search bar...
Currently it is not possible. You might want to file a bug for it: https://bugzilla.mozilla.org/
I filed a bug request as #Smile4ever suggested, which was declined yesterday. The extension team suggested to file a feature request for what "my" extension should have done, but from the perspective of this question: It is and will not be possible to access the search bar from an extension.
For sake of completeness, here is the URL of the bug (feature request) for FF in order to offer functionality (probably optionable) to clear contents of search bar after a search is performed: Bugzilla 253331
It appears that the search bar has been deliberately removed from Fire Fox Quantum and the address bar doubles as a search bar. So from now on use the address bar to type in your search. You will notice that when no web address is typed into the address bar. The address bar, By Default, has text in it that reads. SEARCH OR ENTER ADDRESS,
I am try to create tui via ncurses. And I have same problem.
There are two fields:
Name
_______
Password
_______
How to implement backspace-support in each field ?
And how to use '*' to show each character in password-field ? (Now I use field_opts_off(field[1], O_PUBLIC);and it doesn't show characters in password-field, only move cursor).
Thank you.
There is no tutorial for the forms package that I recall. However, the ncurses test-programs (which are available separately as ncurses-examples) contains a program demo_forms which does implement deletion by maintaining the edited field contents as a hidden field buffer, and decrementing its length in the case for REQ_DEL_CHAR.
Here is a screenshot of the program:
Regarding the "non-ncurses" suggestion: dialog is a curses/ncurses application, and has no particular dependency upon bash.
"Non-ncurses" solution (just for an alternative):
You can use dialog program to perform this task in a very easy way. Just run some linux system commands from C to achieve a nice TUI.
If you want to install it, the package name is dialog too.
For a textfield, you can do: dialog --inputbox <text> <height> <width> [<init>]
For a password field: dialog --passwordbox <text> <height> <width> [<init>]
For more info: http://bash.cyberciti.biz/guide/Bash_display_dialog_boxes
I was wondering whether there was a function in KDevelop similar to the one that we used to have in Quanta (miss you, Quanta, btw).
I would like to set a keyboard shortcut, and apply a text transformation upon hitting it. Example:
I select my text to be translated, and I get back: <?=_('my text to be translated'?>
As you can see, this saves me a lot of awkward keystrokes...
I only found this feature in PHPStorm (where it is called "Live Templates"). I defined it like this: <?=t('$SELECTION$')?> and I can call it by hitting CTRL+ALT+J, and select it from the dropdown that appears.
You should be able to do that using a snippet with the following text: <?=_('%{selection}'?>
And you can bind a Shortcut to a snippet.
However my tests showed that this doesn't work correctly - there seems to be a bug somewhere.
As alternative you can write a script that does insert the text. See the documentation.