Search code examples
lispcommon-lisplispworks

Lispworks editor color coding


Does anyone know how to maintain the color coding in the Lispworks editor? (LispWorks Personal Edition v6.1)

It works great when entering new code. But after saving and loading again, everything is monochrome black.

There is a checkbox under:

Tools > Preferences 
      > Environment
      > Styles 
      > Color parenthesis

But it does not affect it.

There's a workaround by loading and then copy/pasting the code into a fresh editor window and using save-as... but there's no way that should be required.


Solution

  • Almost certainly you are saving your files with an extension which the LW editor does not know means they are Lisp files. Call them <something>.lisp in the standard way and all will be fine.