How do I disable graph mode in Assembly view in IDA 6.1? - ida

How do I disable graph mode in Assembly view in IDA 6.1 ? By graph mode I mean this
I see Options -> Graph -> Use graph view by default, but un-checking it doesn't help :((

To toggle graph view in addresses where graph view is applicable, hit the space key. (Or, as ruslan mentioned, you can right-click the disassembly area and choose "Text View")
The option you mentioned (Options -> Graph -> Use graph view by default) specifies that graph view will not be enabled when you open a new binary for analysis. This has no effect on the current view in the database.
By the way, if the reason you don't want to use graph view is because it doesn't display the address of each instruction, you can change this by going into the options, clicking the "Disassembly" tab, and checking "Line Prefixes" under "Display disassembly line parts."

Ah, it's right click on Assembly area and choosing "Text view".
It should have been more obvious.

Related

VSCode "Open Editors" panel not showing

I don't know what I have done but I cannot see the "Open Editors" panel in the Explorer view
I note also that clicking on the three dots (Views and More Actions...) to the right of the word Explorer at the top of the explorer panel the word Folders is greyed out
Can anyone point me to the setting I need to change in order to rectify this situation?
Just in case anyone else has the same problem here is how I resolved my issue. I won't bore you with how I discovered the solution.
Right-click in the activity bar, this will bring up a context menu with the entry for Open Editors listed but not marked with a tick
Activity bar context menu.
Clicking on "Open Editors" in this context menu brings up a new icon in the activity bar that looks like an open book
Open Editor icon
Right-clicking on this new icon reveals another context menu that includes the option to reset the location of the Open Editors panel.
Open Editor context menu
Selecting this option resolves the problem.
How I got into the problem in the first place is still difficult to ascertain. With the activity bar in its default configuration I must have dragged the "Open Editors" header to somewhere on the activity bar, that clearly removes it from the Explorer side bar but how I inadvertently right clicked this new icon and selected "Hide 'Open Editors'" without realising remains a mystery.
Go to view and click on Open View and the on Open Editors.
3 dots on extreme right hand side has an option - keep editors open --> set it to default view. Once done the open editor will be be visible on the left.
This is considering you have default vs code layout...
I am currently using version: 1.68.1
In VS Code, go to Settings and in the search box, type explorer.openEditors.visible. Set the value in the dialogue box to any number greater than 0 and you are good to go. Refer to the image below.

Visio Drawing Explorer reverse selection?

There's a drawing explorer tool (hidden in developer settings) that allows you to pick any object in the drawing from a selection tree, fair enough. However, how to show what the object is when you click on it on the drawing? I was really surprised that clicking on a drawing object does not highlight in the drawing explorer as well, but it doesn't..
My use case for this is locking a background shape box from selection so I can lasso objects without dragging the background shape around, for that you need to do it on the drawing explorer, not just in "protect" dialog.
If there simply isn't backwards synchronization option between drawing and the drawing explorer, I'd have to know the object name. You'd expect the object name to be shown somewhere as soon as you click on it but it doesn't..
I can right click on the object and pick shapesheet, which shows the name along with a pile of useless (to me) information on the object. You can leave that open but it won't update when you click on another object. Hidden on the developer tab there's a "shape name" option which pops up a modal dialog you can't leave open so it'd show the name of whatever you click on.
There is an extension to do just that (jusmp back to shape in drawing explorer). The installer:
https://unmanagedvisio.com/products/jump-to-shape/
It is free and open source.
I have not updated it for quite a while, but it still works.
The source (if you are interested): https://github.com/nbelyh/JumpToShapeAddin
I found a rather convoluted way of doing this.
First, to show live name of whatever you have clicked on, you need to have the "Diagram navigation" pane open, which shows up from View tab in "show" on task panes icon.
THAT pane highlights whatever you click on and you can rename it. but it doesn't show hierarchy like the drawing explorer but at least you can give a descriptive name by double clicking on a a name on the navigation pane. That name will update on the Drawing explorer (but won't be selected) so you can at find it easily in the tree.
However, you cannot protect a shape by either drawing explorer or diagram navigation panes, so while I now know how to get from drawing object to drawing explorer, it doesn't solve my dilemma, that's an another question.
You have to go to developer tab and pick "protection" icon from "Shape design" section. This does not prevent you from selecting the shape yet.
After this you have to go to the drawing explorer, right click on the top-level document name and pick "protect document", hey presto, now that background shape is not selectable so it won't interfere working on objects on top of it.

VS Code - toggle search icon in Activity Bar, move from panel or back

