[FEATURE REQUEST] VSCode autocomplete plugin #67510
Replies: 3 comments
-
Timely report @gigi206! The saltstack vscode extension was just updated to support autocomplete of state modules for sls files, as well as test entries for saltcheck tst files. Additionally, you should now use the saltstack extension pack to ensure you have both the saltstack syntax and autocomplete plugin as well as the salt-lint plugin (which lints sls files). |
Beta Was this translation helpful? Give feedback.
-
Great 👍 |
Beta Was this translation helpful? Give feedback.
-
I just test. my_surper_user:
user.present:
- name: gigix
- uid: 1010 should return: import salt.states.user
user.present.__doc__ Same thing for user: import salt.states.user
user.__doc__ And same thing for user, but in this case, a parser is needed to extract the good value. Also autocomplete required arguments when we press enter:
and this is autocomplete required arguments like:
We have just tp press tab to change aaa and bbb value |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
All other similar tools (puppet, ansible, chef) have autocomplete tools:
cf https://youtu.be/oTNpobsCCS0?t=295
I think it would be a good point to develop a tool to help developers use Saltstack.
Beta Was this translation helpful? Give feedback.
All reactions