diff options
author | Marcus Tillmanns <[email protected]> | 2023-08-14 09:48:14 +0200 |
---|---|---|
committer | Marcus Tillmanns <[email protected]> | 2023-08-16 06:54:54 +0000 |
commit | f2d62c6d91e4d92abd1e910ae3024f5c242d5a10 (patch) | |
tree | dded2ca054d7893f1b0753d6d924be193fb67221 /src/plugins/copilot/copilotsettings.h | |
parent | 91596316f215713ca9fb3c8a1d2797ce5ebc3b8d (diff) |
Copilot: Add support for proxy settings
For easier testing a docker file is added. You can start
"buildandrun.sh" in copilot/tests/proxy to get a simple
proxy server up and running. The argument "PWDMODE" in
buildandrun.sh can be set to "with" and "without" to get
a proxy server that needs a password or not. The username
and password are user/1234.
Fixes: QTCREATORBUG-29485
Change-Id: I3859c9ad04ebd4f9349e25665ba710e23fb64dea
Reviewed-by: <[email protected]>
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/copilot/copilotsettings.h')
-rw-r--r-- | src/plugins/copilot/copilotsettings.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/plugins/copilot/copilotsettings.h b/src/plugins/copilot/copilotsettings.h index 11e9ace9c6b..b92106c3f73 100644 --- a/src/plugins/copilot/copilotsettings.h +++ b/src/plugins/copilot/copilotsettings.h @@ -18,6 +18,15 @@ public: Utils::FilePathAspect distPath{this}; Utils::BoolAspect autoComplete{this}; Utils::BoolAspect enableCopilot{this}; + + Utils::BoolAspect useProxy{this}; + Utils::StringAspect proxyHost{this}; + Utils::IntegerAspect proxyPort{this}; + Utils::StringAspect proxyUser{this}; + + Utils::BoolAspect saveProxyPassword{this}; + Utils::StringAspect proxyPassword{this}; + Utils::BoolAspect proxyRejectUnauthorized{this}; }; CopilotSettings &settings(); |