Simply VS Code debugging

This commit is contained in:
Daniel Imms
2016-11-04 17:58:47 -07:00
parent 06753a756c
commit dbbe98487e
3 changed files with 3 additions and 11 deletions

View File

@@ -7,7 +7,7 @@
"type": "extensionHost", "type": "extensionHost",
"request": "launch", "request": "launch",
"runtimeExecutable": "${execPath}", "runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ] "args": ["--extensionDevelopmentPath=${workspaceRoot}/out" ]
} }
] ]
} }

View File

@@ -5,14 +5,7 @@ An early proof of concept of a program that can generate theme files for editors
## Usage ## Usage
```bash ```bash
npm run build npm run build && npm start
npm start
``` ```
## Testing the generated theme To test VS Code extensions, <kbd>F5</kbd> will launch the Code debugger with the theme available to switch to.
```bash
code out
```
<kbd>F5</kbd> will launch the VS Code debugger with the theme available to switch to.

View File

@@ -120,7 +120,6 @@ export class VscodeThemeGenerator implements IThemeGenerator {
const theme: IVscodeJsonTheme = {}; const theme: IVscodeJsonTheme = {};
theme.name = name; theme.name = name;
theme.settings = []; theme.settings = [];
//{"name":"background","settings":{"background":"#151515","caret":"#0000FF"}}
const globalSetting: any = { const globalSetting: any = {
name: 'Global settings', name: 'Global settings',