I’ve recently started using Postman and was messing about with postman.setNextRequest()
I noticed that after I use setNextRequest, the syntax highlighting on the following code changes:
In another instance I need to comment out both setNextRequest and pm.variables.set to get the correct syntax highlight back:
Both the “red” lines must be commented out to get syntax highlight back. Just commenting the setNextRequest is not enough
I am fairly new to this, so I am not sure if this is intended and expected (to illustrate that the code is not executed? - although it seems to be)
Or if there is some setting somewhere that I can change so that setNextRequest does not cause this behavior.
Is this known and expected behavior?