Sunday, April 25, 2010

Re: Display C-langs like Python? (hide braces, etc)

On 04/25/2010 10:29 PM, chardson wrote:
> This may be a ridiculous question, but are there any plugins to
> display C-like languages like Python?  I'm imagining an interpreter
> that displays obvious loops / conditional statements as their
> equivalents in Python, although the file actually contains the
> necessary cues for C-like languages (e.g. it hides braces and forces
> indentation in the Python style, but the file written contains the
> actual braces, as appropriate)
>
> What to search for was not obvious, so I gave up after a few
> attempts...
>


You can for example set syntax colour for braces to be the same as BG.
Or nearly the same. As for indentation, your code should be properly
indented anyway!

No comments:

Post a Comment