I used TeXShop and PopChar Pro to get the letter ר so that it is l2r.Not a great solution but it works when one is working in r2l text. (Thank heaven for Unicode.)I will have a look at Visual Studio Code.