how to enter this info?

I’m curious on a new editor for perl and Kate looks very appealing with the file tabs and shell at the bottom etc

Forgive my ignorance, but how do I set up the Perl stuff above for my Kate? I see there’s 2 sections.

where do I put in:

# kate: indent-mode varindent;
# kate: var-indent-indent-after (?:\{(?![^}]*\})|\((?![^\)]*\)));
# kate: var-indent-indent (?:\{.*\}|\(.*\));
# kate: var-indent-unindent [})];
# kate: var-indent-triggerchars });

I see there’s a “configure” button next to the dropdown menu for autoindent method in the configuration, but it’s greyed out…

About the corresponding file entry: The ~/.kde/share/config/katefiletyperc is non existant on my KDE 3.5.6 kubuntu system. Will just putting the stuff quoted in the article into a fresh file with that name work?

Cheers!

Reply

  • You can use Markdown syntax to format and style the text.
  • You may link to images on this site using a special syntax
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.