lispercat / sailpoint-iiq-dev-accelerator

VSCode extension to accelerate and facilitate development by directly interacting with the target Sailpoint IIQ server
MIT License
31 stars 11 forks source link

Ignore empty tokens in target properties #31

Open remold opened 2 years ago

remold commented 2 years ago

We have multiple environments and use ignore files to not deploy everything to each environment. SSB still needs to have a placeholder in the target.properties for tokens used only in the ignored files.

During the reverse tokenization this leads to a recursive loop and for some 'bigger' objects the following errors: tokenization, wrapping and folding have been turned off for this large file in order to reduce memory usage and avoid freezing or crashing. Cannot compare files because one file is too large. IIQ object beautification failed: RangeError: Invalid string length

Workaround we can use is to set a bogus value for the unused tokens.

Enhancement for the plugin: ignore the empty tokens (just like commented out or empty lines)

Thanks, Remold