Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Syntax highlighting

  1. #1
    Forum Squatter newbie's Avatar
    Join Date
    Nov 2010
    Location
    North Wales
    Posts
    661
    My Mood
    Stressed
    Thanks
    28
    Thanked 115 Times in 106 Posts
    Blog Entries
    1

    Default Syntax highlighting

    Hello all, long time no see.

    Having returned to the forums after a long time, I'm noticing most of the posts using the colourless code block tags, as I assume it is the default [code] tag. I can not speak for everyone, but when there is a lot of code to trawl through with some terrible indenting, reading a wall of black text is hard.

    I'd like to just put it out there that I'd love it if [highlight=Java] could be the default tags on the editor, or the default behaviour for [code]

    Cheers.


    System.out.println("Pick me!");
    System.out.println("Let me die... pleeeease");
    Please use [highlight=Java]//code goes here...[/highlight] tags when posting your code

  2. The Following User Says Thank You to newbie For This Useful Post:

    aussiemcgr (October 4th, 2013)


  3. #2
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,660
    Thanks
    25
    Thanked 325 Times in 302 Posts

    Default Re: Syntax highlighting

    I agree
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

Similar Threads

  1. Need help in highlighting tree nodes
    By rahulha in forum What's Wrong With My Code?
    Replies: 2
    Last Post: September 18th, 2013, 08:14 AM
  2. Syntax Highlighting errors and weirdness?
    By sci4me in forum What's Wrong With My Code?
    Replies: 12
    Last Post: June 27th, 2013, 10:25 PM
  3. java syntax highlighting
    By Saulius in forum Java Theory & Questions
    Replies: 2
    Last Post: August 24th, 2011, 05:47 AM
  4. New Syntax Highlighting Feature!
    By JavaPF in forum Forum Updates & Feedback
    Replies: 15
    Last Post: July 14th, 2010, 09:20 AM
  5. Highlighting both row and column in JTable
    By bschneider14 in forum AWT / Java Swing
    Replies: 4
    Last Post: May 29th, 2010, 09:14 AM

Tags for this Thread