# Code Assist not working in new notebooks

All I remember doing is changing cell format type (preferences>evaluation>Input and Output) back and forth. Now even when I close and reopen, I cannot get Code Assist to show up. It works fine in existing files, and when I copy and paste from here, but in a completely blank file it does not appear.

I am running V10.4

• Cell["as", "Input", CellChangeTimes->{{3.711853778736206*^9, 3.711853778812235*^9}}] Aug 16 '17 at 6:30
• Let me know if my answer helps.
– Kuba
Aug 16 '17 at 13:29

Previewing cell contents (Ctrl+Shift+E) and noticing a lack of BoxData may give a clue that the cell is not in a StandardForm.

It can be confirmed/checked by going to menu Cell / Convert To too.

Not sure if this is emphasized anywhere in docs (link appreciated) but syntax highlighting/code assist is available only in StandardForm representation.

You can switch it back via mentioned menu or by pressing Crtl+Shift+N

If the problem is not localized to a specific notebook/cell check if DefaultFormatType options is not set to InputForm for affected objects.

• Yep, correct. Can I make it default to StandardForm? Aug 17 '17 at 20:50
• Aug 18 '17 at 0:30
• @jamesson good you've figured it out, sorry for the delay.
– Kuba
Aug 18 '17 at 9:17