v0.1.0 28f9d6e

coerce_string.json RawHistoryFolder

1{
2  "null": [
3    {
4      "expr": "format('{0}', null)",
5      "result": { "kind": "String", "value": "" }
6    }
7  ],
8  "boolean": [
9    {
10      "expr": "format('{0}', true)",
11      "result": { "kind": "String", "value": "true" }
12    },
13    {
14      "expr": "format('{0}', false)",
15      "result": { "kind": "String", "value": "false" }
16    }
17  ],
18  "number": [
19    {
20      "expr": "format('{0}', 1)",
21      "result": { "kind": "String", "value": "1" }
22    },
23    {
24      "expr": "format('{0}', .5)",
25      "result": { "kind": "String", "value": "0.5" }
26    },
27    {
28      "expr": "format('{0}', 0.5)",
29      "result": { "kind": "String", "value": "0.5" }
30    },
31    {
32      "expr": "format('{0}', 2)",
33      "result": { "kind": "String", "value": "2" }
34    },
35    {
36      "expr": "format('{0}', -1)",
37      "result": { "kind": "String", "value": "-1" }
38    },
39    {
40      "expr": "format('{0}', -.5)",
41      "result": { "kind": "String", "value": "-0.5" }
42    },
43    {
44      "expr": "format('{0}', -0.5)",
45      "result": { "kind": "String", "value": "-0.5" }
46    },
47    {
48      "expr": "format('{0}', -2.0)",
49      "result": { "kind": "String", "value": "-2" }
50    },
51    {
52      "expr": "format('{0}', 0)",
53      "result": { "kind": "String", "value": "0" }
54    },
55    {
56      "expr": "format('{0}', 0.0)",
57      "result": { "kind": "String", "value": "0" }
58    },
59    {
60      "expr": "format('{0}', -0)",
61      "result": { "kind": "String", "value": "0" }
62    },
63    {
64      "expr": "format('{0}', -0.0)",
65      "result": { "kind": "String", "value": "0" }
66    },
67    {
68      "expr": "format('{0}', 123456.789)",
69      "result": { "kind": "String", "value": "123456.789" }
70    },
71    {
72      "expr": "format('{0}', +123456.789)",
73      "result": { "kind": "String", "value": "123456.789" }
74    },
75    {
76      "expr": "format('{0}', -123456.789)",
77      "result": { "kind": "String", "value": "-123456.789" }
78    },
79    {
80      "expr": "format('{0}', 0.84551240822557006)",
81      "result": { "kind": "String", "value": "0.84551240822557" }
82    },
83    {
84      "expr": "format('{0}', 1.9)",
85      "result": { "kind": "String", "value": "1.9" }
86    },
87    {
88      "expr": "format('{0}', 1234.56)",
89      "result": { "kind": "String", "value": "1234.56" }
90    },
91    {
92      "expr": "format('{0}', 0xff)",
93      "result": { "kind": "String", "value": "255" }
94    },
95    {
96      "expr": "format('{0}', 0xFF)",
97      "result": { "kind": "String", "value": "255" }
98    },
99    {
100      "expr": "format('{0}', 0o10)",
101      "result": { "kind": "String", "value": "8" }
102    },
103    {
104      "expr": "format('{0}', 1.2e2)",
105      "result": { "kind": "String", "value": "120" }
106    },
107    {
108      "expr": "format('{0}', 1.2E2)",
109      "result": { "kind": "String", "value": "120" }
110    },
111    {
112      "expr": "format('{0}', 1.2e+2)",
113      "result": { "kind": "String", "value": "120" }
114    },
115    {
116      "expr": "format('{0}', 1.2E+2)",
117      "result": { "kind": "String", "value": "120" }
118    },
119    {
120      "expr": "format('{0}', 1.2e-2)",
121      "result": { "kind": "String", "value": "0.012" }
122    },
123    {
124      "expr": "format('{0}', 1.2E-2)",
125      "result": { "kind": "String", "value": "0.012" }
126    },
127    {
128      "expr": "format('{0}', Infinity)",
129      "result": { "kind": "String", "value": "Infinity" }
130    },
131    {
132      "expr": "format('{0}', -Infinity)",
133      "result": { "kind": "String", "value": "-Infinity" }
134    },
135    {
136      "expr": "format('{0}', NaN)",
137      "result": { "kind": "String", "value": "NaN" }
138    }
139  ],
140  "string": [
141    {
142      "expr": "format('{0}', 'string value')",
143      "result": { "kind": "String", "value": "string value" }
144    }
145  ],
146  "array": [
147    {
148      "expr": "format('{0}', context)",
149      "contexts": {
150        "context": []
151      },
152      "result": { "kind": "String", "value": "Array" }
153    },
154    {
155      "expr": "format('{0}', context)",
156      "contexts": {
157        "context": [1, 2, 3]
158      },
159      "result": { "kind": "String", "value": "Array" }
160    }
161  ],
162  "object": [
163    {
164      "expr": "format('{0}', context)",
165      "contexts": {
166        "context": {}
167      },
168      "result": { "kind": "String", "value": "Object" }
169    },
170    {
171      "expr": "format('{0}', context)",
172      "contexts": {
173        "context": { "a": 1, "b": 2, "c": 3 }
174      },
175      "result": { "kind": "String", "value": "Object" }
176    }
177  ]
178}

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 3

↑↓ moveenter openesc close