File extensions for Lisp View

6 views
Skip to first unread message

henr...@gmail.com

unread,
Jun 13, 2008, 8:46:05 AM6/13/08
to Cusp Development
Currently lisp view only works with .lsp extension, can i change some
settings to make it work with other extensions, for example .tst?

Timothy Jasko

unread,
Jun 14, 2008, 1:57:31 PM6/14/08
to cusp-dev...@googlegroups.com
Probably, yes, as long as you're willing to dig through an xml file.
On the bright side, I'm pretty sure you can make this change without
running from svn. Open up Cusp's plugin.xml file and find this
section:

<!-- Lisp Editor -->
<extension point="org.eclipse.ui.editors">
<editor
name="Lisp Editor"
extensions="lisp,cl,el"
icon="icons/lispFile.gif"
contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
class="jasko.tim.lisp.editors.LispEditor"
id="jasko.tim.lisp.editors.LispEditor">
</editor>
</extension>

Add your preferred extension to the "extensions" attribute, and start
up Eclipse. That should do the trick.

Reply all
Reply to author
Forward
0 new messages