-
Notifications
You must be signed in to change notification settings - Fork 29.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from Microsoft/master
Update fork
- Loading branch information
Showing
54 changed files
with
864 additions
and
380 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
{ | ||
"define module": { | ||
"prefix": "define", | ||
"body": [ | ||
"define([", | ||
"\t'require',", | ||
"\t'${dependency}'", | ||
"], function(require, ${factory}) {", | ||
"\t'use strict';", | ||
"\t$0", | ||
"});" | ||
], | ||
"description": "define module" | ||
}, | ||
"For Loop": { | ||
"prefix": "for", | ||
"body": [ | ||
"for (var ${index} = 0; ${index} < ${array}.length; ${index}++) {", | ||
"\tvar ${element} = ${array}[${index}];", | ||
"\t$0", | ||
"}" | ||
], | ||
"description": "For Loop" | ||
}, | ||
"For-Each Loop": { | ||
"prefix": "foreach", | ||
"body": [ | ||
"${array}.forEach(function(${element}) {", | ||
"\t$0", | ||
"}, this);" | ||
], | ||
"description": "For-Each Loop" | ||
}, | ||
"For-In Loop": { | ||
"prefix": "forin", | ||
"body": [ | ||
"for (var ${key} in ${object}) {", | ||
"\tif (${object}.hasOwnProperty(${key})) {", | ||
"\t\tvar ${element} = ${object}[${key}];", | ||
"\t\t$0", | ||
"\t}", | ||
"}" | ||
], | ||
"description": "For-In Loop" | ||
}, | ||
"Function Statement": { | ||
"prefix": "function", | ||
"body": [ | ||
"function ${name}(${params}) {", | ||
"\t$0", | ||
"}" | ||
], | ||
"description": "Function Statement" | ||
}, | ||
"If Statement": { | ||
"prefix": "if", | ||
"body": [ | ||
"if (${condition}) {", | ||
"\t$0", | ||
"}" | ||
], | ||
"description": "If Statement" | ||
}, | ||
"If-Else Statement": { | ||
"prefix": "ifelse", | ||
"body": [ | ||
"if (${condition}) {", | ||
"\t$0", | ||
"} else {", | ||
"\t", | ||
"}" | ||
], | ||
"description": "If-Else Statement" | ||
}, | ||
"New Statement": { | ||
"prefix": "new", | ||
"body": [ | ||
"var ${name} = new ${type}(${arguments});$0" | ||
], | ||
"description": "New Statement" | ||
}, | ||
"Switch Statement": { | ||
"prefix": "switch", | ||
"body": [ | ||
"switch (${key}) {", | ||
"\tcase ${value}:", | ||
"\t\t$0", | ||
"\t\tbreak;", | ||
"", | ||
"\tdefault:", | ||
"\t\tbreak;", | ||
"}" | ||
], | ||
"description": "Switch Statement" | ||
}, | ||
"While Statement": { | ||
"prefix": "while", | ||
"body": [ | ||
"while (${condition}) {", | ||
"\t$0", | ||
"}" | ||
], | ||
"description": "While Statement" | ||
}, | ||
"Do-While Statement": { | ||
"prefix": "dowhile", | ||
"body": [ | ||
"do {", | ||
"\t$0", | ||
"} while (${condition});" | ||
], | ||
"description": "Do-While Statement" | ||
}, | ||
"Try-Catch Statement":{ | ||
"prefix": "trycatch", | ||
"body": [ | ||
"try {", | ||
"\t$0", | ||
"} catch (${error}) {", | ||
"\t", | ||
"}" | ||
], | ||
"description": "Try-Catch Statement" | ||
}, | ||
"Set Timeout Function": { | ||
"prefix": "settimeout", | ||
"body": [ | ||
"setTimeout(function() {", | ||
"\t$0", | ||
"}, ${timeout});" | ||
], | ||
"description": "Set Timeout Function" | ||
}, | ||
"Relative Reference to another File": { | ||
"prefix": "reference", | ||
"body": [ | ||
"/// <reference path=\"$1\" />$0" | ||
], | ||
"description": "Relative Reference to another File" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"account": "monacobuild", | ||
"container": "debuggers", | ||
"zip": "ce36f92/node-debug.zip", | ||
"zip": "568060b/node-debug.zip", | ||
"output": "" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for license information. | ||
|
||
NAME="@@NAME@@" | ||
VSCODE_PATH="$(dirname "$(dirname "$(realpath "$0")")")" | ||
ELECTRON="$VSCODE_PATH/$NAME.exe" | ||
CLI="$VSCODE_PATH/resources/app/out/cli.js" | ||
ELECTRON_NO_ATTACH_CONSOLE=1 ATOM_SHELL_INTERNAL_RUN_AS_NODE=1 "$ELECTRON" "$CLI" "$@" | ||
exit $? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.