HowTo:Configure your favorite text editor to work with POV-Ray

From POV-Wiki
Revision as of 21:55, 22 June 2010 by SharkD (talk | contribs) (→‎Instructions: some more instructions)
Jump to navigation Jump to search

POV-Ray supporting text editors

Windows
Linux

Instructions

SciTE on Windows

Syntax highlighting is already supported by default. However, POV-Ray is missing from some of the menus. To fix this:

  1. Select the "Options" menu. Select "Open Global Options File". A text file with a bunch of SciTE configuration settings will open in the editor window.
  2. Scroll to the section that starts with "The open.filter setting is used in the file selector which has a menu of filters to apply...". Add the common POV-Ray file extensions to the list. These include the POV, INC, INI and MCR extensions. After restarting SciTE Povray source files should now be listed in the "Open File", "Save File", etc. dialogs.
  3. Scroll to the section labeled "Define the Lexer menu". Uncomment the line that reads "P&OV-Ray SDL|pov||\". After restarting SciTE Povray should now appear in the "Language" menu.

To set up SciTE to send files to POV-Ray for rendering:

  1. Select the "Options" menu. Select "Open pov.properties". A text file with POV-Ray-specific configuration settings will open in the editor window.
  2. Scroll down to where it says "if PLAT_WIN". [Then what? To be continued.]

To set up SciTe for context-sensitive help:

  1. Select the "Options" menu. Select "Open pov.properties". A text file with POV-Ray-specific configuration settings will open in the editor window.
  2. Scroll down to where it says "if PLAT_WIN". Where it says:
    command.help.$(file.patterns.pov)=$(CurrentWord)!...

    change it to read:
command.help.$(file.patterns.pov)=$(CurrentWord)!C:\Users\Nimda\AppData\Roaming\POV-Ray\v3.6\help\povray36.chm

External links