Skip to content

Commit fe219a1

Browse files
committed
added extention
1 parent 57f896a commit fe219a1

7 files changed

Lines changed: 541 additions & 119 deletions

File tree

include/pythonic/REPL/examples/hello.nsit

Whitespace-only changes.

include/pythonic/REPL/examples/hello.sit

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ for n in nums:
1313
;
1414
print("Sum: " + str(total)).
1515

16-
fn greet @(who, me):
17-
give("Welcome, " + who + "!" + me).
16+
fn greet (who, me):
17+
give("Welcome, " + who + "!" + me)
1818
;
1919

20+
if a is not b :
21+
2022
print(greet("ScriptIt", "hehe")).
2123

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
.vscode/**
22
.vscode-test/**
33
src/**
4-
node_modules/**
54
.gitignore
65
tsconfig.json
76
**/*.ts
87
**/*.map
8+
**/*.ts.map
9+
node_modules/.package-lock.json
10+
node_modules/**/README.md
11+
node_modules/**/CHANGELOG.md
12+
node_modules/**/LICENSE
13+
node_modules/**/.eslintrc*
14+
node_modules/**/tsconfig.json
15+
node_modules/**/*.d.ts.map

include/pythonic/REPL/scriptit-vscode/package.json

Lines changed: 203 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
{
4343
"id": "scriptit-notebook-src",
44-
"aliases": ["ScriptIt Notebook Source"],
44+
"aliases": ["ScriptIt Notebook"],
4545
"extensions": [".nsit"],
4646
"icon": {
4747
"light": "./images/nsit-icon.svg",
@@ -146,6 +146,208 @@
146146
}
147147
]
148148
},
149+
"configurationDefaults": {
150+
"editor.tokenColorCustomizations": {
151+
"textMateRules": [
152+
{
153+
"scope": "storage.type.var.scriptit",
154+
"settings": { "foreground": "#FFFFFF", "fontStyle": "bold" }
155+
},
156+
{
157+
"scope": "keyword.declaration.function.scriptit",
158+
"settings": { "foreground": "#e5c07b", "fontStyle": "bold" }
159+
},
160+
{
161+
"scope": "keyword.control.return.scriptit",
162+
"settings": { "foreground": "#e5c07b", "fontStyle": "bold" }
163+
},
164+
{
165+
"scope": "keyword.other.special.scriptit",
166+
"settings": { "foreground": "#e5c07b", "fontStyle": "bold" }
167+
},
168+
{
169+
"scope": "storage.modifier.reference.scriptit",
170+
"settings": { "foreground": "#e5c07b", "fontStyle": "bold" }
171+
},
172+
{
173+
"scope": "keyword.control.flow.scriptit",
174+
"settings": { "foreground": "#e06c75", "fontStyle": "bold" }
175+
},
176+
{
177+
"scope": "keyword.control.loop.scriptit",
178+
"settings": { "foreground": "#e06c75", "fontStyle": "bold" }
179+
},
180+
{
181+
"scope": "keyword.control.context.scriptit",
182+
"settings": { "foreground": "#e06c75", "fontStyle": "bold" }
183+
},
184+
{
185+
"scope": "support.type.conversion.scriptit",
186+
"settings": { "foreground": "#008080" }
187+
},
188+
{
189+
"scope": "variable.other.scriptit",
190+
"settings": { "foreground": "#eeeeee" }
191+
},
192+
{
193+
"scope": "variable.other.declaration.scriptit",
194+
"settings": { "foreground": "#eeeeee" }
195+
},
196+
{
197+
"scope": "variable.other.loop.scriptit",
198+
"settings": { "foreground": "#eeeeee" }
199+
},
200+
{
201+
"scope": "variable.other.reference.scriptit",
202+
"settings": { "foreground": "#eeeeee" }
203+
},
204+
{
205+
"scope": "variable.parameter.scriptit",
206+
"settings": { "foreground": "#eeeeee" }
207+
},
208+
{
209+
"scope": "variable.parameter.reference.scriptit",
210+
"settings": { "foreground": "#eeeeee" }
211+
},
212+
{
213+
"scope": "entity.name.function.definition.scriptit",
214+
"settings": { "foreground": "#00ffff" }
215+
},
216+
{
217+
"scope": "entity.name.function.forward.scriptit",
218+
"settings": { "foreground": "#00ffff" }
219+
},
220+
{
221+
"scope": "entity.name.function.call.scriptit",
222+
"settings": { "foreground": "#00ffff" }
223+
},
224+
{
225+
"scope": "entity.name.function.method.scriptit",
226+
"settings": { "foreground": "#00ffff" }
227+
},
228+
{
229+
"scope": "support.function.builtin.scriptit",
230+
"settings": { "foreground": "#00ffff" }
231+
},
232+
{
233+
"scope": "support.function.math.scriptit",
234+
"settings": { "foreground": "#00ffff" }
235+
},
236+
{
237+
"scope": "constant.numeric.float.scriptit",
238+
"settings": { "foreground": "#d19a66" }
239+
},
240+
{
241+
"scope": "constant.numeric.integer.scriptit",
242+
"settings": { "foreground": "#d19a66" }
243+
},
244+
{
245+
"scope": "constant.language.boolean.true.scriptit",
246+
"settings": { "foreground": "#c678dd" }
247+
},
248+
{
249+
"scope": "constant.language.boolean.false.scriptit",
250+
"settings": { "foreground": "#c678dd" }
251+
},
252+
{
253+
"scope": "constant.language.none.scriptit",
254+
"settings": { "foreground": "#c678dd" }
255+
},
256+
{
257+
"scope": "string.quoted.double.scriptit",
258+
"settings": { "foreground": "#98c379" }
259+
},
260+
{
261+
"scope": "string.quoted.single.scriptit",
262+
"settings": { "foreground": "#98c379" }
263+
},
264+
{
265+
"scope": "constant.character.escape.scriptit",
266+
"settings": { "foreground": "#d19a66" }
267+
},
268+
{
269+
"scope": "comment.line.number-sign.scriptit",
270+
"settings": { "foreground": "#5c6370", "fontStyle": "italic" }
271+
},
272+
{
273+
"scope": "comment.block.arrow.scriptit",
274+
"settings": { "foreground": "#98c379" }
275+
},
276+
{
277+
"scope": "punctuation.definition.comment.begin.scriptit",
278+
"settings": { "foreground": "#98c379" }
279+
},
280+
{
281+
"scope": "punctuation.definition.comment.end.scriptit",
282+
"settings": { "foreground": "#98c379" }
283+
},
284+
{
285+
"scope": "keyword.operator.comparison.scriptit",
286+
"settings": { "foreground": "#c678dd" }
287+
},
288+
{
289+
"scope": "keyword.operator.arithmetic.scriptit",
290+
"settings": { "foreground": "#c678dd" }
291+
},
292+
{
293+
"scope": "keyword.operator.assignment.scriptit",
294+
"settings": { "foreground": "#c678dd" }
295+
},
296+
{
297+
"scope": "keyword.operator.assignment.compound.scriptit",
298+
"settings": { "foreground": "#c678dd" }
299+
},
300+
{
301+
"scope": "keyword.operator.increment.scriptit",
302+
"settings": { "foreground": "#c678dd" }
303+
},
304+
{
305+
"scope": "keyword.operator.logical.scriptit",
306+
"settings": { "foreground": "#c678dd" }
307+
},
308+
{
309+
"scope": "keyword.operator.logical.symbol.scriptit",
310+
"settings": { "foreground": "#c678dd" }
311+
},
312+
{
313+
"scope": "punctuation.bracket.round.scriptit",
314+
"settings": { "foreground": "#abb2bf" }
315+
},
316+
{
317+
"scope": "punctuation.bracket.square.scriptit",
318+
"settings": { "foreground": "#abb2bf" }
319+
},
320+
{
321+
"scope": "punctuation.bracket.curly.scriptit",
322+
"settings": { "foreground": "#abb2bf" }
323+
},
324+
{
325+
"scope": "punctuation.separator.comma.scriptit",
326+
"settings": { "foreground": "#abb2bf" }
327+
},
328+
{
329+
"scope": "punctuation.separator.colon.scriptit",
330+
"settings": { "foreground": "#abb2bf" }
331+
},
332+
{
333+
"scope": "punctuation.separator.parameter.scriptit",
334+
"settings": { "foreground": "#abb2bf" }
335+
},
336+
{
337+
"scope": "punctuation.terminator.block.scriptit",
338+
"settings": { "foreground": "#abb2bf" }
339+
},
340+
{
341+
"scope": "punctuation.terminator.statement.scriptit",
342+
"settings": { "foreground": "#abb2bf" }
343+
},
344+
{
345+
"scope": "punctuation.definition.function.scriptit",
346+
"settings": { "foreground": "#abb2bf" }
347+
}
348+
]
349+
}
350+
},
149351
"scripts": {
150352
"vscode:prepublish": "npm run compile",
151353
"compile": "tsc -b",

0 commit comments

Comments
 (0)