-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
275 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"Controller - add page message in vf": { | ||
"scope": "java,apex", | ||
"prefix": "ifelse", | ||
"body": [ | ||
"ApexPages.addMessage(new ApexPages.Message(ApexPages.severity.$1, $2));" | ||
], | ||
"description": "Add PageMessages" | ||
}, | ||
"Controller - get parameter in vf": { | ||
"scope": "java,apex", | ||
"prefix": "gp", | ||
"body": [ | ||
"ApexPages.currentPage().getParameters().get('$1');" | ||
], | ||
"description": "Get Visualforce Parameter" | ||
}, | ||
"Controller - get and set in multiply line": { | ||
"scope": "java,apex", | ||
"prefix": "gsm", | ||
"body": [ | ||
"public $1 {", | ||
"get {", | ||
"$2", | ||
"}", | ||
"private set;", | ||
"}" | ||
], | ||
"description": "public variable {get {} private set;}" | ||
}, | ||
"Controller - get and set in one line": { | ||
"scope": "java,apex", | ||
"prefix": "gs", | ||
"body": [ | ||
"public $1 {get; set;}" | ||
], | ||
"description": "public variable { get; set; }" | ||
} | ||
} |
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,21 @@ | ||
{ | ||
"types": { | ||
"scope": "xml", | ||
"prefix": "types", | ||
"body": [ | ||
"<types>", | ||
"<members>$2</members>$0", | ||
"<name>$1</name>", | ||
"</types>" | ||
], | ||
"description": "types pair in package.xml" | ||
}, | ||
"members": { | ||
"scope": "xml", | ||
"prefix": "members", | ||
"body": [ | ||
"<members>$1</members>$0" | ||
], | ||
"description": "members pair in package.xml" | ||
} | ||
} |