简体   繁体   中英

Visual Studio 2017 - Disable auto-completion on Enter key press

I'm using Visual Studio 2017 to edit the scripts for Unity 3D Project.

In a script, I want to create a new function "Move", but I get a problem with autocomplete.

If I write "public void Move"

在此处输入图片说明

I get aa proposal "OnAnimatorMove", but I don't need this function! Now, after "Move" I enter a space character " ", but my function name is then automatically replaced by "OnAnimatorMove" and the "{","}" are automatically inserted.

在此处输入图片说明

Same happens, if I try to insert "(" character after "Move".

How can I prevent it?

U can click escape to disable the autocompletion or u can disble it all together by going to VS > Tools > Options > Tools for unity > and under 'code edition' disable Unity massage code completion. after that restart

我可以解决它,转到 Edit->Preferences->External Tools,然后在 External Script Editor 中,选择 Visual Studio 2017 (Enterprise)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM