R
Roger_Jenkins
Guest
Hello!
I'm a newbie and have just started using Visual Studio Code version 1.38.1. (But I have completed half a course on Visual Studio Code on Udemy)
When I'm writing code in Visual Studio in a HTML-file, I would like the shortcut "p+Tab" (or "p+Enter") to produce the tags:
<p></p>
But what happens instead is that when I press "p", Visual Studio then gives me a list to choose from. So if I then press "Tab" (or "Enter") I get something else entirely.
So if I want to produce the tags <p></p> I have to press "p" and then I have use the arrow-keys to go down to the fourth option, and only then can I press "Tab" (or "Enter") to get the <p></p> tags.
That is going to be too cumbersome if I have to do that every time if I am going to code thousands or more <p>-tags in the future.
I know that you can go to File > Preferences > Keyboard Shortcuts, and then see and edit all sorts of keybindings, but I don't know how this works, I'm not sure if tinkering around here would solve my problem and I can't even find what the appropriate command is supposed to be here. I'm hoping that maybe there is an easy way that I can make it so that Visual Studio Code presents me with the <p></p> tags first, when I press "p".
So my question is:
Can someone please help me and tell me how I can make it so that the tags <p></p> is the first option that Visual Studio Code presents to me when I press "p"?
Thank you very much in advance!
Roger
Continue reading...
I'm a newbie and have just started using Visual Studio Code version 1.38.1. (But I have completed half a course on Visual Studio Code on Udemy)
When I'm writing code in Visual Studio in a HTML-file, I would like the shortcut "p+Tab" (or "p+Enter") to produce the tags:
<p></p>
But what happens instead is that when I press "p", Visual Studio then gives me a list to choose from. So if I then press "Tab" (or "Enter") I get something else entirely.
So if I want to produce the tags <p></p> I have to press "p" and then I have use the arrow-keys to go down to the fourth option, and only then can I press "Tab" (or "Enter") to get the <p></p> tags.
That is going to be too cumbersome if I have to do that every time if I am going to code thousands or more <p>-tags in the future.
I know that you can go to File > Preferences > Keyboard Shortcuts, and then see and edit all sorts of keybindings, but I don't know how this works, I'm not sure if tinkering around here would solve my problem and I can't even find what the appropriate command is supposed to be here. I'm hoping that maybe there is an easy way that I can make it so that Visual Studio Code presents me with the <p></p> tags first, when I press "p".
So my question is:
Can someone please help me and tell me how I can make it so that the tags <p></p> is the first option that Visual Studio Code presents to me when I press "p"?
Thank you very much in advance!
Roger
Continue reading...