代码片段管理工具:rofi前端+Java守护进程
This commit is contained in:
50
test/test.md
Normal file
50
test/test.md
Normal file
@@ -0,0 +1,50 @@
|
||||
## Snippet
|
||||
```Java
|
||||
class test {
|
||||
while(true)
|
||||
|
||||
{
|
||||
//输入层级
|
||||
if (esc) {
|
||||
break;
|
||||
}
|
||||
if (enter) {
|
||||
//按下enter
|
||||
while (true) {
|
||||
//展示结果层
|
||||
if (未找到) {
|
||||
//无结果
|
||||
if (esc || enter) {
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
//有结果
|
||||
if (enter) {
|
||||
//选中结果按下enter
|
||||
while (true) {
|
||||
//展示操作层
|
||||
if (esc) {
|
||||
break;
|
||||
}
|
||||
if (enter) {
|
||||
//执行操作
|
||||
doSomething();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## MetaData
|
||||
- Language
|
||||
- Java
|
||||
- Tags
|
||||
- hello world
|
||||
- test
|
||||
- Description
|
||||
- test-description
|
||||
Reference in New Issue
Block a user