Hi Devsense community.

I hope someone can help with an extremely annoying feature.
Whenever I type in between html tags, Visual Studio shows word suggestions, and they get inserted when I type space. So writing content between html tags results in some very odd words being inserted instead of just letting me type what I want.
Does anybody know how to disable this annoying feature.
I have searched a lot on the topic, and none of the suggested solutions for VS2022 work!

Best regards

Nicki

    20 days later

    Sorry for the late reply, I did not receive a notification about your reply.

    It is a .php file.

      It looks like Visual Studio's "emmet" feature - I'll check if there isn't an option in Tools/Options -> Text Editor/HTML Editor/**

      Suggestions inside <?php tags work ok?

        This seems to be expected behavior in Visual Studio's HTML Editor. You can disable opening code completion when not typing the < character (in Tools/Options -> Text Editor/HTML). This should fix the issue.

          I have set everything to false, but it doesn't seem to have an effect in the editor. It still suggests words, and when I press space it inserts the suggestion.

            Nickidotdk You're right, no settings I've tried so far have any effect on this. However for me, it always popups completion only after typing the < character.

            All my options are set to default:

            Do you have another Visual Studio extension installed? It may cause it. Also, I would recommend checking Visual Studio Installer if everything is up-to-date.

              7 days later

              I have both VS and Php Tools up to date. Settings are the same as yours and still I get the suggestions whenever I type in php files. I guess I have to live with it since nothing I change has any effect.

              Thanks for trying to solve the problem :)

                Nickidotdk that's weird :-)

                Does it happen in regular .html files as well?

                  Write a Reply...