P4Intellij 1.0.0 is released

What’s New:

  1. added ‘code statistics’ function in menu items to count code lines
  2. some other minor improvements

below is a sample screenshot for a result of a directory

Screen Shot 2016-03-03 at 4.24.34 PM

user can start from a single file or a directory as below  sample screenshot

  1. for a directory

Screen Shot 2016-03-03 at 6.01.34 PM

2. for a single file

Screen Shot 2016-03-03 at 6.00.34 PM

Get more information from here: P4Intellij


P4Intellij 0.5.0 is released!

what’s new:

  1. Move “P4Intellij” menu group from Main Menu->Tools-> P4Intellij to Main Menu -> P4Intellij, just before “VCS”
  2. Add “Diff Previous” function in History View, can get diff between selected revision with previous one
  3. Some bug fix

check here for more detail: http://plugins.jetbrains.com/plugin/7620

also P4Intellij is open for donation, your donation will make the plugin – freeware better.

Donate by PayPal

p4Intellij 0.3.0 is released

Change List:

  1. Replace “Sync All” by “Get Latest” based on user selection. (“Sync All” will sync all workspace file, but “Get Latest” will only sync file or directory based on user selection)
  2. Improve perforce connection management that does not need restart Intellij when connection is lost or re-connected

p4Intellij 0.2.2 is released!

p4Intellij 0.2.2 is released today! You can update the plugin if you already installed previous version.

You can get detailed information from plugin page.

Changes so far:

  1. add p4config into “Tools” menu item
  2. improve efficiency to get workspace file status
  3. add about information dialog
  4. fix connection info display
  5. add password setting into p4config dialog

Tools Menu Item:

tool menu item

P4 configuration dialog:


P4 change list management:

Screen Shot 2014-12-19 at 2.57.49 PM

P4 function in editor view:

editor right click

P4 function in project navigation view:

right click

You can explore more function by using it and feel free to leave a comment if you hope new feature!

Fix “Client can only be used from host” Error

There is a known error for perforce client with error message “Client ‘xxxx’ can only be used from host ‘yyyyy’.”, you can find detailed explanation from Perforce knowledge base here.

This was caused by an optional parameter “Host” when you setup your workspace, if you set your workspace with this parameter such as “Host: host1”, then you won’t be able to “restore” the same p4 workspace on another machine or when p4 client can not correctly get hostname such as got “localhost” which not match the original “host1” value.

A simple way to fix this issue is by removing the “Host” parameter in the workspace setting, you can do this either by “p4 client” or in p4v.

p4Intellij installation

Intellij IDEA provide two convenient ways to install plugin, you can download the plugin from repository page and install by yourself after you get a local copy. Another way is install directly from the repository. Both you need click “Intellij IDEA -> Preferences -> Plugins(IDE Settings, left panel)”.

install1 install2

In the first screen, you can select “Install plugin from disk…” to install the plugin you downloaded, that is the first way. You can also select “Browse repositories…” to go to second screen and search for “p4intellij” and click “install”.

This Plugin is compiled by JDK 7.0, so you need to run your Intellij on JDK 7.0.

For Mac user, there are some default problems that Intellij can not run JDK7.0, below is the way to fix:

1) Upgrade your JRE to 7.0;

2) /Applications/IntelliJ IDEA 13 CE.app/Contents/Info.plist
change “JVMVersion” from 1.6* to 1.7* as below
3) restart Intellij