yaml-base64-decoder
Plugin Description
Extension
- Adds Decode Base64 Values to editor popup menu when yaml file is opened
- Adds a keyboard shortcut ⌥ ⇧ ⌘ Y to run the decoder
Feature
- Automatically detects Base64 encoded values in a yaml file and replace them with decoded values
Usecase
- To see raw text in Kubernetes (k8s) Secret yaml file
- To see raw text in any yaml file that has Base64 encoded values
Installation
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "Yaml Base64 Decoder" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins >
⚙️ > Install plugin from disk...
Development TODO
- High
\\n
is added before 62th char in YAMLQuotedTextImpl.getEncodeReplacements if quote is double quote
- Low
- Add tests
- Show hint after the command run
- reference: ReformatCodeAction
- Execute base64 decode against multiple selected yaml files
Plugin based on the IntelliJ Platform Plugin Template.