I have yaml files and python scripts. Is it possible to make one-one mapping between yaml and python files for auto completion?

I have to define information in yaml files rather often and there are lots of different yaml files.

Scenario: I have some files

1.yaml 2.yaml 3.yaml 4.yaml 
s1.py s2.py s3.py
      someInfo: ThisIsInfo

Every yaml file contains different information. Now I want to use auto completion from 1.yaml in my s1.py

infoFull['tag2']['comp2'] = someInfo

Is there any way to link them for auto completion?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.