How to get this Template
Hi there,
what I'm trying to achieve is pretty simple. On a string I want to be able to type:
myString.nullw + Enter and it becomes string.IsNullOrWhiteSpace(myString)
But this is driving me nuts as I just can't figure out how to get a template like "null" or "notnull".
I can't even find those two in the Template Explorer.
Any help is appreciated!
Please sign in to leave a comment.
Those are "postfix templates", which are listed under Options -> Code Editing.
There doesn't seem to be a way to add your own, though.
Thank you Richard for pointing this out!
I created a Request to add custom postfix templates in the tracker: https://youtrack.jetbrains.com/issue/RSRP-468412