從運算式取得錯誤
:cgetexpr
範例
一般模式 0 / 2命令列模式 1 / 2一般模式 2 / 2從運算式取得錯誤。
Quickfix 清單 · 範例診斷
- 1 · alpha.txt:1 使用中
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2
third issue
指令已輸入。按 Enter 執行。
Quickfix 清單 · 範例診斷
- 1 · alpha.txt:1 使用中
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2
third issue
指令已執行
Quickfix 清單 · :cgetexpr ['beta.txt:2:new issue']
- 1 · beta.txt:2 使用中
new issue
操作前後
操作前
Quickfix 清單 · 範例診斷
- 1 · alpha.txt:1 使用中
first issue- 2 · alpha.txt:3
second issue- 3 · beta.txt:2
third issue
操作後
Quickfix 清單 · :cgetexpr ['beta.txt:2:new issue']
- 1 · beta.txt:2 使用中
new issue
從一般模式開始。診斷清單只列出暫存的範例檔案。面板會標出目前選取的項目。
alpha one
alpha two
alpha three游標位於第 1 行,第 1 欄詳細說明與 Vim 文件
範例已在 Vim 重播驗證
本例輸入 :cgetexpr ['beta.txt:2:new issue'] 後按 Enter。可簡寫為 :cgete。