2

Is it possible to turn off the autocomplete for HTML elements in Developer Console?

I tried turning off Apex Auto-complete but that didn't help.

developer console prefs

It's incredibly frustrating when every element I put on the page is auto closed and put two lines below.

1 Answer 1

1

No, it isn't possible to turn it off from the preferences or anywhere else in the UI. It should be able to be turned off though. I would file an idea on the idea exchange to add more options to the preferences.

If you wanted a (hacky) workaround, I created a bookmarklet you can use to disable the tag auto close on existing VF editors, and all plugins on new editors. If you still want things like gutter folding and matching tags on new editors, let me know and I can update the gist.

https://gist.github.com/amphro/0138a58e3df0ca210b30

To use a bookmarklet, copy the code in the gist, add a new bookmark in you browser and paste the code as the URL. Then open the developer console in a tab so you access the bookmark. When the dev console loads, press the bookmark and the auto close tags should be disabled. Let me know if you have trouble with it. I only tested it in chrome.

4
  • wow, very cool. I only use Firefox, but I will see how it does! Commented Jul 29, 2014 at 17:33
  • The bookmarklet should work in FF too. Let me know if it doesn't.
    – Thomas
    Commented Jul 31, 2014 at 15:13
  • I finally got around to trying this, and I don't think I did the bookmarlet right. I pasted all of the code ( including the javascript: ) into the location for the tab, but it goes to a page with some JS on it when I click it. Commented Aug 5, 2014 at 14:29
  • Yo can't put it in the location of the tab (the address bar). I believe it only works if you add it as a bookmark, go to the developer console in a tab, then click on the bookmark.
    – Thomas
    Commented Sep 9, 2014 at 4:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .