Sitelet https://web.archive.org/web/20200916093137/https://gitter.im/Microsoft/vscode
by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    André Carvalhais
    @carvalhais
    Hi, I'm having issues using the Remote-SSH extension. It looks like I'm able to successfully connect to the remote, but eventually the extension fails (does not open the directory selection dialog), with errors Could not fetch remote environment and Failed to connect to the remote extension host server (Error: Time limit reached). Any help is appreciated.
    KillerSpaz
    @killerspaz
    I'm having a tough time with auto importing, and i've tried everything I can find on the internet from installing TS, forcing checking JS files, adding extensions out the wazoo, etc... ES6 Classes seem to import fine, but say I have a config object exported as default and it doesn't complete or import. Is this beyond the js/vscode integration? Have I been working in typescript too long and been spoiled to think this was just a common feature?
    feel free to @ me if i'm not around
    JomoPipi
    @JomoPipi
    image.png
    Hi,
    I'm trying to use the new ||= and &&= operators in JavaScript but I keep getting an error: Expression expected. and the = is underlined red:
    What is a nice way I could get it to be supported?
    No Name
    @projectshave_twitter
    How do I open workspaces & files completely from the keyboard? Right now it opens the File dialog window.
    KillerSpaz
    @killerspaz
    you likely need to bind a keybinding to the command in user settings @projectshave_twitter
    HenrikHolmIT
    @HenrikHolmIT
    How do I get a list of open files? An editor will only give me the file currently being edited or in front. Need to also check other open files for dirtyness
    Davidxu2016
    @Davidxu2016
    Does anyone use Statarun?
    matrixbot
    @matrixbot
    dtschfr Hi guys, I am trying to use the git branch name as a Variables Reference. I am failing though. I tried to create a input variable first and now I try to dig through gitlens to find the variable that shows the branch name in the bottom left. Any idea how I can achieve my goal? My final aim is to be able to use the git branch name as parameter for cmake install-prefix and for startup parameters of my application that I am going to debug.
    matrixbot
    @matrixbot
    dtschfr Hi, how can I have the result of a command in a variable that I can use in task/launch?
    Shlomi Levi
    @wizardnet972
    Hey guys! Can somebody help me with my repo? the typescript is not offer completion from the paths in my tsconfig.json. can't find why.
    https://github.com/wizardnet972/lerna-test
    -
    https://stackoverflow.com/questions/63755918/why-vscode-doesnt-intellisense-function-inside-packages-in-typescript-monorepo
    image.png
    SudoNova
    @SudoNova
    Hello ppl. Is it possible for us to see which extension is suggestion a specific record in autosuggestion bar?
    Shlomi Levi
    @wizardnet972
    Where in the vscode source code this calculate?
    image.png
    Carles Cufí
    @carlescufi
    On macOS, every time I close the VS Code window and then reopen it I get the welcome window instead of the folder and files I had open. I have tried "files.hotExit": "onExitAndWindowClose", "window.restoreWindows": "all", and "window.reopenFolders": "all" without success
    Shlomi Levi
    @wizardnet972
    nobody have the same problem in vscode??
    matrixbot
    @matrixbot
    Celmor how do I hide hidden files in explorer?
    HenrikHolmIT
    @HenrikHolmIT
    Is there a way to select a configuration and then run a debug session from an extension?
    I'd like to create a new debug configuration, select it and then start a debug on that configuration.
    Massimo Costa
    @mcosta74
    hi there, I'm using VSCode since 2 years
    a couple of days ago the integrated python linter stopped to work
    blankhart
    @blankhart
    i just opened vscode and the only keys that will work in the editor are j, f, and a few punctuation marks like [. on my linux ubuntu 20.04 the keyboard works fine for all other applications, including gitter on chrome. any ideas?
    HenrikHolmIT
    @HenrikHolmIT
    I need a component that can read json with comments AND write them back to file when changes have been done. I can only find components that manages to read them. Not write. Like JSONC or JSON5. Those two can read but if I make changes and save the file the comments are gone.
    HenrikHolmIT
    @HenrikHolmIT
    comment-json seems to work.
    Carl Schierig
    @CozyPenguin

    Hey,

    I'm currently trying to propose VSCode as the default editor in IT class at my school.
    The teachers like the idea as we're currently using a different editor for each language, but we would need some customization to being able to install and use it on the school computers.
    The main issues are that we need to remove some functionality to not overwhelm students who are new to programming with to many features
    and that we don't want them to being able change the config, to install extensions, etc. on their own. The latter one can probably being achieved by installing a custom build
    and just bundling the extensions we want as default extensions. But this comes with the limitation that uninstalling an extension would be a lot of work,
    especially when repeating it on 40 computers. On the other hand, we would want to lock certain actions like installing extensions or changing the configuration behind a password
    or something similar. I am currently working on creating a custom build, but it's a lot of code and I wanted to ask if

    a) there's already a solution for some of the issues I have
    b) where to ask for help when searching for something in the code

    thanks in advance

    2 replies
    Neil Duffy
    @skiv71
    var validator: (v) => v.every(i => typeof i == Number && i >= 0 && i <= 100)
    This condition will always return 'false' since the types 'string' and 'NumberConstructor' have no overlap
    2 replies
    someone tell me why vscode generates such a stupid error message? It's obviously wrong, and google searches show its been seen my other users...
    Neil Duffy
    @skiv71
    its not a string at all, v in an array of Number(s)
    1 reply
    matrixbot
    @matrixbot
    Celmor how do I hide hidden files in explorer?
    Will 保哥
    @doggy8088

    In a Multi-root Workspaces, when I open a file in a project, how can I run task in that project quickly?

    Now, I have to execute Tasks: Run Taskand choose one task in ALL tasks in this Multi-root Workspace. I have lots of projects in the Multi-root Workspaces. Can I assign an hotkey to run specific task in ACTIVE project?

    What I expected is something like "Run Task in Context" command, is it possible to do in latest VSCode release?

    matrixbot
    @matrixbot
    deathiscoming hi
    Dharmadah Synthopractantheus ok bye
    HenrikHolmIT
    @HenrikHolmIT
    Is there a way to present a folder browser to the user and let them pick a folder within a workspace folder or maybe even outside workspace but to get the result of the browsing back in the code?
    12 replies
    Himanshu Joshi
    @Himansh97554269_twitter
    Error: write EPIPE
    at WriteWrap.afterWrite [as oncomplete] (net.js:779:14)
    Getting this error on vscode 1.49
    at debug
    mode
    Oliver Salzburg
    @oliversalzburg
    Sounds like a programming error, not a VS Code error
    Himanshu Joshi
    @Himansh97554269_twitter
    Got it. Actuallly body-parser package is deprecreated which causing this error to occur.
    Sorrry Microsoft for blaming your product and ignoring bug in my code.
    DoubleFelix
    @Double-Felix
    What do I need to change beginCaptures to so that it works with match?
          "keyword.mcb.macro": {
            "match": "(macro)(?= \\S+ ?)",
            "beginCaptures": {
                "1": {
                    "name": "keyword.content.macro"
                }
            }
          },
    I can't figure out why it doesn't apply the scope to the line macro test { either, but that's for another time
    Rohinton Kazak
    @rkazak
    I have just started to see my upgrade restarts take a very very long time. How can I debug what the issue could be?
    onriv
    @onriv
    Hello~, can the vscode setting be used for custom config json file editing? It’s a nice gui for editing json configuration files.
    https://json-editor.github.io/json-editor/ I wanna something like this in vscode, with json schema and rendering a gui tab, I can enter or select value, or hide default/non-required value and so on
    Or is there any similar plugin?
    HenrikHolmIT
    @HenrikHolmIT
    Is it possible to use VSCode on a build server? To launch VSCode without UI and tell it to launch a command or something else?
    I need this to be able do unattended builds on checkin requests.
    20 replies