소스 검색

Compile oberon source files from VSCode

Vladislav Folts 4 년 전
부모
커밋
2901e34529
4개의 변경된 파일31개의 추가작업 그리고 0개의 파일을 삭제
  1. 31 0
      IDE/.vscode/tasks.json
  2. 0 0
      IDE/Sublime Text/Oberon/Oberon.sublime-build
  3. 0 0
      IDE/Sublime Text/Oberon/Oberon.tmLanguage
  4. 0 0
      IDE/Sublime Text/Oberon/OberonAssistant.py

+ 31 - 0
IDE/.vscode/tasks.json

@@ -0,0 +1,31 @@
+{
+    // See https://go.microsoft.com/fwlink/?LinkId=733558
+    // for the documentation about the tasks.json format
+    "version": "2.0.0",
+    "tasks": [
+        {
+            "label": "compile O7",
+            "type": "shell",
+            "command": [
+                "${config:python.pythonPath}",
+                "${workspaceFolder}/build.py",
+                "--file",
+                "${file}",
+                "compile"
+            ],
+            "problemMatcher": {
+                "fileLocation": ["absolute"],
+                "pattern": {
+                  "regexp": "^File\\s+\"(.*)\",\\s+line\\s+(\\d+):\\s+(.*)$",
+                  "file": 1,
+                  "line": 2,
+                  "message": 3
+                }
+            },
+            "group": {
+                "kind": "build",
+                "isDefault": true
+            }
+        }
+    ]
+}

+ 0 - 0
Sublime Text/Oberon/Oberon.sublime-build → IDE/Sublime Text/Oberon/Oberon.sublime-build


+ 0 - 0
Sublime Text/Oberon/Oberon.tmLanguage → IDE/Sublime Text/Oberon/Oberon.tmLanguage


+ 0 - 0
Sublime Text/Oberon/OberonAssistant.py → IDE/Sublime Text/Oberon/OberonAssistant.py