- added ‘code statistics’ function in menu items to count code lines
- some other minor improvements
below is a sample screenshot for a result of a directory
user can start from a single file or a directory as below sample screenshot
- for a directory
2. for a single file
Get more information from here: P4Intellij
Add several function and also improve p4 server connection management.
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.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:
- add p4config into “Tools” menu item
- improve efficiency to get workspace file status
- add about information dialog
- fix connection info display
- add password setting into p4config dialog
Tools Menu Item:
P4 configuration dialog:
P4 change list management:
P4 function in editor view:
P4 function in project navigation view:
You can explore more function by using it and feel free to leave a comment if you hope new feature!
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.
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)”.
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