Out of curiosity, when you open xCode and you want to run your app, you must to click "Play" button:
But when you hover this section, a little arrow appears (downright)
Does anybody know the meaning of that element, I thought it was a hidden menu.
When you click and hold on that button, a Menu will appear where you can switch the default action for this button.
You can see the other options here:
Note that you can modify these options by holding either shift (just build), alt (brings up the scheme selector for that scheme first) or ctrl (don't build, just run).
Related
What I really like with a text editor (or IDE) is to be able to easily remap its keyboard shortcuts to what I want, and Xcode seems to do a bad job with this.
I want to be able to switch file tabs by using option + command + arrow (left and right arrows). However, when I try to change keyboard shortcuts for the Show Previous Tab and Show Next Tab actions, the option key is not applied.
In the screenshot, you can see—through KeyCastr—how I pressed the option + command + right arrow keys and end up with command + right arrow in Xcode, the option key is missing.
Is there any solution? Note that the option key can be used on some actions, for example I can use it with the About Xcode action, but this is obviously not what I want.
I'm using Xcode 13.4.1.
Okay so I've found a solution. Not a perfect one but it works!
There is no way to use the option key in some actions because they are constrained by the Navigation in Xcode preferences.
Instead you can change the system preferences to add a new shortcut to the Xcode app.
However, when you will use those keyboard shortcuts in Xcode, you will see a weird behavior where the tab you are switching to, gets opened in a new editor.
This is due to the default navigation preferences of Xcode, change the "Optional Navigation" preference from "Uses Next Editor" to "Uses Tab".
I'm not sure if this is possible, but can the context menu in windows that appears when you right click be removed and just have it perform one function. For example... if I right click over an input I see a menu with options: undo,cut,copy,paste,delete. I want no menu to appear and right click to do one thing only, PASTE. I don't want to choose paste from a menu, just do it instantly when I right click.
let me put it simple.
With Firefox 29,
I add a check box control next to the back & forward button in the toolbar "nav-bar".
It works. I mean I can do check and uncheck, and the javascript code will be triggered.
Now, my problem: after I checked the checkbox in one tab, I found that the checkbox in all other tabs are also checked, and if I uncheck any of them, the checkbox in all other tabs will be unchecked.
Why they change as one? I would like them to be unrelated or separated. In another word, I want the control (checkbox or button or label etc) to be tab-specific.
All suggestions are appreciated.
My textmate suddenly stopped recognizing comments in code and the shortcut for commenting out code (Command + /).
I have found Comments in the Bundle Editor for HTML, but it doesn't look like I can set an activation key for it or anything.
Does anyone have any experience with this part of TextMate?
cheers!
Maybe it went out of scope? Doesn't matter what caused it, it's easy enough to fix.
Open your Bundle Editor
ctrl-option-cmd-B
Make sure that the Menu button at the
top left-hand side of the Bundle
Editor displays Show All
If it doesn't then click the up/down
arrow and change it so that does
Scroll down until you find the
Source bundle
Click the arrow to the left of
Source to display the Bundle contents
looking at the Source Bundle items
with green "C"s next to them, find the item
called Comment Line/Selection
Click Comment Line/Selection
In the upper right-hand corner of the
Bundle Editor, click the Settings
button
Next to Activation, select the menu
item Key Equivalent
Whatever is in the text box to the
right, replace it with cmd-/ (with
your cursor in the text field, press
the keys "cmd" and then "forward
slash"
Verify that the item Scope Selector
text area is blank--nothing should be
in there
Exit the Bundle Editor, Restart
TextMate, open a new editor window
(cmd-N) then enter cmd-/ to verify
that it's working
This command is not limited by scope so it will work in any context/environment/language, but because it is not limited by scope it can be overridden by a Bundle-specific comment command (e.g., a comment command in the HTML Bundle, so, if after you've followed those steps, it's still not working, you just need to find that Bundle-specific comment command and either fix it (using the steps above as a template) or then use the steps above as a template) or deleting it.
While you're at it, you might as well fix the command in your HTML Bundle:
from your Bundle Editor, scroll down to the HTML Bundle then click on the Comment item (you said in your Q, you had located it). Click the Settings button on the upper right-hand corner, and verify that Activation is Key Equivalent and cmd-/ is in the adjacent text box. Next verify that Scope Selector is text.html
I'm using an old version of Visual Studio that provides only the 'interactive' method for setting tab stops. Is there anyway to clear all the tab stops before setting them? Or anyway to exclude a given control from having a tab stop?
Added 10-sept-2009
Part of my problem was confusing tab stop order and tab stops. I naively assumed setting tab stop order, set a tab stop hence much confusion. Thanks for pointing out that tab stops are set in the property box.
You are not clear about your specific VS version, but as far as I remember (back to VC6) you automatically assign the tab order if you simply click once on each control in your desired order. There is usually no need to reset them beforehand.
This hint from a VC6 tutorial might be helpful:
To adjust the tab order of your
controls, you can choose the Tab Order
command from the Layout menu and click
the controls in the order that you
want them to be tabbed. If you have a
complicated dialog box and only want
to change the tab order of a few
controls, you can take a little
shortcut by holding the Ctrl key down
and selecting the last control that
tabs properly before selecting the
controls that tab incorrectly.
Clicking an empty spot in the dialog
box, or pressing Enter, will exit the
tab order mode.
To prevent a control from being
reached using the Tab key, clear the
Tab stop checkbox on the control's
property page.
If you want to change the tab behaviour programmatically, look for the WS_TABSTOP windows style.
Open the dialog whose tab order you want to change. Press Ctrl + D. On the dialog you will see numbers next to each control which indicate the tab order for that control. Click the controls in the order you want the tab order to go.