The simple tool to copy or show the yaml path currently under cursor
My initial thought was to name it yaml-automation
but yaml-tomato
reads and looks better
Put `yaml-tomato.el' in your Emacs load-path and add the line below to your .emacs file:
(require 'yaml-tomato)
yaml-tomato provides two functions you could use while working with yaml file:
yaml-tomato-show-current-path
displays current yaml path under cursor in message box
yaml-tomato-copy
copies the current yaml path under cursor to kill-ring and clipboard
You will need to have cask installed to run tests. Once it is installed:
git clone [email protected]:RadekMolenda/yaml-tomato.git
cd yaml-tomato
# install dependencies
cask
# run unit tests
cask exec ert-runner
# run integration tests
cask exec ecukes
The multiline values in yaml file might sometimes cause some problems to yaml-tomato
especialy when there are plenty of whitespaces in the beginning of the line. "Normal" multiline values shouldn't cause problems.