Last Site Update: 02 October 2008 | Latest Version: 1.3.22


Main

Download

Buy

License

Manual

About/Contact




Previous (Interactive Console) Root Next (Mark Occurrences)


Pydev provides syntax highlighting for decorators, numbers, keywords, 'self', strings, comments and backquotes. The colors can be customized at the Pydev Preferences, as the image below shows. You can also select the bold and italic style for any token.


Syntax color customization


Actions that are provided by pydev and are available for customization in this screen are:

  • Close parenthesis: as the name says, it closes the parenthesis for you.
  • Auto-skip matching braces: It means it won't create another brace when the template completes ')'
  • Automatic colon detection: It means it won't create another colon when the template completes '):'
  • Smart indent: Indents to the same column of the opening brace when a new line is entered.
  • Auto-edit 'import': Inserts an 'import' when it detects a from xxx import being written.
  • Auto-edit 'self': Inserts a 'self' when it detects you're writing a method from a class.

Tabs preferences:

  • Replace tabs with spaces: Whenever you put a tab, it will put the number of spaces you configured in this screen.
  • Assume tab spacing when file contains tabs: The option above is ignored if the file already contains tabs.

Block comments (the actual number of chars from the block is defined in the 'print margin' - see the image below)

  • Multi-block: If you are in a line that has 'block', the multi-block action (Ctrl+4) would create the result:
    #==============================
    #block
    #==============================

  • Single-block: If you are in a line that has 'block', the single-block action (Ctrl+Shift+4) would create the result:
    #------------------------ block


There are other customizable editor configurations. Those, are 'inherited' from the default 'text-editor' provided by Eclipse (the picture below shows it).




Previous (Interactive Console) Root Next (Mark Occurrences)

© Copyright: Aptana, Inc. 2008