The best way to teach your students how to turn off their editor is to teach them how to freewrite. The student feels relaxed, and as a result there is no frustration about writing. The most important heuristic that freewriting affords is that it forces the students to think in English. If you are really freewriting and not stopping for anything, then there isn't sufficient time to translate from the L1 into the L2. If you can get your students to freewrite, you will have won most of the battle over frustration.
Frustration is the main cause of the dislike and avoidance of writing.
Perhaps then your students will be more eager to write, and do more of it. Yet another way to change negative attitudes toward writing is to teach students that writing is more a mode of learning than a skill. When people think about skill, ideas of good and bad , and success and failure come to mind. Today, Aristotle's topoi have become ready-made frameworks upon which our ideas are laid. For Raimes, the teaching of writing should stress the students' ideas and how they express those ideas rather than stressing grammar.