The function of 这么 in this line
A bit more context would be helpful, but you could be right, 这么 can be translated as 'so, this way, like that'

您打算这么干吗？
Did you mean to do that?
Did you mean to do it like that?
Do you intend to do this?
Are you going to do this?

你应该这么做.
This is how you do it.
That's what you should do.