How to configure typescript editor to go to end of line

戏子无情 提交于 2019-12-12 02:49:47

问题


If you click behind the end of any line in any editor (VS included), the cursor/caret is normally positioned at the end of the line.

However, if I'm editing a TypeScript file in Visual Studio 2013 (with Typescript 1.0 and latest Web Essentials installed), the cursor is actually positioned where I click - inserting spaces if I type/press enter!

This behavior is driving me mad -but I can't find any setting to change this...

This is clearly TS specific and does not occur on any other file type.

Any idea how to switch this off?


回答1:


It sounds like you somehow have Virtual Space enabled. Go to Tools -> Options -> Text Editor \ TypeScript and uncheck "Enable Virtual Space" on the right.



来源:https://stackoverflow.com/questions/24418757/how-to-configure-typescript-editor-to-go-to-end-of-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!