Set Proxy per Machine in Pycharm

已回答

Hi,

we are using Pycharm on a code development terminal server and its behind a proxy. Is there any way to set the proxy in Pycharm per device so not every user has to configure it for itself (or otherwise to deploy proxy.settings file into user profile)?

0

Thank you for the clarification. 

If you want the IDE to use one configuration file for all users of a particular PC, you can try to use a symbolic link to this file. For example, the configuration file  proxy.settings.xml  could be placed in the directory that all users have access to, and the corresponding file in all IDEs configuration directories could be replaced with the symlink to the common file. I can't recommend you using the one configuration directory for all users because it could also share other settings between them (code style, color schemes, and others) and could cause the license collision.

Also, we have the Toolbox Enterprise solution that allows configuration file management, but for now, it is in the closed beta test stage; if your company holds 100+ licenses, we can invite you there. 

1

Could you please provide me with a screenshot of the window where you want to set up the proxy settings? The settings themselves aren't important; it's only needed to point you at the correct configuration file. 

0

Hi Olga,

here we go.

0

The HTTP Proxy settings from the screenshot you provided are described in the  options/proxy.settings.xml  file in the IDE configuration directory. You can set up these settings in one IDE and, after that, copy the file to others. Please, note that the IDE should be closed while copying files. 

0

I did the following, i set the proxy and its saved in "C:\Users\USERNAME\AppData\Roaming\JetBrains\PyCharmCE2022.3\options\proxy.settings.xml" and afterwards i copied the file into "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 2022.3.2\options\proxy.settings.xml". Afterwards i deleted "C:\Users\USERNAME\AppData\Roaming\JetBrains" and started Pycharm from scratch under my user but the proxy settings are not set.

I dont want to copy "proxy.settings.xml" to every user profile. I want to set it per machine and not per user.

 

 

0

Ok, then i solve it via group policies. Other companies provide template (admx) for managing such stuff. Mozilla, LibreOffice, Adobe and of course Microsoft itself are doing it this way. Thanks for your support.

0

请先登录再写评论。