WordPress.org

Ready to get started?Download WordPress

Forums

Crayon Syntax Highlighter
How to indent? (5 posts)

  1. srh124
    Member
    Posted 1 year ago #

    Hi
    I'm confused How should i indent my code? Or plugin do that for me.
    If it's the job of plugin, then it sounds it doesn't work for Visual Basic.
    Any help would be greatly appreciated.

    http://wordpress.org/extend/plugins/crayon-syntax-highlighter/

  2. srh124
    Member
    Posted 1 year ago #

    should i move to another plugin? I mean this plugin sounds does not support auto indentation.
    Any one succeeded in this manner?

  3. Muhammad Muhaimin
    Member
    Posted 1 year ago #

    I think every time we press the [Tab] button in most IDEs, it becomes some [space] characters.
    Just copy your source codes from your IDE to the crayon editor, then you will get the indents.
    Check this out: http://widyagama.ac.id/informatika/komunitas/grup/pemrograman-web/forum/topic/tutorial-html-pendahuluan/#post-574

  4. srh124
    Member
    Posted 1 year ago #

    Is it the same for other same plugins? I mean is there no auto indentation and all indents should be specified beforehand by user (may be by coping from IDEs)?

  5. Muhammad Muhaimin
    Member
    Posted 1 year ago #

    Have you tried Netbeans?
    You can press Alt+Shift+F to spruce up your codes.
    There is also NppAutoIndent Plugin for Notepad++, but I haven't tried it.

    Any web based one?
    For JS and HTML: http://jsbeautifier.org/

    Expecting a WP plugin that could do it?
    Yeah, I hope it too. I know it's a hard work to do.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.