I accidentally removed search icon in Activity Bar and don't know how to add it there again. If I click on Activity Bar, I don't see this option any more.
Update: v1.44 you can now simply drag many of the views, including "Search" from the sidebar to the panel and back. See https://code.visualstudio.com/updates/v1_44#_increased-view-placement-flexibility and https://stackoverflow.com/a/55981465/836330
Update: v1.42 added a context menu option
Move to Panel/Move to Sidebar
to certain typically sidebar views like Search, Outline and custom views. So you wouldn't have to use a setting to move the Search view back to the sidebar. Here is a demo:
Also notice that you no longer right-click in the empty space below the search inputs in the sidebar but on/near the Search header itself to bring up the toggle option.
As part of the v1.42 release the search.location setting mentioned below will be deprecated.
Your setting should migrate automatically, but you will need to use
the new generalized method to move the Search view going forward. You
do not need to enable the experimental preview setting above in order
to move the Search view with the new context menu entry.
So I don't think there is a setting anymore, you just right-click on the header text "Search" whether it is in the Panel or active in the Sidebar to move it. See the demo below.
Right-click on the "Search" header if you have it in the sidebar to "Move to Panel".
If Search is in the panel, right-click on the word Search to "Move to Sidebar".
To enable moving the Output view at this point, you need to enable workbench.view.experimental.allowMovingToNewContainer.
There is a new unbound command workbench.view.search.moveView which you can use to toggle the search position between the panel and sidebar. But note that in my testing it only works a couple of times because it focuses the panel when you move search to the sidebar - I'll file a bug.
Previous Answer::
You may have modified the setting:
"search.location": "sidebar",
which is the default to the alternative
"search.location": "panel",
which would put the search widget into the terminal panel as another tab.
As of vscode v1.35 or so, you can now right-click in the empty space below the search view (i.e., in the sidebar under the open search inputs) and you will get an option to Toggle Search View Position.
This context menu switch of the search view is persistent. It will automatically add this setting to your settings.json:
"search.location": "panel",
The only way at present (but see edit just below) to move the icon back to the activity bar (and thus the search across files functionality to the sidebar) is to change that setting to the sidebar option. Or look for this setting in the settings editor:
Search: Location
Controls whether the search will be shown as a view
in the sidebar or as a panel in the panel area for more horizontal
space.
EDIT: More recently, vscode added the abilty to right-click in the search area when it is in the panel to toggle it back to the sidebar.
In windows
file--> preferences-->settings
In mac
preferences -> settings
vs-code version 1.30.2
Step 1: Click on Edit from Navbar
Step 2: Find in Files
.
.
You can easily search for anything in the side paanel
or else if you want anything to search inside files then
Step 1: Click "Ctrl+F"

search result in Eclipse opens in tab in same panel

When I search for something in Eclipse and the results show in the Search tab, whenever I click on a result (for example, a .java) it opens in a new tab next to the Search tab (in the lower panel), instead of in a new tab next to the rest of files that are open in Eclipse (in the upper panel).
This is very annoying because I use the lower panel for "tool views" such as Console, Search, Problems, Tasks, etc and I don't want files to be opened in that panel.
I'm sure I'm missing some setting in the preferences but I can't find it and this behaviour is driving me crazy.
Thanks for your help!
I had the same problem and was able to finally find a solution which helped me, so this should work for you as well.
Try the following:
drag the Search view out of its current position and anchor it in a different place (I dragged it just above the Explorer view on the left)
double click on a search result - it should open in the panel with all other files
next drag the Search view again to anchor it as the bottom panel, and try to open a search result again
You may need to play around with this a few times before it works, but it took me less than a minute to fix.
It seems that the way how you anchor the Search view has influence where the files will open after you double click.
See the original post which helped me find the solution
I fixed this in my variant of Eclipse (MCUXpresso) by altering: Window -> Preferences -> General -> Search -> Reuse editors to show matches.

Remove view name from Eclipse menu Window -> Show View

I need to remove the name/shortcut of the view which I have created from the Window->Show View menu and add them as a separate menu.
Is there any way to hide/remove its entry from Window->Show View menu.
You can add/remove any view from the "Show View" menu from the Customize Perspective / Menu Visibility tab:
To do the same thing programmatically would imply to follow the same course of action than the class org.eclipse.ui.internal.dialogs.CustomizePerspectiveDialog, and look into the method okPressed() for instance:
perspective.setShowViewActionIds(menu.getCheckedItemIds());
Vlad Ilie mentions in the comments:
as I only needed for the View to be completely inaccessible via usual GUI, activities were enough for me as per this blog post "eEclipse Activities – Hide / Display certain UI elements":
This would mean that programmatically the WorkbenchActivitySupport.setEnabledActivityIds(String[]) method can be used to enable or disable views after they've been introduced into an activity.
I would suggest you to go to window->Preferences or customize perspective. I think this is place from where we can controls the menu's to be displayed.