Skip to content

Commit fbe40e1

Browse files
committed
Added task to automatically run Inline from VSC.
This is a Daniel Vicentini's contribution a Task to allow you to run Inliner directly from Visual Studio Code.
1 parent f92cc50 commit fbe40e1

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

contrib/tasks.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
//
3+
// See https://go.microsoft.com/fwlink/?LinkId=733558
4+
// for the documentation about the tasks.json format
5+
//
6+
// This task for Microsoft's Visual Studio Code allows you to
7+
// automatically convert am indented BASIC program using Inline's
8+
// syntax to the numbered-line style. Inliner files must be in
9+
// the same directory of project or in system PATH.
10+
//
11+
// The FINDSTR tool is used to filter blank lines on Inline's
12+
// generated file.
13+
//
14+
// (C) Daniel Vicentini -- July, 31th 2018.
15+
//
16+
"version": "2.0.0",
17+
"tasks": [
18+
{
19+
"label": "convert_to_msxbasic",
20+
"type": "shell",
21+
"command": "python inliner ${file} --start=1000 | findstr \/v \"^$\" > ${file}_msxbasic.bas" ,
22+
"problemMatcher": [],
23+
"group": {
24+
"kind": "build",
25+
"isDefault": true
26+
}
27+
}
28+
]
29+
}

0 commit comments

Comments
 (0)