{"id":19220081,"url":"https://github.com/nativescript-community/nativescript-vscode-extension","last_synced_at":"2025-12-11T22:06:52.400Z","repository":{"id":4039174,"uuid":"47540830","full_name":"nativescript-community/nativescript-vscode-extension","owner":"nativescript-community","description":"A Visual Studio Code Extension for NativeScript","archived":false,"fork":false,"pushed_at":"2024-05-18T08:42:32.000Z","size":3648,"stargazers_count":84,"open_issues_count":58,"forks_count":32,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-06-28T14:31:47.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.nativescript.org/visual-studio-code","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nativescript-community.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"NativeScript","open_collective":"nativescript"}},"created_at":"2015-12-07T08:58:29.000Z","updated_at":"2025-05-18T14:42:06.000Z","dependencies_parsed_at":"2024-01-29T19:30:35.780Z","dependency_job_id":"979afdd4-5cac-4134-8266-a254ae7ec840","html_url":"https://github.com/nativescript-community/nativescript-vscode-extension","commit_stats":{"total_commits":345,"total_committers":32,"mean_commits":10.78125,"dds":0.5333333333333333,"last_synced_commit":"474c22c3dea9f9a145dc2cccf01b05e38850de90"},"previous_names":["nativescript/nativescript-vscode-extension"],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/nativescript-community/nativescript-vscode-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nativescript-community%2Fnativescript-vscode-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nativescript-community%2Fnativescript-vscode-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nativescript-community%2Fnativescript-vscode-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nativescript-community%2Fnativescript-vscode-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nativescript-community","download_url":"https://codeload.github.com/nativescript-community/nativescript-vscode-extension/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nativescript-community%2Fnativescript-vscode-extension/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263997623,"owners_count":23541700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T14:33:54.957Z","updated_at":"2025-12-11T22:06:47.042Z","avatar_url":"https://github.com/nativescript-community.png","language":"TypeScript","funding_links":["https://github.com/sponsors/NativeScript","https://opencollective.com/nativescript"],"categories":[],"sub_categories":[],"readme":"NativeScript Extension for Visual Studio Code\n========\n\n### Introduction\n\nThe NativeScript extension for Visual Studio Code aids your [NativeScript](https://www.nativescript.org/) project development within Visual Studio Code.\n\n### Install NativeScript\n\nTo install [NativeScript](https://www.nativescript.org/) and all its dependencies, follow the instructions in our [getting started guide](https://docs.nativescript.org/setup/).\n\n\u003e Note: The VS Code extension requires [nativescript node module](https://www.npmjs.com/package/nativescript) to be globally installed. If you are using [nvm](https://github.com/creationix/nvm) to manage your node versions, make sure that `nativescript` is installed in your default nodeJS version. To check which is your default node version execute 'nvm ls' on the command prompt and you should see something like 'default -\u003e 5.5.0 (-\u003e v5.5.0)' in the output.\n\n### Setup the extension\n\nCreate NativeScript application by running `tns create MyApp` and open `MyApp` folder in Visual Studio Code. Open the Debug Panel, click the gear icon\n\n![gear icon](https://raw.githubusercontent.com/NativeScript/nativescript-vscode-extension/master/images/screenshots/nativescript-gear-icon.jpg)\n\nand choose NativeScript debug environment.\n\n![NativeScript debug settings](https://raw.githubusercontent.com/NativeScript/nativescript-vscode-extension/master/images/screenshots/nativescript-debug-settings.png)\n\n### Debug your NativeScript application\n\nTo start the application with attached debugger, choose one of the launch configurations from the drop-down list and then click the start button.\n\n![Launch settings](https://raw.githubusercontent.com/NativeScript/nativescript-vscode-extension/master/images/screenshots/nativescript-launch-configurations.png)\n\nYour application will be launched and the VSCode debugger will attach. If you want to attach to already running NativeScript application, use one of the attach configurations. More information on what you can do with the Visual Studio Code Debugger you can find [here](https://code.visualstudio.com/docs/editor/debugging).\n\n### NativeScript commands\n\nType `NativeScript` in the Command Palette and you will see all available commands.\n\n![NativeScript Commands](https://raw.githubusercontent.com/NativeScript/nativescript-vscode-extension/master/images/screenshots/nativescript-commands.png)\n\nThere's only a couple of them but the list will grow in the future.\n\nThe `Run` command triggers `tns run` on emulator or device. You can run your app both on iOS and Android.\n\nIf your version of NativeScript is incompatible with the extension you will see a warning the first time you run a command.\n\n### Get the latest bits\n\n1. Clone the [extension repository](https://github.com/nativescript-community/nativescript-vscode-extension/)\n\n    ```\n    git clone https://github.com/nativescript-community/nativescript-vscode-extension.git\n    ```\n\n2. To build the extension run the following commands in the root repository folder:\n\n    ```\n    npm install\n    npm run build # compiles TypeScript source files to JavaScript\n    npm run package # produces nativescript-*.*.*.vsix in the root folder\n    ```\n\n3. To install the extension drag and drop the `nativescript-*.*.*.vsix` package in the VS Code.\n\n### Contribute\nTo test the extension run the following commands in the root repository folder:\n\n```\nnpm install\nnpm run build:watch\nlaunch manually `Extension + Server` in VSCode from the debug section\n```\n\nYou must choose a project to debug, launch the phases that involve testing the extension in the application, modify any code of the extension, stop the debug and launch it again (F5)\n\n\n### How to disable the analytics\nThe anonymous usage data collected by Progress from the NativeScript extension for Visual Studio Code is used strictly to improve the product and its services, and enhance the overall user experience.\n\nIf you have previously enabled the analytics option, you can disable it by following the steps outlined below:\n\n1. Open the Visual Studio Code Settings\n    - on Windows, select **File \u003e Preferences \u003e Settings**\n    - on macOS, select **Code \u003e Preferences \u003e Settings**\n2. Add the following option (or update the existing one) to disable the analytics:\n```\n\"nativescript.analytics.enabled\": false\n```\n\n\u003e Note: This option will disable only the analytics for the Visual Studio Code extension. To disable the analytics for the NativeScript CLI, open a command prompt or terminal and run the following commands:\n\n```\ntns usage-reporting disable\ntns error-reporting disable\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnativescript-community%2Fnativescript-vscode-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnativescript-community%2Fnativescript-vscode-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnativescript-community%2Fnativescript-vscode-extension/lists"}