|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
||||
|
||||
|
Awesome idea! That will help a lot.
|
|
#2
|
||||
|
||||
|
This would seem somewhat difficult to implement, since code is just standard words that are used in everyday conversation...If...Else...Then...Select...Case... etc...
How would you determine if they were writing code or just typing a sentence? Other than checking to see if the line reads something like "If (something) Then" or "If something Then"...either way this would be extremely difficult to implement. |
|
#3
|
||||
|
||||
|
Quote:
Actually, it's already been implemented. I suggested it over at Dev Shed, and the admins set it up [here]. It's not meant to catch all code posted, but just most of it. ![]() |
|
#4
|
||||
|
||||
|
sounds like nice hack, now you have to convince the admins to install it here as well.
![]() |
|
#5
|
||||
|
||||
|
yes, I made a post today, and it moaned about code blocks or something, did not pay much attention to it, even though my code was neatly wrapped.
But when I clicked OK, the post submitted and it came out fine. really weird
__________________
Look! Its a ShemZilla ![]() ![]()
Last edited by nofriends : April 8th, 2005 at 07:12 PM. Reason: typo |
|
#6
|
||||
|
||||
|
hmm... let me see
testing ASP code: <% Response.Write("hello world") %> yes!! very nice. the alert showed and asked me to add the code tags. testing ASP code with code tags: Code:
<%
Response.Write("hello world")
%>
|
|
#7
|
||||
|
||||
|
Yeah, I didn't think of this myself. lol... I just got it when I put in simple little <> tags inside common text.
|
|
#8
|
|||
|
|||
|
That's pretty good to get it on <> tags, although this may get annoying for some people who use <> tags in general text, but on a programming forum - there aren't going to be many!
(Many people, that is ) |
|
#9
|
||||
|
||||
|
Very nice indeed
![]() I think newbies don't know where the tags are. Wouln't it be best if the alert can tell them to hightlight the text to wrap and click on the # button?
__________________
................... ASCII and ye shall receive .................. Knowledge is the only resource on earth that multiplies when shared Support the Shemzilla Project Powered by C# |
|
#10
|
||||
|
||||
|
won't it be awesome to have CodeBots around here - AI code that will identify code blocks and automatically wrap them in code tags?
![]() my vision of the future - such CodeBots will exist, making our life much easier!! |
![]() |
| Viewing: ASP Free Forums > Forum Information > Suggestions & Feedback > JavaScript prompt when code is used without [code] tags! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|