I use IDA Pro Advanced Edition v6. But I can not find the strings window. Only the function window, IDA View-A, IDA Hex View-A, Structures window, Enums window, Imports and Exports window are presented.
Can somebody tell how I can open the strings window?
If you can not find the Strings window, then press Shift + F12.
After a few seconds, the window will open.
In IDA, the individual windows are called "views." If you can't remember the keyboard shortcut (Shift+F12), then click View > Open subviews > Strings from the menu at the top of the window. You will be able to open the other views from there as well.
Related
Sometimes when closing vscode, or a tab therein, I get a dialogue asking "Do you want to save the changes you made to filename?" However, the unsaved edits are actually from a previous session that was closed without such a query, probably when turning off the computer, so I can't remember if it was meaningful edits, or maybe just an accidental key-press, like a shortcut gone wrong; and doing undo to revisit the last edits doesn't work either.
My question: How can I see the diff between the saved version of a file, and the version in the editor window? I think it would be nicest just to have a "show diff" option in the dialogue, but for now I'm also happy with a command line diff command.
I'm using ubuntu 20.04.
I'm using VSCode version 1.52.1 on MacOS and I had a similar problem that may not be the same problem, but I'm guessing it will work for you as well.
When you're in the Explorer view, in the upper left part of Explorer you have your "Open Editors." If that shows a dot to the left indicating that the buffer has changes in it, you can right click the file name and select "Compare with Saved." This will open another buffer to the side that will show you any unsaved changes.
To get rid of that window (it took me a bit to figure this out I'm sorry to say!), you can click the 'X' to the left of the extra buffer in "Open Editors."
Hope this works for you!
A few bright notes for the keyboard players out there:
The command you are asking about has a default shortcut. Unless you've applied a keyboard map extension, the Ctrl+Kd arpeggio opens the very same diff view between the active and saved versions of the current file. The default shortcut to close an editor tab (be it the diff or a file or anything at all) is Ctrl+W.
The command, like any command in VSCode, is also accessible via the Ctrl+Shift+P command dropdown (on Linux, F1 opens it too). Start typing e.g. compa sav (it saves your keyboard wear and tear to shorten words to a prefix which is unambiguous enough), and the list will shrink dynamically to just a few commands. Yours is File: Compare Active File with Saved. When it's close to the top enough, navigate the list of commands with the down arrow and execute it with Enter. As a bonus, you may click on the little gear to the right of the command currently highlighted in the list and redefine its shortcut, if you use it very often and prefer a chord shortcut to the default arpeggio one. Sorry, there does not seem to be a shortcut in lieu of the gear click. If there is, please let me know!
But if you really, really want to right-click on the filename in the Open Editors view of the Explorer sidebar, you can open that view directly with, you guessed it, a shortcut: Ctrl+Ke. And if you change your mind on a dime right at this moment, or realize that you in fact never had a mouse to do the right-click in the first place, use Shift+F10 to drop down the "right-click menu", properly called the context menu, which you navigate with arrows and execute with Enter (that's kinda a common theme, as you probably noticed). This works mostly anywhere the right-click does.
While in the Open Editors view, to switch to an editor file tab, move the selection to the desired file. Press Space to bring the file into view but stay in the Open Editors view, or Enter to bring the file into view and shift the keyboard focus to it. Pressing Ctrl+Shift+E brings focus back to the editor from any view in the Explorer sidebar. The same shortcut moves focus to the Explorer sidebar from the editor.
Happy ♬ k'boarding ♬!
ctrl+shift+P (or command+shift+P on mac) and fuzzy search for "compare changes with saved files"
Say I have 2 split windows with a few files opened in both of them as shown in the image below. I'm using the shortcut keys (on mac) "cmd+shift+[" or "cmd+shift+]" to cycle through all the opened files ("Open Previous/Next Editor"). However I was wondering if we could lock the "next" opened file that we will cycle to to be within the current split window that we are on?
i.e. Say right now I'm on 'window 2' (the split window on the right according to the image), pressing "cmd+shift+[" would bring the focus to the left split window and onto the "Untitled-4" file, but is there a way to prevent that and make it cycle to "Untitled-5" instead?
In Linux, I can use Ctrl+Tab or Ctrl+Shift+Tab to do this.
its actually the default behavior of vscode, it will cycle through opened files on the certain split window only. on the windows you could use ctrl+tab to do this
So I've found the option to perform what I wanted.
It's the "View: Open Next/Previous Editor in Group" command.
In Visual Studio Code, there is a thing similar to command prompt in windows. It is called Terminal. In the past, I normally opened more than 3 tabs of this Terminal. However, in recent updates it displays this error when I try to open more than 3 tabs.
Not enough space to split terminal.
Is there a solution or a workaround for this?
Workaround:
Menu: View -> Appearance -> Toggle Panel Position (it moves terminals to the bottom) or right-click the "TERMINAL" or other tab and select "Move Panel to Bottom".
You can now open an additional terminal (or more) and then use the same menu option to move them back to the right and it will keep the additional terminals open.
There is a workaround - at least when You're using Ubuntu. You just have to unmaximize the window and resize it to make it bigger then Your screen size. Then You can split the terminal and can freely go back to initial window size.
Unfortunately, as far as I know, Windows won't allow You to have a window bigger that Your screen size. I don't know about Mac though.
I just started to use PhpStorm and wonder how I can enter full view for a single file?
In NetBeans I could just double click on the file:
...then the full view for that file was shown:
After double clicking on the file again, the normal view is shown again.
Is this also possible in JetBrains PhpStorm?
This is not currently possible.
https://youtrack.jetbrains.com/issue/IDEA-82829 -- watch this ticket (star/vote/comment) to get notified on any progress.
(P.S. This IDEA-166351 looks the same .. so may be marked as duplicate of the first ticket at some point).
To be clear: hiding all tool windows is easy (double click on editor tab or Window | Active Tool Window | Hide All Windows -- Ctrl + Shift + F12 using Default keymap) -- it's "Maximize current editor tab and hide all other tabs" what is missing (absent feature).
Yes, also on JetBrains IDEs (PhpStorm, WebStorm, etc.) is possible to double click on an editor tab to hide the rest of toolbars and sections and get a full clear view of the editor; then if you double click again on the editor tab, you can return to your previous IDE disposition.
Also you can use Ctrl + Shift + F12 combination to hide/show all tool windows. (see here: https://www.jetbrains.com/help/phpstorm/2016.3/manipulating-the-tool-windows.html#d883741e144)
In Output View in Netbeans I have several tabs such as:
Java DB Database Proccess
GlassFish
Application (debug)
Debugger Console
etc.
I would like to switch between them using keyboard only. How to do this?
Ctrl+Tab will allow you to cycle through all panes available for your open projects, at least in Netbeans v7.3.1. You can also use the arrow keys to navigate while holding Ctrl+Tab.
Ctrl+4 will shift focus directly to the output pane.
Check out this and this for more details and shortcuts.