Skip to content

Commit e585282

Browse files
committed
feat: support new pl
1 parent 0a668a7 commit e585282

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to the "pivot-lang-support" extension will be documented in
44

55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

7+
## [0.0.21]
8+
9+
- update plugin to support new version of pivot-lang
10+
711
## [0.0.20]
812

913
- add debug support for array types

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "pivot-lang-support",
33
"displayName": "pivot-lang support",
44
"description": "",
5-
"version": "0.0.20",
5+
"version": "0.0.21",
66
"publisher": "pivot-langAuthors",
77
"license": "MIT",
88
"repository": {

src/extension.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function activate(context: ExtensionContext) {
3232
} else {
3333
p = "";
3434
}
35-
var execution = new vscode.ShellExecution("plc " + fspath);
35+
var execution = new vscode.ShellExecution("plc --debug " + fspath);
3636
var problemMatchers = ["$myProblemMatcher"];
3737
return [
3838
new vscode.Task({ type: type }, vscode.TaskScope.Workspace,
@@ -90,7 +90,7 @@ export function activate(context: ExtensionContext) {
9090

9191
vscode.commands.registerCommand("pivot-lang.run_current", () => {
9292
let fspath = vscode.window.activeTextEditor.document.uri.fsPath;
93-
var execution = new vscode.ShellExecution("plc " + fspath + " -o out && ./out");
93+
var execution = new vscode.ShellExecution("plc --debug" + fspath + " -o out && ./out");
9494
vscode.tasks.executeTask(new vscode.Task({ type: "plrun" }, vscode.TaskScope.Workspace, "build", "pivot-lang", execution)).then((value) => {
9595

9696
});

0 commit comments

Comments
 (0)