LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 03:48 AM   #1
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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, 06:47 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

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

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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, 07:18 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928

Original Poster
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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, 09:13 AM   #5
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
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, 09:16 AM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
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, 11:44 AM   #7
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928

Original Poster
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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, 12:01 PM   #8
Z038
Member
 
Registered: Jan 2006
Location: Dallas
Distribution: Slackware
Posts: 912

Rep: Reputation: 174Reputation: 174
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, 01:29 PM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928

Original Poster
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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, 01:43 PM   #10
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
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, 02:52 AM   #11
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928

Original Poster
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
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, 03:04 AM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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, 03:19 AM   #13
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
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



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 09:40 AM
Inaugural Laptop Forum Sticky finegan Linux - Laptop and Netbook 1 08-14-2003 02:26 PM

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

All times are GMT -5. The time now is 01:08 PM.

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
Open Source Consulting | Domain Registration