Just a dump of handy live templates I use with IntelliJ. They should also work with WebStorm.
- Go to
settings
. - Search for
live templates
. - Under the javascript section you should be able to manage your templates.
Press minus + shift + s
and return
to chop/fold long lines!
Key/Command | Description |
---|---|
Tab | Auto-complete files and folder names |
Ctrl + A | Go to the beginning of the line you are currently typing on |
Ctrl + E | Go to the end of the line you are currently typing on |
Ctrl + U | Clear the line before the cursor |
Ctrl + K | Clear the line after the cursor |
Ctrl + W | Delete the word before the cursor |
Ctrl + T | Swap the last two characters before the cursor |
This gist contains multiple files. Each file contains a specific type of Apex or Visualforce comment header.
When code is no longer used, but can not be deleted from your org, add the @deprecated
annotation to the File or Method Header.
/** | |
* ThingsToCal -- Copyright (c) 2016 Michael Scott Cuthbert | |
* Released under a BSD License | |
* | |
*/ | |
ObjC.import("stdlib"); | |
class ThingsOrganizer { | |
constructor() { |
<?php | |
/** | |
* Mapping array for salesforce ID prefixes to entity name & description. | |
* @link http://www.fishofprey.com/2011/09/obscure-salesforce-object-key-prefixes.html | |
* Convert copy/paste from that page with: | |
* Search: '^([a-zA-Z0-9]+)[ \t]+(\w+)[ \t]*(.*)$' | |
* Replace: ' '$1' => ['$2', '$3'],' | |
* @author Marcus Bointon <marcus@synchromedia.co.uk> | |
*/ |
Good documentation should include two distinct elements - a Guide and an API:
GitBook is well suited to
Last updated March 13, 2024
This Gist explains how to sign commits using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.
Additionally, 1Password now supports signing Git commits with SSH keys and makes it pretty easy-plus you can easily configure Git Tower to use it for both signing and ssh.
For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.
$ brew cask install caskroom/cask/intellij-idea-ce |