Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialCameron Scully
2,919 PointsQuestion about typing the code settings
When writing my code, how do I set my settings so, like in the video, I can type <h1> and have </h1> come up automatically and be able to continue to type without deleting the </h1> the program just made for me.
for example i just typed "<h1>"
''' <h1></h1> '''
then immediately after the system gave me a </h1>
how do i write my code so when i type while these two are generated the brackets will ove with my typing so this doesn't happen, for example.
has been happening (below) i begin to type "he"
''' <h1>he1h> '''
want to happen (below) i just typed "he"
''' <h1>he</h1> '''
Cameron Scully
2,919 PointsI am specifically talking about Workspaces for this example, but if you know the term that applies to the setting I am trying to address I would appreciate it :)
1 Answer
Jennifer Nordell
Treehouse TeacherHi there! I believe the insertion method of typing is incorrect. Try hitting the "Insert" button exactly once (it's a toggle) and try this again. When I try it in workspaces, if I toggle it to the other setting I experience what you are experiencing where it writes over what is already written there. When I hit the "Insert" key once, it stops this behavior.
Hope this helps!
Cameron Scully
2,919 PointsThanks, truly!
Calin Bogdan
14,921 PointsCalin Bogdan
14,921 PointsHello!
Are you talking about Workspaces or a particular text editor you are using? If you're using a text editor (Atom, Visual Studio Code, etc.) you can install plugins that do such things (and many more!).