MagicAnchor
I need to learn about some Architect things or use better AI to process it.
Notes
Currently only support for Windows.
Please open files by Open Folder
in vscode.
Situation
In some cases, you need to add similar text repeatedly.
For example, you have to type codes to import, export, add configuration and other miscs in several but same files. What you do is just copy, past, and change a little params.
If you keep doing these affairs, chances are you won't MAGA. Do not repeat yourself! MagicAnchor can help you get free you from that uncreative status.
Usage
Grammar
... // your code
// notes:
// anchor: anchorID your code boilerplate, use {1} {2} to customize your params
... // your code
Requirements
Windows
Release Notes
0.0.1
Initial release of MagicAnchor
0.0.2
- [x] Rename the stupid register name
Hello Word
.
- [x] fixed: auto replace when run first time.
- [x] Enable ignore files and directory from vscode settings, defaultly ignore directory such as
node_modules
0.0.3
- [x] Enable select Current File or Whole Working directory
- [x] fixed: cannot take effect to ignore on files
- [x] refactor project
0.0.4 TODO
- [ ] Enable delete, change.
- [ ] Alert modified files
- [ ] add licences and use git to release
0.0.5 TODO
- [ ] fixed: disable cached value after files shift or anchor id deleted
- [ ] Text indentation according to spaces in front of
//
- [ ] Enable it on Linux and MacOS
0.0.6 TODO
- [ ] Support annotation according to files type
0.0.7 TODO
- [ ] Index anchor ids on vscode start deamonly
- [ ] Monitor changed files and index them
- [ ] fixed: must reload to update configuration
0.0.8 TODO
Not Sure
- [ ] Customize directory depth
problem
- [ ] different params vectors result in too many ids
- [ ] Not very easy to use