ansible-vault-editor-idea-plugin icon indicating copy to clipboard operation
ansible-vault-editor-idea-plugin copied to clipboard

Intention actions not appearing

Open valentinocossar opened this issue 1 year ago • 7 comments

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!

valentinocossar avatar Dec 30 '22 16:12 valentinocossar

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 avatar May 31 '23 07:05 simonzn

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.

simonzn avatar May 31 '23 08:05 simonzn

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

sadv1r avatar Jul 09 '23 12:07 sadv1r

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

valentinocossar avatar Jul 21 '23 15:07 valentinocossar

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.

sadv1r avatar Jul 22 '23 15:07 sadv1r

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.

florianthievessen avatar Jul 26 '23 08:07 florianthievessen

I have the same problem in files without extension

sirdrug avatar Sep 26 '23 07:09 sirdrug