How do I get to see all the local modified files with respect to the sub-version copy as a list?
XCode 3 had a shortcut and a view to show these from where we could commit the code too: cmd+shift+v
I see no alternative to it in XCode 4. Anyone knows how?
Thanks,
Raj
In the Project Navigator (the normal source tree view), take a look at the buttons along the bottom edge (to the left of the search filter field). The middle button turns on a filter that shows only files with source control status (uncommitted changes).
Bottom right corner of Filter (selected state) of Project Navigator, their is button for "Show only files with source-control status", by pressing this button it will show only modified files in Project Navigator.
Related
I have been unable to figure out how to easily rearrange the menu bar selections that I have created in Qt Designer. Older documentation indicates that I can press the left click mouse button on a selection and then drag and drop it into a new location but this feature does not seem to work in this version.
I am trying to move "Load Database" above the "Exit" option. I would imagine I could just delete the "Exit" menu selection and add it again but I was hoping there would be an easier option in case this happens again.
To do so you need to go in the ui editor.
Then click on File. Press and hold on the item you want to move. Move it.
Below you can see the exact same thing done in QT 4.12.3 and Window 10.
Press file
Press and hold on the desired item
Drag the selected item where you want
Now the 'Save as' is above 'Save'
Select your action in Designer
Press Ctrl + Up/Down
Ctrl + Up/Down is working for me (Qt desinger 5.15.0)
I have cloned the ComboBox class in order to fix the problem where a ComboBox at the bottom of a tab expands downwards and disappears off the bottom of the screen. I did this to apply the patch from http://craiggrummitt.wordpress.com/tag/combobox/. I had to copy "../styles/FocusStyles.as" etc into a project folder. also I copied ComboBox.png into a project folder.
The ComboBox does now open upwards, but there is no arrow button on the displayed combo. If I rename [IconFile("ComboBox.png")] to [IconFile("Garbage.png")] I get no error and the code still runs. There is no Garbage.png. Does this mean that the problem is that ComboBox.png displays the arrow button and the new class cannot locate this file, or is this just a red herring? tia.
The IconFile metadata is used by Flash Builder and is unrelated to runtime elements of the component. I'll quote the docs:
Identifies the filename for the icon that represents the component in
the Insert bar of Adobe Flex Builder. For more information, see
IconFile metadata tag.
If there is no arrow button on the ComboBox; it sounds like you may have improperly set the skin, or somehow disturbed functionality with our extension. You'd have to share some code for us to help further.
This has been bugging me for a while. In Xcode 4, sometimes this menu item is enabled, sometimes it is disabled. I cannot figure out why it is ever disabled, and there seems to be nothing at all on Google about this.
I have this same problem. If I click on the "Show assistant editor" button (the middle button in the list of Editor buttons located in the upper-right hand corner) and then back again to "Standard Editor" (the left-most button in the list of Editor buttons) then the "Find selected text in workspace..." function is enabled. But I have to do this often, but only in the projects I created before Xcode 4. So I think some setting in the project was not created properly when Xcode 4 converted it over.
I have found if you just right click on the word, without selecting it prior, then the menu selection will be enabled. This seems to be more prevalent in xCode 4.4.1. I have also noticed that when you select other words will "trigger" the menu to enable also. Hope this helps.
I have several table columns embedded in a table view embedded in a scroll view embedded in larger view embedded in a tab view embedded in another view embedded in a window.
When click on the nib file in Xcode 4, the Editor pane shows me the Interface Builder dock in an outline view. Typically, I'd like to set the Cocoa bindings for the table columns.
To get to the table columns, I have to open many levels of subtrees, sequentially. If I click on a column header in the graphical view, and I get lucky, it takes me to the table header. In this case, I only have to open one more level, the table view. When I run my project in the debugger, and come back to the nib file, I have to do it all over again.
Is if there a way to expand all sublevels of the outline view in the IB dock with a single command, or to expand sublevels under a selected level ?
EDIT: Not an answer, but a workaround: double click the nib file to open it in a separate window. The window won't be affected by switching files in the main window. Another feature I was unaware of is Xcode 4's tab capability (Command-T) - works like a tabbed browser.
Hold Command ⌘ Alt while clicking on the disclosure triangle at the appropriate level.
Fast forwarding several years, it looks like with Xcode 11.6, you now hold Option ⌥ key while clicking on the disclosure triangle.
I have a window, a label, a button, and an NSObject.
The first thing I want to do is change the NSObject's class to that of my custom controller.
The thing is, I can't seem to select it. Whatever object I select, the inspector panel says "No Selection". Why? I'm baffled.
accepted answer did not work for me, but answer by 'NSExplorer' did (In Xcode4, the new interface builder says "no selection"). i slightly modified answer from 'NSExplorer'
.. switch to another (non IB) file in the current tab
.. switch back to the IB file (eg. Main.storyboard)
the Attributes Inspector will magically show in the new tab.
I just had to close the assistant editor and the debug area and then it magically showed up. If you don't have the assistant editor open then all you need to do is open it, then close it again. That should fix it too.
If you don't know what the assistant editor is I have highlighted it in red:
Xcode 7.2
The interface builder in XCode 4 is incredibly buggy. I'm also having frequent issues like this. Have you tried closing XCode and re-opening your project? Sometimes, resizing the entire XCode window also seems to reset the interface builder layout.
Make sure you're selecting the objects from the XIB document panel (Where it says "Objects") on the left. Sometimes clicking the actual UI controls doesn't catch in the inspector panel, for whatever reason.
For me, I had the bottom, debugger stretched all away to the top. It said "no selection." By Taping on hide/open bottom debugger twice, you can get the main component back again.
If you have multiple windows, close the storyboard file and open it again, it worked for me