Xcode 4 disable snapshots creation on refactoring - xcode4

I turned on Xcode4's snapshot on replace feature. I want to turn it off. How do I do that?

File->Project Settings (or File->Workspace Settings if you're in a Workspace), and then click on the 'Snapshots' tab: you want to uncheck the "Create snapshot of project before mass-editing operations" box.
Thanks to Teknogrebo for pointing out in the comments how to do this for workspaces rather than projects.

Related

Why is select button in App Maker Drive Picker not enabled?

I have a Drive Picker widget in Google App Maker that pops up and lets me select a folder. However, the Select button is greyed out.
I have entries for selectedDocUrl, selectedDocName, and onDocumentSelect, but I cannot get the button to be clickable. My views is set to FOLDERS and my security is set to run as the user's account. I see this but since I am using App Maker I don't see how to apply it.
Any idea how to enable this button?
Thanks
Judging from your link the issue must be that we don't allow selecting folders even though we allow selecting the folders view. Looks like an App Maker bug that we'll have to fix, I can't think of any work around short of implementing your own picker. Edit: I've filed a bug within Google to track this.
Google has confirmed they have fixed the problem and it now works fine.

Turning off auto-styling for Web Form designer in VS2012

Whenever you are in design mode in VS2012 for editing a Web Form, if you click on anything, and accidentally drag and drop, a CSS auto-style will appear at the top of the HTML for the aspx page.
From some preliminary research, I checked the following:
Tools>Options>HTML Designer>CSS Styling>Style Application Mode, but it was already set to manual. Is there somewhere else I should be looking to disable this functionality?
Right now there is no way to turn off this. We have received this feedback through connect link. Please add vote to this connect bug. And we will consider this in future release of VS.
I also found this, and I have assoicated it rightly or wrongly, with large pages getting totally corrupted (table cell contents being apparrently randomly swapped).
I managed to turn autostyle off by going to Tools>Options>HTML Designer>CSS and selecting 'CSS (inline styles)' for each of the items there.
Autostyling has stopped and (fingers crossed) my latest pages have retained their integrity.
Tools > Options > Web Forms Designer > CSS change all CSS(classes ) to CSS(inline styles)

Alfresco 3.0. Recovering from contentstore.deleted?

I have an Alfresco 3.0 instance on a server. But I'm not even a novice with it. Somehow all contents were deleted. They now seems to be in "special" store: contentstore.deleted.
Is there any way to recover (at least) the files deleted in contentstore.deleted? Can I inspect the contents of the store and extract those files?
Best regards,
Manuel.
Go to alfresco explorer (use http://server/alfresco instead of /share)
Login
Click on the User Profile (that strange msn-looking icon)
You will see this:
Click on Manage Deleted Items
Here you can recover the deleted items
It looks like this (this is no screenshot of mine)
If you're on Alfresco 3.5 or later (currently that means 3.5 or a nightly build of 4.0), then it's really easy. Log into Share as an Admin, click the More (+) icon at the top, and then select "Trashcan". That'll let you see all the deleted nodes in the system, from the deleted content store, and you can undelete them

Xcode 4 - Analyze issues won't show in editor

Running Analyze in Xcode 4.0.2 shows issues in the Issue Navigator. Clicking on an issue makes the appropriate file appear in the Editor pane, but nowhere does it show where in the code the issue occurs as I am used to from Xcode 3.x. Does anyone know how I can turn on this feature?
A couple of tips:
First, if you're looking for the view where Xcode annotates the project with arrows, bear in mind that you may need to expand the top-level analyser result in Xcode's Issue navigator and click the second-level issue in order to see those - see screenshots.
Screenshot 1: top-level issue selected - no arrows
Screenshot 2: second-level issue selected - arrows!
Second tip: if that stuff isn't working, try cleaning the project's build products folder. Hold down the Option (alt) key and choose Clean Build Folder... from the Product menu. (You need to hold down the Option key, otherwise you won't see that menu option.)
I've seen this happen before sometimes. I believe it's a bug in Xcode. Restart Xcode and try again.
One note. I'm seeing this for files that are referenced outside the current project. I currently have a library in which the files with missing annotations live and simply added them to my current project without copying them. Haven't done the project dependency setup yet, so if you're referring to files outside your project that could be why. (I opened the library project, did an analyze and the annotations showed up.)
Woohoo, I've nailed it! At least for me. I've been struggling with this problem for about 2 hours now, trying out all the things suggested here and more (Xcode 4.0.2, Snow Leopard). Bizarre thing was I had one file where the warning were correctly showing in the editor. Then I noticed the difference to all other files; in the File Inspector pane the location was specified as "Relative to Project" (warnings show correctly in the editor), all the other project files were "Relative to Group" (warnings not showing in the editor).
I took one of the problem files, switched it's location to "Relative to Project", reanalyzed and bingo! I've see it's warnings in the editor.
I guess this ties in a bit with David Goodine's answer refering to files outside the project.

How to rename a project in Xcode?

There are some pretty horrible instructions out there for renaming projects in Xcode. Is there no easy way to do this?
In Xcode 4 try this:
⌘+1, click the blue node with the project name, wait a second, click again (the name becomes editable). That's it.
In the menu bar choose Project -> Rename...
It'll do all the hard work for you and rename everything that needs renaming apart from the folder that the project is in.
In XCode 4, select the project name at the top of the documents list on the left and hit enter, rename it, and then XCode will show you a list of files that will be altered, as well as allowing you to take a snapshot.

Resources