How to remove or disable the breakpoint field in xcode? - xcode

When I want to close or open a function in xcode I always accidentally add a breakpoint, that is very annoying so I wonder if there is a way to remove/disable it. I have searched for a solution but they are just people asking how to remove a breakpoint. I have checked through all the settings but not found anything. Or maybe there is an option to change how to add breakpoints like double click to add as in eclipse?
Here is an image of what Im talking about:

I don't see any thing in ~/Library/Preferences/com.apple.Xcode.plist to help. But there are always the keyboard shortcuts for Fold and Unfold

Related

How do I change 'Selects Code Structure' from cmd + click to a keybinding?

I can't find any shortcut in the key-bindings list that will display this pop-up code actions menu. Is this strictly a click action only? Are there any potential workarounds for this?
I'm coming from vscode and I really loved being able to hit a keybinding and bring up all my code actions.
Thank you in advance!
I am not pretty sure what is your intend but i would rather use to this one for your case,
command click on code as jump to definition :)
what you do in Vscode Ctrl+Click is equal to cmd+click in Xcode

Setting a conditional breakpoint in Firebug for Mac

I can't seem to set a conditional breakpoint in Firebug. Every Google search I've done indicates that I should be able to Right-click the line of code in question, at which point a "bubble" will appear asking me for the condition on which the break should be executed. Right clicking does in fact toggle the breakpoint's existence, but no bubble appears. How/where do I enter my condition?
Of course Mac mouses don't have a "right-click" button but assumed I could simulate right-click using Control. I've also tried Alt and Command to no avail.
I am running on Mac/Yosemite.
Thanks.
To be precise you need to right-click the breakpoint column or right-click inside the line and then choose Edit Breakpoint Condition... from the context menu. If you do so the condition editor should appear, which looks like this on Windows (on Mac it's black):
There is currently (Firebug 2.0.x) no keyboard shortcut for this action, so right-clicking is not working for you, it might be a bug in Firebug. In that case you should go through the steps described at Firebug's first aid page and file a bug if the steps don't help you.

Turn off Visual Studio Find Default Selection

When I Ctrl+Shift+F in VS2010, it puts whatever is near my cursor in the "Find what:" box - this is very irritating and never what I want.
Is there any way to make it default instead to the last thing I searched for?
Tools -> Options -> Environment -> Find and Replace -> Automatically populate Find What with text from the editor
If you uncheck this option it will default to the last thing you searched for.
an nice. Glad i found this...
two work arounds i figured out... if you do want to search in selected text only sometimes but not all the time...
Mouse: Click back on the page and ctrl+A (its faster than having to grab the mouse and clicking the tiny drop down.)
Keyboard only: Well you cant technically do this, with any one command from http://visualstudioshortcuts.com/14/ but you can do this.
while find is active, hit
alt+F6
to get out of find and then hit
esc
to activate the document then
ctrl+A
to search the whole document
I am glad to find how to turn this off, but i am used to this keyboard commands now. So maybe i will leave it on.
if you don't learn to use the escape key in VS, especially for intellisense you are going to seriously drive yourself crazy.

f10 does not step through loops

I am stepping through some code in VS2010. I noticed this icon in the side bar:
And since the apprearance of that icon, I am unable to use F10 to loop though code.
I tried changing many settings but nothing helps. I changed project properties, reset VS to default, but to no avail.
Im sure is a simple answer, but I am just not able to figure it.
UPDATE: Only happens if loop contains TRACE macro
If you want to remove bookmarks, Check in tools for "Clear Bookmarks" or here is the shortcut to remove all bookmarks "ctrl+k then ctrl+l"

Eclipse's tab double click on Visual Studio?

On Eclipse, whenever I double click a tab, it fills the workspace (by hiding all other views like project tree, console, etc).
Is there any way to do this on Visual Studio?
Note: i'm not looking for full screen, just want a way to declutter the workspace but still have access to menus.
Are you after this?
Set shortcuts for the Window.AutoHideAll function and for the Window.ResetWindowLayout function. In order for the ResetWindowLayout to work, you have to export your settings (make sure you select "All Settings") with all windows expanded and then import them again.
ResetWindowLayout will restore all windows to the way they were the last time you imported your settings.
Not with double click on tab, but you can do the same with Shift+Alt+Enter key combination.
This keyboard shorcut was changed to F11 from 1.9.1 vscode version.
All keyboard Shortcuts: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
I was looking for that, as well, and I now just got used to using full screen (Shift+Alt+Enter), which hides a little too much, which you seem to think, as well, but does in fact still show the menus.
Looks like drby got it on this one. Just FYI. I pinged the VS team to ask about this and here is the response:
"There is no way to reverse the command automatically. For it to work as a toggle we would need to save which toolwindows were auto hidden and which ones were not when the command was run, which we don’t do (it would cause lots of interesting persistence questions, across profiles and VS sessions)."
The idea of a "Unhide All" command is what I suggested. So if you hide all then you can unhide all as well. There might be some windows you don't want to unhide but the 1 or 2 extra windows is better than not having an unhide IMHO.

Resources