Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    JesseWebDotCom
    @JesseWebDotCom
    The rest of my project is this (https://github.com/microsoft/vscode-remote-try-python) but with a hello_world.py that contains print("hello world")
    sm
    @simonmic:matrix.org
    [m]
    g'day all. In the Explorer > Outline pane, what does Sort By: Category mean ?
    apps used to have a "Get help for menu item" command, is that a thing nowadays ?
    sm
    @simonmic:matrix.org
    [m]
    hard to find, but I guess it means variable, function, constructor etc. And it does not consider static a category
    mei
    @wjvcyxnsbj:mozilla.org
    [m]
    i dunno why, but vscode stopped creating .vscode folder when i open a folder with it. isn't that necessary to have workspace preferences?
    actually it's created when i change a setting. the weird part is that it doesn't when i enable/disable an extension only for the workspace, although this preference is saved. not sure where
    Psy-Q
    @psy-q
    is it not possible to skip indenting when inserting a newline via enter? if you copy a block of YAML and want to duplicate it below, copy/enter/paste will not keep the original indentation but instead use the indentation level of the existing block of YAML. i've tried ctrl-enter/shift-enter etc. but it doesn't seem to do that.
    Wellington Almeida
    @wsalmeida:matrix.org
    [m]
    Good afternoon, I'm getting this error message as I start vscode on Debian with kde plasma, I got from Lida in the post it says to edit the file but I'm confused to complement the X11 line I'm not using xorg and yes wayland can someone help I'm grateful?
    mei
    @wjvcyxnsbj:mozilla.org
    [m]
    but from the debug menu it start just fine...
    the first error happens when i use live preview extension from microsoft. welp
    tim.vah
    @tim.vah:matrix.org
    [m]

    This message is replying to a Matrix event but we were unable to find associated bridged Gitter message to put it in the appropriate threaded conversation.

    I know that you can pass a workspace dir just like you can to normal cli, maybe they works for workspace files to. Take a look at "Testing Extensions" in the extension development docs, there is an example on doing that for the tests, but works exactly the same for the extension itself.

    Nvm, that has been moved to the extension examples repo. But basically you can just add the path to the launch args
    NeoCortex97
    @NeoCortex97
    Hey everyone. Maybe my next few questions are really dumb or maybe they are "rtfm" questions, but I'm really new to all that and hadn't worked with js/ts in a long time. So please excuse if that's the case.
    I want my extension to launch automatically on startup, but the example in the "getting started" section of the docs does only activate on first command. How would I get my extension to start on vs-code startup?
    NeoCortex97
    @NeoCortex97
    nvm, found out how to use activation events
    NeoCortex97
    @NeoCortex97
    Next one:
    How would I best store state in my extension?
    tim.vah
    @tim.vah:matrix.org
    [m]
    I guess that largely depends on the architecture of your extension and what it does. I don't think there is much convention on how to do that. However I would check if you really need to store things during runtime at all. VS Code does many things on demand so you preferably might want to calculate the data when it's needed.
    aduialthin
    @aduialthin:matrix.org
    [m]

    A very newbie question. So I may be asking stupid question. I clone an open source golang project that contains source code. Now I want to learn by debugging its code. I click Run and Debug button with following launch.json file

    {
        // Use IntelliSense to learn about possible attributes.
        // Hover to view descriptions of existing attributes.
        // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
        "version": "0.2.0",
        "configurations": [
            {
                "name": "Launch Package",
                "type": "go",
                "request": "launch",
                "mode": "auto",
                "program": "${fileDirname}"
            }
        ]
    }

    DEBUG CONSOLE prints

    Starting: /home/jason/go/bin/dlv dap --check-go-version=false --listen=127.0.0.1:41767 --log-dest=3 from /home/jason/workspace/github.com/chlin501/serf/.vscode
    DAP server listening at: 127.0.0.1:41767

    But I don't know how to trigger the debugging process. This may be because to run that project artifact, it's done by creating a single binary first. Then start a server and issue a command from another terminal (client). In such case, what should I do to debug the project? Thanks

    Neonit
    @Neonit
    Any idea how I can specify the location of a library's source files for C/C++ Debugging?
    Wellington Almeida
    @wsalmeida:matrix.org
    [m]
    Do all vscode plugins run on this branch?
    https://vscodium.com/
    Blaise Swanwick
    @bswanwick
    Does anyone know if VSCode supports code completion for Typescript? Say, I have a promise like this: Promise<SomeType>. VSCode knows it's a promise and knows it's return type. So, I want to know if VSCode can automatically generate the .then() for me with the arrow function and function parameters filled in by Intellisense. So, if SomeType looks like this : { foo: boolean; bar: string } I want to be able to type myPromise.then( then hit a keyboard shortcut and have VSCode fill in the rest so it look like: myPromise.then((foo,bar)=>{return;}) does this exist?
    1 reply
    Alexey Murz Korepov
    @murz:ru-matrix.org
    [m]
    Does anyone have problems with downloading extensions now? I have this problem:
    [2022-05-04 06:32:59.954] [remoteagent] [error] Failed to install extension. xdebug.php-debug
    [2022-05-04 06:32:59.957] [remoteagent] [error] Error: Client network socket disconnected before secure TLS connection was established
        at connResetException (node:internal/errors:691:14)
        at TLSSocket.onConnectEnd (node:_tls_wrap:1585:19)
        at TLSSocket.emit (node:events:402:35)
        at endReadableNT (node:internal/streams/readable:1343:12)
        at processTicksAndRejections (node:internal/process/task_queues:83:21)
    Alexey Murz Korepov
    @murz:ru-matrix.org
    [m]
    Seems there is a problem with https://cdn.vsassets.io/ - it show me "Secure Connection Failed"
    Justin Georgeson (Work)
    @jghal
    I'm having an issue where the source view keeps loading the commit message text field keeps loading the message for an old cherry-pick that I have rebased away, deleted from reflog, and aggressive gc'ed my repo
    using a find | xargs grep I can't find any file in either the .git directory or ~/.vscode-server (the workspace is remote ssh) that contains substrings from the commit message
    Justin Georgeson (Work)
    @jghal
    I just removed that repository from my workspace, deleted it, cloned a fresh copy, added it back to workspace, and that commit message still loads up. so definitely seems like it's in some vscode specific cache
    Stoplion
    @stoplion
    Does Typescript debugging work in VSCode this month?
    akc3n
    @akc3n:grapheneos.org
    [m]
    This has got to be one of the most laggiest rooms on the matrix home server. Too bad 😞
    Siddharth (Antariksh)
    @antariksh17
    where I am supposed to chat if i want to contribute to vs code
    as a newbie dev?
    1 reply
    can someone help me out
    1 reply
    finalv0id
    @finalv0id:matrix.org
    [m]
    anyone using code-oss flatpak? i have a question, is it guaranteed that extensions are pulled from the upstream repo when using open-vsx?
    R.A.
    @chickenham
    The bracket pair colorization in the latest VSCode is a game changer that's improving my life!
    kalli0815
    @kalli0815:matrix.org
    [m]
    hey there.
    i had a problem with the gitlab workflow extension to connect to my gitlab instance.
    that should be fixed now after i reworked.
    the problem is, that it still shows the old errors when trying to connect to the new URL.
    is there a way to completely remove an extension and its settings/cache/...?
    i alrdy tried reinstalling it and deleting ~/.vscode/extensions and ~/.config/Code/CachedExtensionsvSIXs and now im running out of ideas :)
    kalli0815
    @kalli0815:matrix.org
    [m]
    also tried "developer: reinstall extension", which should do what i need, but it doesnt. the old connection still shows up
    kalli0815
    @kalli0815:matrix.org
    [m]
    completely reinstalled vscode with deleting both config dirs in the process. now its fine...
    painful process tho
    cleomenezesjr
    @cleomenezesjr:matrix.org
    [m]
    Is there any way to change the behavior of the tab in auto complete? I would like tab/shift tab to navigate between each option and enter to select.
    1 reply
    Nagendra
    @0xn2k3
    Will vscode use tauri or rust in future??
    kalli0815
    @kalli0815:matrix.org
    [m]
    didnt do any research on that topic, but its quite unlikely i guess.
    simply due to the fact that this would mean a more or less rewrite i guess
    1 reply
    im also not a big fan of electron, but vscode is as good as it gets if it comes to that.
    @0xn2k3
    tim.vah
    @tim.vah:matrix.org
    [m]
    To the vscode extension devs: how are you using the mocha test setup included in the extension template? I'm unsure wether to use it more like end to end tests, so using the actual installed extension or like integration tests, testing multiple extension components together. I would prefer the later, but a lot of functionality comes from the API that vscode provides to the extension. But stubbing that is often hard, because most vscode API components are readonly and Dependcy injection doesn't make sense in most cases.
    aftix
    @aftix:matrix.org
    [m]
    I'm using vscode for rust, when I type < for a comparison vscode closes it with >, how do i stop this
    aftix
    @aftix:matrix.org
    [m]
    I figured it out, I was putting the language specific setting in the wrong place to disable
    Cleo Menezes Jr.
    @cleomenezesjr:matrix.org
    [m]
    python devs that use Black for formatting, when I format with VSCode's black, it ignores the problem of very long lines and formats this way. Does it happen to anyone else?