Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    pbrubaker
    @pbrubaker
    I use Perforce for version control, could this be caused by package.json being read only when I used vsce to package the extension?
    Robert Wildling
    @rowild
    SVG tags won’t autocomplete or autoclose in VSCode (and I thing not in any other editor either). Is there a reason for that?
    (I often use svg with „use“ inside HTML. I would expect that once I type <sv I would get emmet support and, once the tag is closed, the autoclosing tag.)
    Neil Duffy
    @skiv71
    Any idea why vscode complains about a c header definition being undefined, when the compile manages just fine?
    I've seen issues reported to this regard for older releases, but was apparently fixed.
    Neil Duffy
    @skiv71
    for info, using WSL2 under windows and this is clearly an intellisense issue
    can anything that microsoft got their hands in (yes I know its OS, but idiots breed idiots) be right?
    Despite all the google searches, stupid config files, this setting was the only thing that worked (which is NOT the default)
    "C_Cpp.intelliSenseEngine": "Tag Parser"
    HenrikHolmIT
    @HenrikHolmIT
    Are there any examples out there that shows how to do a more advanced vscode.Hover tooltip? Currently I just show a simple text but would like to do action texts like what vscode does when hovering over a syntax error for example
    Lucas Trevisan
    @lucastrvsn
    Hey guys, how can I create dynamic keybindings for vscode? I'm create a keymap extension and I need to do it
    1 reply
    Lean Junio
    @leanjunio
    Hey guys, how can I debug a docker container without having to attach the container first?
    Safa Alfulaij
    @SafaAlfulaij
    Hi all. Using the quick open (Ctrl+P), is it possible to sort the results based on the closet to the current file? For example I have 10 controller.js files, and I need the one that is near the current template.html file in this folder.
    Steven Johnson
    @stevenj
    What is wrong with vscode, all of a sudden when i save a file its refusing to let me hit enter and i cant do any more work, for AGES. productivity has gone from 10 to 0 with no explanation as to why.
    When it does this it throws up a box about "Getting code actions" which means nothing to me???
    certainly its nothing i configured it to do, and its only just started doing it.
    The only like complaints i have seen are about the insider build and eslint. I am editing python code, and NOT on the insider build.
    Steven Johnson
    @stevenj
    Doing it again: The exact message is: "Saving 'myfile.py': Getting code actions from ''GitHub Pull Requests and Issues'' ([configure])."
    Never seen this before EVER.
    HenrikHolmIT
    @HenrikHolmIT
    Is it possible to have a DEBUG precompile flag like in .NET in TypeScript and extension building?
    When debugging I like to setup some debugger log writes but those are not important when extension is live but I dont like have to remove those Writes or to have a Debug boolean value that I have to switch back and forth when I build for release.
    Alessandro Fragnani
    @alefragnani
    @stevenj Have you tried to run VS Code disabling all extensions? Maybe the issue is not just VS Code itself but the extensions that does provides Code Actions while you are coding. Because this Getting Code Actions.. seems to be spread across other extensions like ESLint, Go, I suppose Python may provide that as well.
    Caleb Everett
    @CalebEverett
    does anybody know how I can get my terminal output to not be all junked up?
    ⠋ Locking...
    
    ⠙ Locking...
    
    ⠹ Locking...
    
    ⠸ Locking...
    
    ⠼ Locking...
    
    ⠴ Locking...
    are there settings to format it so that it is just plain text - it looks like its trying to add formatting or colors
    Peak
    @pattarika
    I started getting this error this weekend. is this caused by extension I installed or it's something else? anyone know? It's happening when I tried to preview README.md, and when I'm on the marketplace window and I click any extension Error loading webview: Error: Could not register service workers: TypeError: Failed to register a ServiceWorker for scope ('vscode-webview://0d565624-96e7-4bcc-9912-3e59f30e7e4d/') with script ('vscode-webview://0d565624-96e7-4bcc-9912-3e59f30e7e4d/service-worker.js?platform=electron&id=0d565624-96e7-4bcc-9912-3e59f30e7e4d&vscode-resource-origin=https%3A%2F%2F0d565624-96e7-4bcc-9912-3e59f30e7e4d.vscode-webview-test.com'): ServiceWorker cannot be started.
    Steven Johnson
    @stevenj
    @alefragnani turns out it was the gitlens extension, for some reason it had spuriously decided to consume 100% CPU and whatever it was doing was causing that issue. I disabled it and the issue has gone away.
    1 reply
    tloveland1
    @tloveland1

    I started getting this error this weekend. is this caused by extension I installed or it's something else? anyone know? It's happening when I tried to preview README.md, and when I'm on the marketplace window and I click any extension Error loading webview: Error: Could not register service workers: TypeError: Failed to register a ServiceWorker for scope ('vscode-webview://0d565624-96e7-4bcc-9912-3e59f30e7e4d/') with script ('vscode-webview://0d565624-96e7-4bcc-9912-3e59f30e7e4d/service-worker.js?platform=electron&id=0d565624-96e7-4bcc-9912-3e59f30e7e4d&vscode-resource-origin=https%3A%2F%2F0d565624-96e7-4bcc-9912-3e59f30e7e4d.vscode-webview-test.com'): ServiceWorker cannot be started.

    I am having the exact same issue

    2 replies
    bryanr07
    @bryanr07

    Hey there,

    I'm having a problem everytime I open up any python file in Vscode, it opens about 5 times the setup window for Pyhton and this happens every single time I open VS. I've tried so many things but I ran out of options so here I am :(. I'll post what it seems like. Once I every popup it works normally, it seems it happens just when I start the app.

    I hope someone can help me, thank you in advance

    image.png
    Joe Lencioni
    @lencioni
    :wave: I am attempting to instrument TypeScript initialization performance using a vscode extension and wondering if someone here might be able to help me with this question? https://stackoverflow.com/questions/67539071/how-to-instrument-typescript-initialization-time-in-a-vscode-extension
    Meghan
    @nektro
    if i have a folder open, is it possible to use the local .vscode folder to make a grammar specific to that workspace
    i tried .vscode/syntaxes/{lang}.tmLanguage.json but that didnt do anything on its own
    Emil Valeev
    @emil14
    Screenshot from 2021-05-24 14-52-23.png
    Hi! I have a question about "Search and replace" tab.
    Is there a way to configure VSCode to show all occurrences in line at one line? For example I look for "docker" in my repo and I see these two lines in frontend.yaml , but I would like to see them on a single line.
    Thank you!
    Jonas Amundsen
    @badeball
    I'd like to create an extension for a very project-specific purpose and I have no desire to publish it. Can one use / install extensions from like a sub-directory of the very project it is intended to be used?
    2 replies
    Aayush Sharma
    @techdiary
    Is there a way to have code folding in python code
    Dmitry
    @helviett
    Hello! Does anybody know any advanced options to print collection in WATCH windows? E.g. To print each element in specific way? As an example watch expression below provides literally no information, I have to unwrap objects myself or write object accessor for each element. How can at least show only .base.base._M_elems for each array element? Generally , it would be nice to have an option define how to print each array value e.g. to print .base.base._M_elems[0], .base.base._M_elems[1] for each array element. Otherwise the watch windows is pretty uneasy to use.
    image.png
    burzum
    @burzum
    Hello Is there a way to get the curly bracket in the next line when creating a new function? And can it somehow autocomplete doc blocks starting and ending with / /?
    kothaooru
    @kothaooru

    Hello , i am looking for regex expressions to find/replace some code in vscode. Am not sure how to start on this.

    Example:
    browser.click('#element'); ----> $('#element').click();
    browser.setValue('input', 'value'); --> $('input').setValue('value');
    browser.moveToObject('#element', 0, 10); ---> $('#element').moveTo({ xOffset: 0, yOffset: 10 });

    Jonas Amundsen
    @badeball
    An extension using the direct implementation, IE. not a language server, will it run inside a shared node environment? Like, should such extension try to EG. not modify native prototypes in fear that it'll affect other extensions?
    codingdave
    @dtschfr:matrix.org
    [m]
    Do you know how I can turn off the toasts (popup messages) in the bottom right? They are regularly stopping me from working because they appear frequently over the text that I have to read.
    ... and they never provide value for me
    Jonas Amundsen
    @badeball
    Is vscode.Uri from @types/vscode more or less the same as vscode-uri?
    ajuanjojjj
    @ajuanjojjj
    image.png
    Hi, I'm getting some weird behaviour for "Format on Save" with "Git" mode for it, see image above
    Any suggestions? For now I'll just go back to the "file" mode, but it'd be nice to get it fixed :P
    Austin Meyer
    @frizzkitten
    hi! just wanted to provide feedback on the new update - i really liked the easy way to split the terminal and trash a terminal before, and now it takes extra button clicks to get there - please bring back the split and trash buttons!
    theparadoxica
    @theparadoxica:matrix.org
    [m]
    is there a way to uninstall the build and rebuild vscode -- I am getting a compilation error due to partial build
    Rahul Mohandas
    @rahul0705
    I've got a question, I saw a video (cannot find it) earlier this month sharing some great custom keybinds. One of which was automatically "google" selected text. Does anyone know where I can find that resource. I am looking to pull it into my setup
    Rahul Mohandas
    @rahul0705

    I've got a question, I saw a video (cannot find it) earlier this month sharing some great custom keybinds. One of which was automatically "google" selected text. Does anyone know where I can find that resource. I am looking to pull it into my setup

    I've found it, incase others come looking (looks like it may not be VSCode specific) https://youtu.be/RLBAJ2HMmSs?t=605