What to enter into “Client” field in the Perforce setup dialog in IntelliJ IDEA 10.5?

柔情痞子 提交于 2019-12-04 01:34:19
SLaks

You need to enter the name of your Perforce workspace.

If you have set up the command line tool correctly you may run p4 set P4CLIENT on the command-line.

If you use the P4V GUI tool, the workspace name is easily found.

Open P4V and connect. On the top left, above everything, there are your:

[client], [port], [user] - Perforce P4V

They often look something like:

[client] ~ [your-name]_[random-letters-and-numbers]

[port] ~ [url]:[number]

[user] ~ [your-name]

Enter them in IntelliJ and press Apply.


Edit:

If you only see

[port], [user] - Perforce P4V

you need to go to Connection -> New workspace... and create a workspace.

http://www.perforce.com/perforce/doc.current/manuals/intro/index.html before you go any further. Always start by reading the docs, you'll be a lot happier.

You need to enter the local Workspace name into the dialog in Webstorm Options / Preferences to integrate it with Perforce.

In P4V, you can find this by looking at View > Workspace Tree, and then selecting the workspace you are trying to integrate.

Background: I'm setting up Perforce with Webstorm v2016.1 just now. I tried using the name of the workspace stream on the server at first, which kept giving me a "Client Unknown" error. This fixed the issue and allowed the connection to go through.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!