vscode-perforce
vscode-perforce copied to clipboard
Can't get it work
Hi all,
from my settings.json
"perforce.addOnFileCreate": true,
"perforce.editOnFileModified": true,
"perforce.bottleneck.maxConcurrent": 0,
"perforce.bottleneck.penalty": 0,
"perforce.client": "192.168.168.4",
"perforce.user": "tlm_dricci",
"perforce.port": "1666",
"perforce.password": "********",
"perforce.editOnFileSave": true,
"perforce.activationMode": "always",
"perforce.command": "p4",
"perforce.realpath": true
from my terminal inside VSCode
> p4 info
User name: tlm_dricci
Client name: DESKTOP-2NHE0U0
Client host: DESKTOP-2NHE0U0
Client unknown.
Current directory: c:\....
Peer address: 192.168.193.32:57026
Client address: 192.168.193.32
Server address: my.customer.com:1666
Server root: /var/lib/perforce/main
Server date: 2020/05/19 15:09:57 -0400 EDT
Server uptime: 73:20:31
Server version: P4D/LINUX26X86_64/2019.1/1796703 (2019/04/30)
ServerID: megaperforce-20171002
Server services: standard
Server license: MyCustomer, Inc. 90 users (support ends 2021/02/24) (expires 2020/07/05)
Server license-ip: 192.168.168.4:1666
Case Handling: sensitive
>
The Perfoce Log
(top down menu on right) in the OUTPUT is completely empty.
From the README.md
Q: Something is not working A: Here are a few steps you should try first:
- Look at the logs with Perforce: Show Output
- Search the existing issue on GitHub
- If you can't find your problem, create an issue, and please include the logs when possible
Pressing <ALT> + P
L
I get following message command 'perforce.showOutput' not found
.
After seeking from closed issues I wasn't able to make it work anyway.
I have to fallback on answer nr. 3 :(
Thank you, iCC
perforce.command
can you try setting it to your perforce installation
Configure a path to p4 or an alternate command if needed
@iccicci your vscode setting "perforce.client" should map to your p4 info "Client name", in this case DESKTOP-2NHE0U0
Thanks @BaankeyBihari and @stef-levesque ,
updated as suggested, now my settings.json looks like follows, but exactly as before 😞
"perforce.addOnFileCreate": true,
"perforce.editOnFileModified": true,
"perforce.bottleneck.maxConcurrent": 0,
"perforce.bottleneck.penalty": 0,
"perforce.client": "DESKTOP-2NHE0U0",
"perforce.user": "tlm_dricci",
"perforce.port": "1666",
"perforce.password": "******",
"perforce.dir": "C:\\Workspace",
"perforce.editOnFileSave": true,
"perforce.activationMode": "always",
"perforce.command": "C:\\Program Files\\Perforce\\p4.exe",
"perforce.realpath": true
The fact I can't get not errors nor any output is making me going crazy! 😥
In log tab Log (Extension Host)
I can find following lines, so it seems VSCode at least tries to load the extension... but nothing more seems to happen
[2020-06-03 14:39:24.523] [exthost] [info] ExtensionService#_doActivateExtension slevesque.perforce {"startup":true,"extensionId":{"value":"slevesque.perforce","_lower":"slevesque.perforce"},"activationEvent":"*"}
[2020-06-03 14:39:24.523] [exthost] [info] ExtensionService#loadCommonJSModule file:///c:/Users/danie/.vscode/extensions/slevesque.perforce-3.2.0/out/src/extension
@iccicci not sure if this will fix your problem, but the perforce.port setting typically includes the full address - i.e. according to your p4 info, it would be my.customer.com:1666.
Alredy tried @AZ2Tonez 😞
Thank you for the try