LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices


Reply
  Search this Thread
Old 05-30-2013, 04:48 AM   #1
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Please add a sticky in the Programming forum telling people how to use code tags


There are just too many posts in this forum where users post code right into the thread without code tags. Maybe they don't know about code tags or how to use them. I feel that it would be very helpful for everyone if users put all their code in code tags.

It's a real pain to read code not in code tags, and it is mandatory for some languages like Python.
 
Old 05-30-2013, 07:47 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,254

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
I also suggest to add "#" icon on toolbar in "Quick Reply" form.
 
4 members found this post helpful.
Old 05-30-2013, 08:01 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,865

Rep: Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960Reputation: 1960
Quote:
Originally Posted by eSelix View Post
I also suggest to add "#" icon on toolbar in "Quick Reply" form.
I agree with this also.
In general I think that code tags are under used, not just in the programming forum.
 
Old 05-30-2013, 08:18 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Original Poster
Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
Originally Posted by eSelix View Post
I also suggest to add "#" icon on toolbar in "Quick Reply" form.
Oh yeah, you're right, it's not in the quick reply.
 
Old 05-30-2013, 10:13 AM   #5
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,446

Rep: Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324
Quote:
Originally Posted by eSelix View Post
I also suggest to add "#" icon on toolbar in "Quick Reply" form.
The code button is available in the new Quick Reply editor, currently found at http://www.androidquestions.org/forum.php and http://www.chromeosquestions.org/forum.php (which means it will be coming to LQ after the pending code update).

--jeremy
 
Old 05-30-2013, 10:16 AM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 12,446

Rep: Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324Reputation: 3324
Quote:
Originally Posted by H_TeXMeX_H View Post
There are just too many posts in this forum where users post code right into the thread without code tags. Maybe they don't know about code tags or how to use them. I feel that it would be very helpful for everyone if users put all their code in code tags.

It's a real pain to read code not in code tags, and it is mandatory for some languages like Python.
Consistent code tag usage in the Programming forum would likely be beneficial. If some senior member(s) would like to work on a well worded and informative post on the topic, we'd certainly be willing to sticky it. Thanks for the feedback.

--jeremy
 
Old 05-30-2013, 12:44 PM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Original Poster
Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Well, as long as it is going to be a sticky, may want to mention other helpful things to include in the post:

Programming language(s) required/used
A clearly worded, concise description of the problem
Your attempt at solving it (in code tags)
Examples of input and desired output
Errors if you have gotten them (also in code tags)

Anything else ? I'll try to write it if no one else more experienced volunteers.
 
Old 05-30-2013, 01:01 PM   #8
Z038
Member
 
Registered: Jan 2006
Distribution: Slackware
Posts: 841

Rep: Reputation: 165Reputation: 165
I think the sticky in the Programming forum is a good idea, but code and config files find their way into nearly all of the forums, not just the Programming forum. A short reminder in the "Message:" block when you "Post New Thread" might also be useful. Currently, the text under "Message:" says

Quote:
You should include as much detail as possible in your message, including exact error messages (where applicable) and what you have done so far. The more detail you include the more we can help. You should also use the board's search feature to ensure that the question has not already been asked.
Perhaps modifying it to add something like the following would be helpful:

Quote:
Please use CODE tags around program fragments, commands, and config file listing so they will be formatted and presented in a readable fashion.
 
1 members found this post helpful.
Old 05-31-2013, 02:29 PM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Original Poster
Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Alright, here's my attempt, fix as needed or someone else can take shot at it.
http://www.linuxquestions.org/questi...64#post4962964
 
Old 05-31-2013, 02:43 PM   #10
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,834

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
I'm looking forward to the updated version then. I'm getting really tired of seeing newbies posting raw code too.

On a related note I'd like to see the PHP code tag box fixed so that it doesn't expand the screen to gargantuan widths. Or even just removed entirely, since there's almost no specific need for it.
 
Old 06-01-2013, 03:52 AM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Original Poster
Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Quote:
Originally Posted by David the H. View Post
I'm looking forward to the updated version then. I'm getting really tired of seeing newbies posting raw code too.

On a related note I'd like to see the PHP code tag box fixed so that it doesn't expand the screen to gargantuan widths. Or even just removed entirely, since there's almost no specific need for it.
I was hoping for code-specific syntax highlighting, and the ability to click to download the code, like exists on the SlackDocs wiki.
 
Old 06-01-2013, 04:04 AM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Quote:
Originally Posted by H_TeXMeX_H View Post
Please add a sticky in the Programming forum telling people how to use code tags
The proper procedure would be to report threadId 4962964 and ask the forums moderators to sticky it. (No need, I already did.)
 
1 members found this post helpful.
Old 06-01-2013, 04:19 AM   #13
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,950

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
Not just "Programming" either ...

Some try to do the right thing but use [quote] rather than [code] - almost as bad, but the effort is appreciated (by me at least).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Standard way of telling people about CODE tags? Meson LQ Suggestions & Feedback 7 08-03-2009 10:40 AM
Inaugural Laptop Forum Sticky finegan Linux - Laptop and Netbook 1 08-14-2003 03:26 PM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

All times are GMT -5. The time now is 09:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration