After updating VS Code for the second time, I can now right-click a file and open it with 3 different versions of it: 1.6.1, 1.8.1 & 1.9.0.
How can I either automatically prevent this on an update or remove the old versions after the update? My applications folder only shows one version of it.
Locate the other versions
You can just run each of them, right-click on the Dock icon of the running version and select Options → Show in Finder.
My versions were located here
~/Library/Application Support/com.microsoft.VSCode.ShipIt/update.OhD5XFk
Delete it
Just delete the whole directory update.OhD5XFk
Related
I know this feature was available previously. Selecting 2 files inside a project, right clicking them and do a diff on both files. This does not work anymore on build 3103. After selecting both files, I right click and then one file gets deselected. Is there a fix for this?
This appears to be a bug, but it only appears under certain conditions. I tested Build 3103 (the most recent public build) and the latest dev build 3111 (just released today, in fact) on OS X 10.10.5. First I picked two random files in one of the folders of my project that were not already open, clicked to select one, held down ⌘ and clicked to select the other, then right-clicked on one and selected Diff Files.... The diff view opened up just fine in both 3103 and 3111.
However, if one or both of the files was already open in Sublime, it could not be selected in the sidebar in 3103, and therefore the Diff Files command wasn't accessible. Diffing worked just fine on open files in Build 3111.
So, if you're a registered user (and you really should be if you're using Sublime long-term or for commercial purposes), just download Build 3111 (or whatever the most recent dev build is when you read this) and you'll be all set.
I could select individual file when 'update' in SVN project in Xcode 4.3.
I could review which files were changed and committed.
But after I upgraded Xcode to 4.4, when I click 'File > Source Control > Update' from menu bar or click 'Update' in Organizer, no updated files list comes out and just tiny updating slide comes down.
It updates whole changed files without my selection.
I know I can update specific file by right clicking it and select 'Source Control > Update Selected Files' but I want to review the whole changed files in one window like before Xcode 4.4.
How can I do it?
Thank you.
It looks like you want to do "Update..." instead of "Update".
You can get that to show up under File-->Source Control and holding down the control key.
It looks like in XCode 4.4. the default source control options have been switched around as follows:
Xcode 4.4+ - default = "Update"
"Update" (Cmd+Opt+X) - Silently updates all files unless there is a merge conflict that needs to be manually corrected
"Update..." (Ctrl+Cmd+Opt+X) - Updates all files allowing you to verify/merge updated files
Xcode 4.3 - default = "Update..."
"Update..." (Ctrl+Cmd+Opt+X) - Updates all files allowing you to verify/merge updated files
"Update All" (Cmd+Opt+X) - Silently updates all files unless there is a merge conflict that needs to be manually corrected
This is again broken in XCode 4.5. Silently will update all files, ignoring your selected files. It doesn't matter if you control-click or right-click or File->Source Control... whatever the way you select it, xcode will update the whole project.
Bad, bad Apple!
I am trying to locate Icon Composer, which was supposedly downloaded as part of Xcode, however I can't find it, neither in applications nor with the spotlight.
Any ideas where it might be, or if I have to download it separately? If so, where from? I tried looking for it in the App Store, but nothing found.
Edit: I am using Xcode 4.3.2 if that helps.
Newer Versions
As of Xcode 4.4, Icon Composer is no longer bundled with the IDE. However, you can still download the program from Apple's developer downloads page (developer.apple.com/downloads/)
Search for "Graphics Tools" and download the latest version of the tools, which is currently the version for Xcode 5.1
Older Versions
In Xcode 4.3.1 and up Icon Composer can be located in this directory.
/Applications/Xcode.app/Contents/Applications/
In your applications folder right click on Xcode and click "Show Package Contents."
EDIT: to make this answer as complete as possible.
However, In Xcode versions 4.2 and below, Icon composer can still be located in the following directory.
/Developer/Applications/Utilities
And of course, as Dave DeLong said below, Icon Composer can also be accessed through Xcode by navigating to Xcode Menu >> Open Developer Tool >> Icon Composer.
MDT is correct that the application is now bundled inside of Xcode.app, but there's an easier way to get to it:
Icon Composer cannot be used to create icons compatible with Retina macs and the app should no-longer be used. It is no-longer bundled with recent versions of Xcode.
Instead, you create a directory "foobar.iconset" and fill it with png images at the sizes you need, and then drag that into the image well in Xcode - which will then create a .icns file at build time.
Currently, the png files you should create are (none are required but all are recommended):
icon_16x16.png
icon_16x16#2x.png
icon_32x32.png
icon_32x32#2x.png
icon_128x128.png
icon_128x128#2x.png
icon_256x256.png
icon_256x256#2x.png
icon_512x512.png
icon_512x512#2x.png
You can also create the icns file manually with the iconutil command line tool.
Official documentation and more details are at: http://developer.apple.com/library/mac/#documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/Optimizing/Optimizing.html
Have you looked into...
/Developer/Applications/Utilities
Mine is there.
I am developing a project with Xcode 4.1 using Subversion through Xcode's built-in source control menu and command line. When reverting/updating the source through command line, I can't get the Xcode editor to show the current version of the source files (as they appear in the Finder or any external editor). I guess this is generally the case when editing a source file with an external editor.
Eclipse would immediately warn you that the editor content is outdated (Xcode does it when you try to save the file). Then you would simply right click on the project tree to refresh the corresponding files/directories. There must be a similar feature in Xcode.
svn revert MyFile.m
will copy the old back and therefore also the old timestamp, making XCode think it is using the most recent version of the file (which is true, except that in this particular situation you would want it to use the older version again).
As a workaround you can "touch" all the reverted files, giving them a new timestamp.
touch MyFile.m
That will make XCode display the content as it is in the file and also include it in the next build iteration. This works for .h/.m files but also any project or meta data files used by XCode.
Do you mean Menue:File >> Source Control >> Refresh Status ?
I originally installed GetBundles using Trey Piepmeier's instructions. Afterwards, I installed all TextMate bundles using GetBundles. I noticed that my copy of GetBundles was old, so I did the following:
cd ~/Library/Application Support/TextMate/Bundles/
svn co http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle/
When I restarted TextMate and opened GetBundles, a dialog box popped up asking me to select the source for many—if not all—of my bundles. I can't remember which version of the Django bundle I installed or numerous others.
Is there anyway to update GetBundles without having it lose its head on the sources?
Yes, in TextMate click Bundles->GetBundles->Edit Preferences File. Either copy the data or back up the file to another location. Then update GetBundles. Now, select Edit Preferences File again, and paste that info back in. That should update the GetBundles bundle while maintaining its own data about which bundles you have installed.
Here are a couple sample lines from mine:
0B296803-7D51-11D9-859D-000D93B6E43C
https://github.com/textmate/todo.tmbundle/tarball/master
0D39D7BD-CD02-48EF-BB9C-2210BFFC5AD7
http://svn.textmate.org/trunk/Bundles/CTags.tmbundle
385A8908-0733-408E-AFA5-9576D2E3A16B
https://github.com/textmate/mail.tmbundle/tarball/master
4675A940-6227-11D9-BFB1-000D93589AF6
https://github.com/textmate/c.tmbundle/tarball/master
As you can see, it keeps track of the repository info, etc. The file itself is com.macromates.textmate.getbundles.plist and is located in ~/Library/Preferences.
I hope this helps.