My Account Log In Walkthrough IDE Integrations Contact  
Polystyle
Point And Click Source Code
Formatter & Obfuscator

Click Here To Download A Free Trial!
Home Features Documentation Buy Formatter Buy Obfuscator Download  

 



  • PHP Obfuscator

  • C# Obfuscator

  • Perl Obfuscator

  • Java Obfuscator

  • Javascript Obfuscator

  • JSP Obfuscator

  • Actionscript Obfuscator

  • C/C++ Formatter

  • Perl Formatter

  • Pascal/Delphi Formatter

  • C# Formatter

  • CSS Formatter

  • CMAC Formatter

  • Java Formatter

  • Javascript Formatter

  • PHP Formatter

  • JSP Formatter

  • HTML/XML Formatter

  • Python Formatter

  • ASP Formatter

  • Visual Basic Formatter

  • Actionscript Formatter

  • Polystyle Walkthrough

  • Polystyle Is Simple To Use
    • In this walkthough you'll be taken through the short steps it takes to define your style and format your source code.

      (Note to Vista and Windows 7 users: You may need to install it somewhere other than program files, such as your user directory, for it to work because of the permissions.)
  • Unformatted Source

    • Let's start with a simple use case. Imagine you have the following java code you want to format:
      [ View full source ]
      
              //new
              item = new JMenuItem("New");
              item.setMnemonic(KeyEvent.VK_N);
              item.addActionListener(new ActionListener() {
                  public void actionPerformed(ActionEvent e) {
                      System.out.println("New window");
                      framework.makeNewWindow();
                  }
              });
              menu.add(item);
      
          ...
          

  • Reformatted Result
    • Polystyle uses examples of code to find out how you like your code styled. You may either use the Graphical Styler to style your example file using mouse clicks alone, or you may edit your example file directly for more control over your style. Let's use Polystyle's predefined 2-space indent GNU style to format our file. (Note that you can also edit your example file directly to customise your style.) Here's the result:
      [ View full source ]
      
              //new
              item = new JMenuItem ("New");
              item.setMnemonic (KeyEvent.VK_N);
              item.addActionListener (new ActionListener()
                {
                  public
                  void
                  actionPerformed (ActionEvent e)
                    {
                      System.out.println ("New window");
      
                      framework.makeNewWindow ();
                    }
                });
      
              menu.add (item);
          ...
        

  • Configuring Polystyle - Step 1: Define Your Examples
    • When you install Polystyle, the Configuration Tool is invoked to allow you to define your personal style. You have several options to do this.
    • Option 1 allows you to define your style easily using the Graphical Styler and create a consistent style without having to edit an example file.
    • Option 2 allows you maximum flexibility, by editing the example files, you can define nearly any style imaginable.
    • Option 3 allows you to quickly select a predefined industry-standard style without having to edit any configuration files.
    • Option 4 allows you browse all the Polystyle's prepackaged styles.

  • Option 1: Define Styles using the Graphical Styler
    • The Graphical Styler has several categories of options for each style. When you click a style option, the preview is instantly recreated.

    • Try Polystyle out for free, download a copy below:


  • Configuring Polystyle - Step 2: Set Global Preferences
    • Here you may quickly set up various preferences, as shown below:

  • Configuring Polystyle - Step 3: Run Polystyle
    • There are a number of ways to invoke Polystyle, as shown below:

  • Take Polystyle For A Spin!
    • Try Polystyle out for free, download a copy below:


  • Home Features Documentation Buy Polystyle Buy Obfuscator Download  

    Click Here To Download A Free Trial!

    Copyright © Flashbulb Studios. All rights reserved.