Resharper
Command | Shortcut |
---|---|
Select Containing Declaration | Ctrl+Shift+[ |
Extend Selection | Ctrl+w |
Commands | Ctrl+Shift+A |
Navigate To | Ctrl+Shift+G |
Refactor this | Ctrl+Shift+R |
private void Flatten(JToken token, IDictionary<string, JValue> output, string prefix = "") | |
{ | |
if (token is JObject jObj) | |
{ | |
foreach(var item in token) | |
{ | |
Flatten(item, output, prefix); | |
} | |
} else if (token is JArray jArr) | |
{ |
Command | Shortcut |
---|---|
Select Containing Declaration | Ctrl+Shift+[ |
Extend Selection | Ctrl+w |
Commands | Ctrl+Shift+A |
Navigate To | Ctrl+Shift+G |
Refactor this | Ctrl+Shift+R |
SELECT
date('now') AS [Today],
datetime(strftime('%s','now'), 'unixepoch') AS [Now_UTC],
datetime(strftime('%s','now'), 'unixepoch', 'localtime') AS [Now_Local],
strftime('%s','now') AS [Now_EPOCH],
CAST((julianday('now') - 2440587.5)*86400000 AS INTEGER) AS [Now_EPOCH_Ms],
date('now','start of month','+1 month','-1 day') AS [LastDayOfCurrentMonth],
CAST(strftime('%s', '2019-02-07') AS INTEGER) * 1000 AS [GivenDate_EPOCH_Ms],
// a function declaration accepting a number and returning a string.
let someFunc: (age: number) => string;
/* | |
Animation timing functions | |
* ease: Slow start, then fast, then end slowly (default) | |
* linear: The same speed from start to end | |
* ease-in: With a slow start | |
* ease-out: With a slow end | |
* ease-in-out: With a slow start and end | |
* cubic-bezier(n,n,n,n): Lets you define your own values in a cubic-bezier function | |
*/ |