Skip to content
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.

Optional: VSCode WorkSpace Settings

Sean Perkins edited this page May 22, 2017 · 1 revision

In the root of your project create a new folder, name it: .vscode

Create a file called settings.json

The contents of the file will be:

{
    "files.exclude": {
        "nativescript/app": true,
        "nativescript/hooks": true,
        "nativescript/src/app/**/*.html": {
            "when": "$(basename).tns.html"
        },
        "nativescript/src/app/**/*.scss": {
            "when": "$(basename).tns.scss"
        },
        "nativescript/src/app/**/*.ts": {
            "when": "$(basename).tns.ts"
        },
        "nativescript/src/app/**/*.spec.ts": true
    },
    "search.exclude": {
        "nativescript/platforms": true,
        "nativescript/src/app": true,
        "nativescript/node_modules": true,
        "nativescript/hooks": true
    }
}

Feel free to change the settings as you prefer. We do not commit these files as part of the base package, so that you can configure it your workspace preference.

Clone this wiki locally