perforce eclipse plugin preference to checkout a file when editing - perforce

I'm new to perforce. we integerated the perforce eclipse plugin in PC for the development. We use eclipse plugin for all the P4 operation. I downloaded my workspace code into my local PC and using eclipse for the development.When i edit the file using eclipse, i would like eclipse plugin to checkout the file automatically.
Looks like there is a preference already under team->perforce Enable support for Workbench save operations.
I tried this option but its not working for me. is it the right option?
Could someone please help me.
Thanks,
Venkataraman

To get auto-checkout enable Team -> Perforce | Enable support for Workbench edit, delete, and refactoring options.

Goto Windows->Preferences ->Perforce
Therein check the following:
When adding a new file:
Mark for add
Also check the following:
Show changelist selection dialog when marking files for add,cehcing out, and marking for delete
Show changelist selection dialog when refactoring files
Enable support for Workbench edit,delete,rename and refactoring operations

Related

Guidewire ClaimCenter

May I know how we can check version control file history in Studio version 8.0. Suppose if we want to see who and what changes had been made as part of one file. I have checked Version control under setting tab. But not sure how to enable?
Similar to what you would do in any other project with Intellij. As long as your project is mapped correctly and the .git file is pointing properly, right click the file within studio >> Git >> Show History. You can then select in Git Log and do various other operations.

IntelliJ IDEA - How open Customize IDEA

During first launch IntelliJ IDEA opens convinient dialog for quick configuration "Customize IDEA".
How to open it any time?
Most probably you never need to open it again. As everything on this screen is enabled by default. When you create related project you will be able to use those features. There is always an option to uninstall followed by new install but don't forget to backup your setting.
Another trick is to rename or delete the local cache folder of Intellij Idea. This will force IntelliJ idea thinking its a new installation and it will ask you everything again. But you will loose your setting and have to enter licence details again.
In ubutnu local cache where IntelliJ store its meta-data is:
~/.IntelliJIdea15
Rename or move it and rerun intelliJ idea. You can restore it later if you want.

Change default gitignore file when creating a new project

Is there a way to change the default file .gitignore that Android Studio creates when creating a new android project? I searched for it in the Settings but could not find anything.
Unfortunately, there is no way to do that automatically, besides the one Ted has mentioned.
However, personally, I don't see this as a big downside, because you can thus safely add your specific templates that fit best to your project.
To be able to do this, do the following:
Go to File -> Settings and from there highlight Plugins. Click on Browse repositories... and you should be able to find the plugin entitled .ignore. Install it.
Now to configure a .gitignore for any project, in case you have no project opened, click on Configure -> Settings. In case you have an open project, go to File -> Other Settings -> Default Settingsā€¦. Now expand Version Control and click on Ignore Files Support. You should be able to add a custom user template of your .gitignore-file there.
To use any template you've added there, just right click on your .gitignore and click on Add templateā€¦. There you'll be able to add your custom specifications, however, many others are given by default, so you don't need to do a google search for an OS or language specific .gitignore configuration.
Good question. I tried manually modifying the project_ignore template in the Android Studio installation (located at C:\Program Files\Android\Android Studio\plugins\android\lib\templates\gradle-projects\NewAndroidProject\root in my Windows installation). That works, but it causes any future updates to Android Studio to fail unless you restore the original template first.
I'm posting this as an answer because it works. But it has such a bad down-side that I'm also starting a bounty in the hopes that someone can come up with a better solution.
On Mac, Applications->Android Studio.app(right click -> show package contents) -> contents-> plugins\android\lib\templates\gradle-projects\NewAndroidProject\root\ , i tried modifying, project_ignore file. i dont see error every time while looking for updates. instead of replacing, i appended at the end.

Under what conditions will the Visual Studio 2012 Difference Viewer allowing editing a source file

Rather than continuing with Winmerge as my tool of choice, I've decided to commit to using the Difference Viewer built into Visual Studio 2012 Premium especially given it uses the edit window providing intellisense and resharper integration.
However, I've noticed that in one solution I compare a local file with latest and I'm allowed to edit the source file. However, in another solution which exists on the same TFS 2010 server but a different project and is checked out to a separate workspace, I'm not allowed to edit the local file.
According to the Visual Studio 2012 Help ("4. The Diff window appears. You can continue to make changes to the file in this window.") I should be able to edit the file if it is local. I will also need to be a member of the Contributors TFS group (I'm actually a member of the Project Administrators group too.)
I've tried running the compare from the command-line too something like "tf difference filename.cs" and compared two local files but they're all still read-only.
Can someone confirm what conditions I need to meet in order for the local file to be editable in the difference viewer?
UPDATE: I'm not sure how I missed this but it would appear that it's .aspx files that can't be edited in any of my solutions!
If you click the Merge button instead of Compare Files, you get a slightly different diff window that lets you edit the local file. Also see the edit in the answer about aspx files.
You can only edit certain file types in the Diff viewer. Example: You can edit .cs, but not .sql files.

Is there any perforce plugin for dreamweaver CS5

I want to know if there is any perforce plugin which would work with Dreamweaver CS5.
At present Dreamweaver does not support perforce directory though photoshop does, you might like to use P4FTP allows FTP clients, including Dreamweaver, to access Perforce depot files via FTP. It can be installed in addition to or instead of an FTP server on Unix or Windows NT/2000.
refer following for more info...
http://www.perforce.com/perforce/doc.032/manuals/p4ftp/01_install.html
Unfortunately not - there is only SVN support out-of-the-box. It would be possible to write an Adobe Extension that integrates P4 into Dreamweaver. There is a project on GoogleCode that could help you get started - SubWeaver.
HTH,

Resources