Hello! These is a feauter implemented for the tree-sitter version of yaml-pro that may be what you're looking for (assuming you're using Emacs 29). By enabling yaml-pro-ts-mode as well aseldoc-mode` you should be able to see the current path for the symbol.
As for getting this to work for the legacy parser, I could implement such a feature, but it would be very slow as I don't think the YAML processor can parse a long document fast enough to update everytime the point moves.
Hello! These is a feauter implemented for the tree-sitter version of yaml-pro that may be what you're looking for (assuming you're using Emacs 29). By enabling
yaml-pro-ts-mode as well as
eldoc-mode` you should be able to see the current path for the symbol.As for getting this to work for the legacy parser, I could implement such a feature, but it would be very slow as I don't think the YAML processor can parse a long document fast enough to update everytime the point moves.