sadv1r / ansible-vault-editor-idea-plugin

Ansible Vault Editor IntelliJ Plugin with auto encryption/decryption
https://plugins.jetbrains.com/plugin/14278-ansible-vault-editor
MIT License
35 stars 4 forks source link

Intention actions not appearing #201

Open valentinocossar opened 1 year ago

valentinocossar commented 1 year ago

Hi, I can't get the encrypt YAML property intention actions (also modifying an existing one). What am I doing wrong? I'm on macOS Ventura running the latest PHPStorm version and the latest plugin version. Also, I'm using an Apple Silicon CPU with ansible-vault installed via Homebrew, the executable PATH is /opt/homebrew/bin/ansible-vault.

image

image

Thank you for the support!

simonzn commented 1 year ago

I have the same problem with PyCharm 2023.1.2 Build #PY-231.9011.38 and version 1.20 of this plugin. I can only encrypt whole files, not individual properties.

simonzn commented 1 year ago

Found it, it's not a problem with this plugin (at least for me). For some reason the file type associations are broken in the latest PyCharm and IntelliJ IDEA versions; after adding the *.yml and *.yaml patterns (Settings -> Editor -> File Types) the intention actions are shown.

sadv1r commented 12 months ago

@valentinocossar Maybe it’s the same problem for you?

valentinocossar commented 11 months ago

Hi @sadv1r, yes, this fixes the issue also for me!

sadv1r commented 11 months ago

Okay, @valentinocossar thanks! I’ll check if this a mass JetBrains problem with new IDE versions and will make a bug report if it is.

florianthievessen commented 11 months ago

Hi, broken file association seems to be only a part of the problem. Even if set correctly, it doesn't work for multiline YML-strings.

sirdrug commented 9 months ago

I have the same problem in files without extension