You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vscode replaces different variables which is quite handy. with "self-defined unknown" settings this also allows project-wide configuration via code-workspace or user-configuration in all projects.
which can then be used also in different other places like the ssh settings:
"ssh.host": "${config:project.server}"
ssh.x11port is a number that trick does not work there.
Is it possible to specify that via another (string) variable already? If not: please consider that "untyped" variant as an additional setting (if set use it, otherwise use ssh.x11port).
The text was updated successfully, but these errors were encountered:
GitMensch
changed the title
allow specification if x11port from configuration
allow specification of x11port via variable
Apr 28, 2021
That's actually quite easy, we only need to allow strings, the conversion is done "in the background", and specifying a non-numeric string is checked on the ssh2 side:
Failed to SSH: RangeError [ERR_SOCKET_BAD_PORT]: Port should be >= 0 and < 65536. Received banana.
(not tested for x11port, will need to be done later)
GitMensch
changed the title
allow specification of x11port via variable
allow specification of port/x11port via variable (as numeric string)
Mar 4, 2022
vscode replaces different variables which is quite handy. with "self-defined unknown" settings this also allows project-wide configuration via code-workspace or user-configuration in all projects.
which can then be used also in different other places like the ssh settings:
ssh.x11port
is a number that trick does not work there.Is it possible to specify that via another (string) variable already? If not: please consider that "untyped" variant as an additional setting (if set use it, otherwise use
ssh.x11port
).The text was updated successfully, but these errors were encountered: