|
10/15/2018, 11:21 AM
#1
VSCode is a nice environment for developing HTML and Javascript, which fits pretty well with webOS.
You can make it a little nicer by adding a Task to your project. This lets you "palm-run" from within the IDE, while capturing the debug output into the environment.
On Windows, add or modify the project's tasks.json like so:
Code:
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "palm-run",
"type": "shell",
"command": "palm-run %cd%",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
Then you can choose the task "palm-run" from the Terminal menu, or press the keyboard shortcut (Ctrl+Shift+B on Windows) to build, deploy, run and debug your webOS app!
I did try making a full VisualStudio extension, but it was more trouble than it was worth. Here's what it looks like in the IDE:
vscode-task.PNG
|
|
|