mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 05:49:53 +08:00
update docs
This commit is contained in:
parent
64db9f16e8
commit
46fe8d1322
@ -87,7 +87,7 @@ The `type` property of one task defines how the command will be executed.
|
||||
{
|
||||
"type": "process",
|
||||
"label": "Open File with",
|
||||
"args": ["${file}"],
|
||||
"args": ["${buffer}"],
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Typora",
|
||||
@ -120,7 +120,7 @@ VNote does not provide a terminal. We may need to use `start` or `gnome-terminal
|
||||
"args": [
|
||||
"--execute",
|
||||
"vim",
|
||||
"${file}"
|
||||
"${buffer}"
|
||||
]
|
||||
}
|
||||
```
|
||||
@ -143,7 +143,7 @@ We could use `windows`/`linux`/`osx` keyword to specify options for different pl
|
||||
{
|
||||
"type": "process",
|
||||
"label": "Open File with",
|
||||
"args": ["${file}"],
|
||||
"args": ["${buffer}"],
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Typora",
|
||||
@ -281,7 +281,7 @@ Compile and run:
|
||||
|
||||
```json
|
||||
{
|
||||
"command": "g++ \"${file}\" -o \"${fileBasenameNoExtension}\"; if ($?) { start cmd \"/c `\"${fileBasenameNoExtension}`\" & pause\" }"
|
||||
"command": "g++ \"${buffer}\" -o \"${bufferBaseName}\"; if ($?) { start cmd \"/c `\"${bufferBaseName}`\" & pause\" }"
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -115,7 +115,7 @@
|
||||
"attachment_folder": "",
|
||||
"created_time": "2021-12-23T07:29:06Z",
|
||||
"id": "49",
|
||||
"modified_time": "2021-12-24T13:29:09Z",
|
||||
"modified_time": "2021-12-27T04:00:43Z",
|
||||
"name": "Task.md",
|
||||
"signature": "177733903682",
|
||||
"tags": [
|
||||
|
@ -115,7 +115,7 @@
|
||||
"attachment_folder": "",
|
||||
"created_time": "2021-12-24T07:55:35Z",
|
||||
"id": "50",
|
||||
"modified_time": "2021-12-24T13:34:53Z",
|
||||
"modified_time": "2021-12-27T04:01:14Z",
|
||||
"name": "任务.md",
|
||||
"signature": "177733991671",
|
||||
"tags": [
|
||||
|
@ -87,7 +87,7 @@ VNote会尝试从下面三个位置加载任务:
|
||||
{
|
||||
"type": "process",
|
||||
"label": "Open File with",
|
||||
"args": ["${file}"],
|
||||
"args": ["${buffer}"],
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Typora",
|
||||
@ -120,7 +120,7 @@ VNote没有提供一个终端。我们可能需要使用`start`或者`gnome-term
|
||||
"args": [
|
||||
"--execute",
|
||||
"vim",
|
||||
"${file}"
|
||||
"${buffer}"
|
||||
]
|
||||
}
|
||||
```
|
||||
@ -143,7 +143,7 @@ VNote没有提供一个终端。我们可能需要使用`start`或者`gnome-term
|
||||
{
|
||||
"type": "process",
|
||||
"label": "Open File with",
|
||||
"args": ["${file}"],
|
||||
"args": ["${buffer}"],
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Typora",
|
||||
@ -281,7 +281,7 @@ VNote没有提供一个终端。我们可能需要使用`start`或者`gnome-term
|
||||
|
||||
```json
|
||||
{
|
||||
"command": "g++ \"${file}\" -o \"${fileBasenameNoExtension}\"; if ($?) { start cmd \"/c `\"${fileBasenameNoExtension}`\" & pause\" }"
|
||||
"command": "g++ \"${buffer}\" -o \"${bufferBaseName}\"; if ($?) { start cmd \"/c `\"${bufferBaseName}`\" & pause\" }"
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user