Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Andrew odeki
    @Andhruh_twitter
    [12:23:37.862] Remote server is listening on 34409
    [12:23:37.862] Parsed server configuration: {"serverConfiguration":{"remoteListeningOn":{"port":34409},"osReleaseId":"alpine","arch":"x86_64","webUiAccessToken":"","sshAuthSock":"","display":"","tmpDir":"/tmp","platform":"linux","connectionToken":"111aa111-11a1-1a1a-11aa-111a1aaaa11a"},"serverStartTime":0,"installUnpackCode":""}
    [12:23:37.864] Persisting server connection details to /home/aok-1/.config/Code/User/globalStorage/ms-vscode-remote.remote-ssh/vscode-ssh-host-80186c9a-f80445acd5a3dadef24aa209168452a3d97cc326-0.75.2022022515/data.json
    [12:23:37.869] Starting forwarding server. localPort 43945 -> socksPort 39873 -> remotePort 34409
    [12:23:37.870] Forwarding server listening on 43945
    [12:23:37.870] Waiting for ssh tunnel to be ready
    [12:23:37.872] [Forwarding server 43945] Got connection 0
    [12:23:37.875] Tunneled 34409 to local port 43945
    [12:23:37.876] Resolved "ssh-remote+godev" to "127.0.0.1:43945"
    [12:23:37.892] ------
    
    
    
    
    [12:23:37.894] Failed to set up socket for dynamic port forward to remote port 34409: Socket closed. Is the remote port correct?
    [12:23:37.933] [Forwarding server 43945] Got connection 1
    [12:23:37.936] Failed to set up socket for dynamic port forward to remote port 34409: Socket closed. Is the remote port correct?
    nirvananas
    @nirvananas

    Hey guys,

    I need to use remote-ssh to connect to my organisation servers. However, I am facing a kind of two steps connection, where "ssh username@organisationName" + password brings me to a first platform which then asks me for the machine on which I want to connect.

    When connecting through a terminal, it works well. However, if I want to do it with remote-ssh, as soon as I arrive on that first plateforme, vscode tries to install its remote applications.

    How can I make remote-ssh to pause its installation until I select the machine on which I want to go and provide the server my password ?
    thx =)

    ongy
    @ongy:matrix.org
    [m]
    @nirvananas: can you set it up to just proxy-ssh for you, instead of some forced application that provides the choice?
    1 reply
    ongy
    @ongy:matrix.org
    [m]
    there's a way to tell ssh to first ssh to an intermediate node to then go to the final. and if you put the final in as target, it should work with the extension
    if that doesn't work in your setup, I'd yell at some admin
    mcnesium
    @mcnesium:matrix.org
    [m]

    Is there a way to sort of exclude or "externalize" some setting from settings.json? I have set up my settings.json to be auto-synced with my Nextcloud, so I have the same settings on multiple devices. Now, I switch light and dark themes on my systems multiple times during the day, which also changes the theme setting in settings.json every time. so a new version will get uploaded to Nextcloud everytime.

    Sometimes this results in a conflicted file, because I switched themes back and forth too fast, or whatever. So I was thinking of whether I can say something like "workbench.colorTheme": {"source": "/home/me/.config/vscode/workbench.colorTheme.json"} which will then be excluded from Nextcloud sync.

    1 reply
    Alexey Murz Korepov
    @murz:ru-matrix.org
    [m]
    Anybody know extension that allows open files in VS Code editor from url (in readonly mode), like this: https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/charts/ingress-nginx/values.yaml
    ...without routine to manually downloading it to local folder and opening
    Nanashi.
    @sevenc-nanashi
    I need help with extension:
    I want to get the color of currect color theme, is there any way?
    I want to use button.foreground in WebView

    Theme colors are available as CSS variables in webviews, and an extension is available which provides IntelliSense for them.

    Found it

    HannaSwidaPieces
    @HannaSwidaPieces
    Hey, has any of you guys created an extension and used sentry to monitor it? Did you use electron version?
    Cleo Menezes Jr.
    @cleomenezesjr:matrix.org
    [m]
    What extension do you recommend or config for putting these dots in the indentation?
    1 reply
    Cleo Menezes Jr.
    @cleomenezesjr:matrix.org
    [m]
    Thx
    HannaSwidaPieces
    @HannaSwidaPieces
    Hey so I have used the globalThis to try to get a rejection handler which works on regular ts.
    globalThis.onunhandledrejection = event => { console.log(event.promise); console.log(event.reason); // get the rejection reason };
    However if I put it inside my vscode extension code it does not handle rejections, neither does the "test" appear on the console. It doesn't break the extension too. Any ideas how to make it work? Or how to make a global rejection handler?
    Vernon Kesner
    @vernonk
    Has anyone been able to get git hooks which kickoff Cypress working when the hook executes in VSCode? I'm having this exact issue - microsoft/vscode#135076 - but I can't seem to find any possible solutions anywhere. Trying to implement test runs before pushing for my team and the hook works on command line and in git gui but fails miserably in VSCode.
    Arshia Aghaei
    @arshiaaghaei:matrix.org
    [m]
    Hi
    What are your favorite VSC themes?
    I'm looking for one with a green/cyan composition
    Dark mode
    My fav theme on vim was this
    Arshia Aghaei
    @arshiaaghaei:matrix.org
    [m]
    (the dark one)
    Maybe there's a theme that looks like this?
    Annoh Karlgusta
    @KarlGusta
    Hello. How do I run VS Code development environment. I want to see the changes in make. It runs on Docker but when I make any changes I can't see it. Thanks
    please, upvote
    Viorel-Cătălin Răpițeanu
    @catalin:one.ems.host
    [m]
    Hi. For VS Code remote ssh extension, is it possible to change the default temporary files needed for the server (ex: vscode-typescript1002, hashes(c77ae94f-5cc4-466e-b807-71d32a7e42f8) to a different location)?
    Also, there is a clean and easy way to remove them?
    jcwasmx86
    @jcwasmx86:matrix.org
    [m]
    Hello. I have a Languageserver running that is communicating with VSCode. Is there any possibility to dump the communication between those two programs?
    jcwasmx86
    @jcwasmx86:matrix.org
    [m]
    Well, strace -f -o strace.txt -s 400000 -e trace=write codium is enough for my purposes
    I just have to grep Content-Length strace.txt -A1 to get the requests and responses, a bit hacky but works for me
    Cody Lundquist
    @meenie
    Greetings all :). Any help on this question would be highly appreciated! Thank you :)
    kinghat
    @kinghat:matrix.org
    [m]
    im having a hard time getting my ssh key pass to remote container so i can sync with origin.
    kinghat
    @kinghat:matrix.org
    [m]
    this might be related: microsoft/vscode-remote-release#6432
    Ravi Kumar
    @Ravikc
    I need to make few changes to how the docker build command is generated when launching code with Remote Containers extension. Could anyone please point me to the related codebase? I cant seem to find it.
    juxeii
    @juxeii
    I want on startup two terminals to open(/bin/bash.) These terminals should start in different directories (/dir1 and /dir2). Also, these terminals should be in split mode. Is this possible with tasks.json?
    Aashish Gangwani
    @aashishg
    hi guys I cant see format selection when i open cmd + p why? i m on m1
    BuZZ-dEE
    @buzz-dee:matrix.org
    [m]
    @aashishg: not sure, but maybe you have no format plugin activated, that supports "format selection" for that type of source
    Rob
    @borriej
    Hi Guys :wave:
    weirdest thing, al lot of my extensions, not all, are disabled by ‘environment'
    "This extension is disabled by the environment."
    Schermafbeelding 2022-03-17 om 20.29.58.png
    how do i turn them baack on?
    Rob
    @borriej
    i had to do with workspace trust
    solved
    zwx00
    @zwx00
    If anyone is familiar, I'm trying out the features option in devcontainers, and when I put git: latest there, it compiles it from source, which is insanely slow and impractical IMO. Any idea why this is the case? I will default to custom startup script but just wondering why compiling from source makes sense.
    nicmollel
    @nicmollel:matrix.org
    [m]

    vscode isort and pre-commit hook question. I have this settings config

    "python.sortImports.args": [
        "--profile",
        "black",
        "--filter-files",
        "--force-grid-wrap",
        "--remove-redundant-aliases"
    ],

    and this pre-commit config

      - repo: https://github.com/pycqa/isort
        rev: 5.10.1
        hooks:
          - id: isort
            args:
              [
                "--profile",
                "black",
                "--filter-files",
                "--force-grid-wrap",
                "--remove-redundant-aliases",
              ]

    i would have expected imports sorted at file save not to be modified by the pre-commit. but I have few cases where this is happening. any idea how to troubleshoot or what could be the cause?