Editor integrationFactor provides support for interacting with your text editor of choice (assuming a suitable edit hook has been written.) Hooks have been written for jEdit, VIM, Emacs, Scite and a number of others. See the source code in Editing SourceYou can enable editor support in the Factor workspace by using the appropriate editor hook. For example, to add support for the VIM, you could source the following (or add it to your USING: namespaces editors.gvim ; "/opt/local/bin/gvim" \ gvim-path set-global You must use If you restart Factor with this USE: demos \ demos edit Other examples can be found in the on line documentation under the Setup for Other EditorsJump to error locationIf a syntax error was thrown while loading a source file, you can jump to the location of the error in your editor using the VIM ModeThe factor source tree, in misc/vim, has syntax highlighting and file type detection and so on. This revision created on Mon, 28 Sep 2009 18:15:58 by rlpowell (Mention the vim mode.) |
|
|
All content is © 2008-2010 by its respective authors. By adding content to this wiki, you agree to release it under the BSD license. |
|