vscode | Visual Studio Code | Code Editor library

 by   microsoft TypeScript Version: 1.79.2 License: MIT

kandi X-RAY | vscode Summary

kandi X-RAY | vscode Summary

vscode is a TypeScript library typically used in Editor, Code Editor, Electron, Visual Studio Code applications. vscode has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

Visual Studio Code

            kandi-support Support

              vscode has a medium active ecosystem.
              It has 147328 star(s) with 25934 fork(s). There are 3262 watchers for this library.
              There were 3 major release(s) in the last 12 months.
              There are 6774 open issues and 151081 have been closed. On average issues are closed in 2 days. There are 401 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of vscode is 1.79.2

            kandi-Quality Quality

              vscode has no bugs reported.

            kandi-Security Security

              vscode has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              vscode is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              vscode releases are available to install and integrate.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vscode
            Get all kandi verified functions for this library.

            vscode Key Features

            No Key Features are available at this moment for vscode.

            vscode Examples and Code Snippets

            No Code Snippets are available at this moment for vscode.

            Community Discussions


            FirebaseCommandException: An error occured on the Firebase CLI when attempting to run a command
            Asked 2022-Apr-03 at 15:24

            Flutterfire just added a CLI for us to use but I'm having a problem with the flutterfire configure command. I keep getting this error:

            i Found 0 Firebase projects. Selecting project liveasy-1. FirebaseCommandException: An error occured on the Firebase CLI when attempting to run a command. COMMAND: firebase --version ERROR: The FlutterFire CLI currently requires the official Firebase CLI to also be installed, see https://firebase.google.com/docs/cli#install_the_firebase_cli for how to install it.

            Even though I've installed the firebase CLI and can run firebase --version with no issues . I installed the standalone binary and when that didn't work I installed it with npm as well. I can login and see my projects list but running flutterfire configure seems to be an issue. I can't also access any firebase commands in vscode.

            I'm I supposed to add something to the PATH in environmental variables? I've already added the cache/bin/ where flutterfire resides but I don't know how to do the same for firebase.



            Answered 2021-Dec-20 at 05:58

            For solving the standalone issue part of your question:

            1 copy the downloaded .exe to your flutter project folder

            2 rename it from firebase-tools-instant-win to just firebase (exe)

            3 run "firebase login" from cmd line in the folder where you put the .exe and continue with flutterfire configure

            This is a quick setup for a single project, if you plan to use firebase cli across multiple projects, you need to rename and move the .exe to a suitable location and fix env/paths issues.

            Source https://stackoverflow.com/questions/70410843


            What is jsconfig.json
            Asked 2022-Mar-29 at 17:49

            If i search the same question on the internet, then i'll get only links to vscode website ans some blogs which implements it.

            I want to know that is jsconfig.json is specific to vscode or javascript/webpack?

            What will happen if we deploy the application on AWS / Heroku, etc. Do we have to make change?



            Answered 2021-Aug-06 at 04:10

            This is definitely specific to VSCode.

            The presence of jsconfig.json file in a directory indicates that the directory is the root of a JavaScript Project. The jsconfig.json file specifies the root files and the options for the features provided by the JavaScript language service.

            Check more details here: https://code.visualstudio.com/docs/languages/jsconfig

            You don't need this file when deploy it on AWS/Heroku, basically, you can exclude this from your commit if you are using git repo, i.e., add jsconfig.json in your .gitignore, this will make your project IDE independent.

            Source https://stackoverflow.com/questions/68675994


            Couldn't start dlv dap
            Asked 2022-Mar-27 at 18:53

            When I launch in VSCode dlv dap debug, I get this message:



            Answered 2021-Aug-13 at 15:50

            You might have some luck switching the delveConfig to use legacy mode:

            Source https://stackoverflow.com/questions/68753251


            fastlane: [!] Google Api Error: Invalid request - Package not found: com.example.todo
            Asked 2022-Mar-20 at 02:27

            I am using React-native for my app. I have named my name reactamplify. I want to deploy my app to Google play-store. For automation deployment I am using first time fastlane. I found this documentation, follow the steps and give API grant access. In my React native app, I navigate to android folder then run this command fastlane init. Give json_key_file path my downloaded auth json file. But I got confused about package name. I search my app name in vscode com.reactamplify replace them into com.example.todo. Then run android folder fastlane supply init, I am getting this error: [!] Google Api Error: Invalid request - Package not found: com.example.todo. I really don't know how to fix it :(. Really lost TBH.

            When I run fastlane supply. I got this image

            PS: It would be awesome if someone gives me example with images



            Answered 2021-Oct-29 at 04:46

            I found the reason. I need to upload at least one build to google Play store app manually. That’s why I got package name error.

            Source https://stackoverflow.com/questions/69073389


            in Typescript, try...catch error object shows "Object is of type 'unknown'.ts(2571)"
            Asked 2022-Mar-18 at 03:47
            router.get('/cells', async (req, res) => {
                try {
                  const result = await fs.readFile(fullPath, { encoding: 'utf-8' });
                } catch (err) {
                  if (err.code === 'ENOENT') { // Object is of type 'unknown'.ts(2571) (local var) err: unknown
                    await fs.writeFile(fullPath, '[]', 'utf-8');
                  } else {
                    throw err;


            Answered 2021-Oct-03 at 06:44

            In JavaScript/TypeScript you can throw anything, not only errors. In theory it could be anything in the catch block. If you want to prevent the type error it could make sense to check if the unknown value is a system error before checking the code.

            Source https://stackoverflow.com/questions/69422525


            Visual Studio Code "Error while fetching extensions. XHR failed"
            Asked 2022-Mar-13 at 12:38

            This problem started a few weeks ago, when I started using NordVPN on my laptop. When I try to search for an extension and even when trying to download through the marketplace I get this error:

            EDIT: Just noticed another thing that might indicate to what's causing the issue. When I open VSCode and go to developer tools I get this error messege (before even doing anything):

            "(node:19368) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.(Use Code --trace-deprecation ... to show where the warning was created)"

            The only partial solution I found so far was to manually download and install extensions.

            I've checked similar question here and in other places online, but I didn't find a way to fix this. So far I've tried:

            1. Flushing my DNS cache and setting it to google's DNS server.
            2. Disabling the VPN on my laptop and restarting VS Code.
            3. Clearing the Extension search results.
            4. Disabling all the extensions currently running.

            I'm using a laptop running Windows 10. Any other possible solutions I haven't tried?



            Answered 2021-Dec-10 at 05:26

            December 10,2021.
            I'm using vscode with ubuntu 20.04.
            I came across the XHR errors from yesterday and could not install any extensions.
            Googled a lot but nothing works.
            Eventually I downloaded and installed the newest version of VSCode(deb version) and everything is fine now. (I don't know why but maybe you can give it a try! Good Luck!)

            Source https://stackoverflow.com/questions/70177216


            cannot install "code": classic confinement requires snaps under /snap or symlink from /snap to /var/lib/snapd/snap
            Asked 2022-Mar-11 at 07:47

            how I can fix it? I've tried to create "soft link" like sudo ln /snap /var/lib/snapd/snap and also sudo ln /var/lib/snapd/snap /snap --> but it doesn't work. I just want to install VSCode in Manjaro



            Answered 2021-Jul-29 at 13:43

            I use Manjaro too and have the same problem today, it happens after update some pkgs. And snapd can't install vscode for now.

            And if you have the same problem as my, you should uninstall the vscode first and delete the .desktop file located on /home/your_username/.local/share/applications

            To install I downloaded the .deb version on Visual Studio Code website, and converted it to something pacman could install.

            Now a little tutorial on how to do that

            How to install .deb on manjaro (arch linux)

            The package that convert .deb is debtap, but it is only available on AUR. So first u'll need to install pacaur

            Source https://stackoverflow.com/questions/68565756


            Fix issue With VS Code: yellow orange border box around characters
            Asked 2022-Feb-28 at 16:45

            When I type a ا letter in the Arabic language it is surrounded with a colored border box in vscode.

            Any solution to this problem?



            Answered 2022-Feb-28 at 16:45

            Your specific case - a series of Arabic characters - might no longer be highlighted in vscode (even with the following settings enabled) as vscode is getting a little smarter about strings of characters it would otherwise highlight.

            Contextual Unicode Highlighting

            To report fewer false positives, ambiguous and invisible unicode characters are no longer highlighted if the surrounding characters visually indicate a non-ASCII script.

            Thus, in trusted workspaces, only characters that are invisible or can be confused with ASCII characters are highlighted, except those that are contained in a word of non-ASCII characters where at least one character cannot be confused with an ASCII character.

            Try disabling one or more of these settings (set to false):

            Editor > Unicode Highlight: Non Basic ASCII

            Editor > Unicode Highlight: Ambiguous Characters

            also see https://stackoverflow.com/a/70293571/836330 for more on the Unicode Highlighting options. And https://stackoverflow.com/a/70297896/836330 and https://github.com/microsoft/vscode/issues/138767.

            There is also a way in vscode v1.64 to add another locale to your environment so that its characters will not be highlighted as questionable unicode characters.

            New setting: Editor > Unicode Highlight: Allowed Locales

            Use this when your display language is something other than the language you are using in your files, like French, Russian, Japanese, etc. that is causing the unwanted unicode warning highlights.

            Download the language pack you need:

            Search in the Extensions view for "language packs". I believe only the Microsoft language packs are supported in the Allowed Locales at this time. The picture above shows the French Language Pack. Install it.

            Add its language code to the Allowed Locales setting.

            To find the right "code", the easiest is to open your Command Palette after installing the language pack and search for Configure Display Language. You don't want to change your display language but it will show the available language codes:

            We see we need fr as the code.

            It will make a setting like this in your settings.json:

            Source https://stackoverflow.com/questions/70336593


            Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader - Vue 3
            Asked 2022-Jan-02 at 09:38

            I get the following error when i want to start my vue 3 typescript project:



            Answered 2021-Nov-21 at 18:01

            That actually is a bug.

            See, they use import() function on a string, that is the result of path.resolve() call. As you have already noticed, the import() function only works with file:// and data:// URLs, but path.resolve() only returns an absolute path (not a URL), which on Windows environment usually starts with the name of the local disk (e.g., C:).

            Source https://stackoverflow.com/questions/69665780


            GitHub Codespaces: how to set x86_64, AMD64, ARM64 platform?
            Asked 2021-Dec-17 at 21:44

            First, the question: is there a way to choose the platform (e.g. x86_64, AMD64, ARM64) for a GitHub Codespace?

            Here's what I've found so far:

            Attempt 1 (not working):

            From within GitHub.com, you can choose the "machine" for a Codespace, but the only options are RAM and disk size.

            Attempt 2 (EDIT: not working): devcontainer.json

            When you create a Codespace, you can specify options by creating a top-level .devcontainer folder with two files: devcontainer.json and Dockerfile

            Here you can customize runtimes, installed packages, etc., but the docs don't say anything about determining architecture...

            ...however, the VSCode docs for devcontainer.json has a runArgs option, which "accepts Docker CLI arguments"...

            and the Docker CLI docs on --platform say you should be able to pass --platform linux/amd64 or --platform linux/arm64, but...

            When I tried this, the Codespace would just hang, never finishing building.

            Attempt 3 (in progress): specify in Dockerfile

            This route seems the most promising, but it's all new to me (containerization, codespaces, docker). It's possible that Attempts 2 and 3 work in conjunction with one another. At this point, though, there are too many new moving pieces, and I need outside help.

            1. Does GitHub Codespaces support this?
            2. Would you pass it in the Dockerfile or devcontainer.json? How?
            3. How would you verify this, anyway? [Solved: dpkg --print-architecture or uname -a]
            4. For Windows, presumably you'd need a license (I didn't see anything on GitHub about pre-licensed codespaces) -- but that might be out of scope for the question.




            Answered 2021-Dec-17 at 21:44

            EDIT: December 2021

            I received a response from GitHub support:

            The VM hosts for Codespaces are only x86_64 and we do not offer any ARM64 machines.

            So for now, setting the platform does nothing, or fails.

            But if they end up supporting multiple platforms, you should be able to (in Dockerfile)

            RUN --platform=arm64|amd64|x86-64 [image-name],

            Which is working for me in the non-cloud version of Docker.

            Original answer:

            I may have answered my own question

            In Dockerfile:

            I had RUN alpine

            changed to

            RUN --platform=linux/amd64 alpine


            RUN --platform=linux/x86-64 alpine

            checked at the command line with

            uname -a to print the architecture.

            Still verifying, but seems promising. [EDIT: Nope]

            So, despite the above, I can only get GitHub codespaces to run x86-64. Nevertheless, the above syntax seems correct.

            A clue:

            In the logs that appear while the codespace is building, I saw target OS: x86

            Maybe GitHub just doesn't support other architectures yet. Still investigating.

            Source https://stackoverflow.com/questions/70219806

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install vscode

            You can download it from GitHub.


            There are many ways in which you can participate in this project, for example:.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link