Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Option to disable tag autocompletion #5469

Closed
LunarLoony opened this issue Oct 10, 2013 · 10 comments
Closed

Option to disable tag autocompletion #5469

LunarLoony opened this issue Oct 10, 2013 · 10 comments

Comments

@LunarLoony
Copy link

I find it disrupts my work significantly when my tags get closed for me - I'm used to using Notepad++ to work and the autocompletion is one of the reasons why I don't like using Dreamweaver.
An option to disable this feature would be excellent.

(note: by tag autocompletion, I mean this:
if I write < h1 >blarg and then type </ it will complete the </ h1 > for me)

Thanks

@njx
Copy link

njx commented Oct 14, 2013

@Phlum - thanks for filing this. Do you also dislike the other kind of autocompletion we do (where if you type an open tag like <p>, we automatically insert a </p>)? (I personally think it's weird that we have both :) and think we should just have one, but am curious whether you'd rather get rid of both behaviors.)

Marking move to backlog since we'll need to do some design work to figure out how to resolve this.

@LunarLoony
Copy link
Author

I think the best course of action would be to have a separate checkbox for each behaviour. Personally I don't like either - however, there are people who like their autocomplete and keeping all options open will be best, I think.

Cheers

@njx
Copy link

njx commented Oct 16, 2013

Got it, thanks.

@njx
Copy link

njx commented Apr 9, 2014

You can now set this by editing your user preference file to set the closeTags pref - see https://github.com/adobe/brackets/wiki/How-to-Use-Brackets#preferences for instructions on how to do this. We don't have UI yet , but when we get our general preferences UI built this will be part of that.

Closing as implemented.

@njx njx closed this as completed Apr 9, 2014
@kwill39
Copy link

kwill39 commented Mar 12, 2015

Awesome! Thank you so much!

@srkdonpro
Copy link

Thank you Phlum <3

@estevancarlos
Copy link

This is an interesting issue. I find that autocompletion complicates the education process. A part of me feels that a student should practice closing their tags before using autocomplete and some students I have too easily forget autocomplete is on and thus type duplicate closed tags. Anyway, glad there's an option to disable.

@gtwy
Copy link

gtwy commented Oct 6, 2016

As this is from 2014, I just want to say it would be nice if we had this in the GUI now. I kind of struggled along with this for a while til I finally googled it and found this thread. I didn't think there was a solution because there IS a GUI option to disable auto close brackets.

Auto-completing tags doesn't make any sense, I was constantly backspacing. However, just like Plum, I do very much like auto complete on </.

Either way, thank you for making this a configurable feature, even if it wasn't super intuitive to figure out.

@cTxplorer
Copy link

I tried searching the menus to turn off the auto-completing tags. After a while, when I could not bear with it, I tried searching it online and found out this issue page. I configured the .json file, and it worked.

As suggested by @gtwy, the configurable feature is good to go. But, it would be better if we had this in GUI. Anyway, Thanks.

@hayrettinsalgin
Copy link

not work for me

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

8 participants