sql查询美化器 [英] sql query beautifier

查看:55
本文介绍了sql查询美化器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须实现一个查询编辑器...一个文本区域正在显示查询...我必须编写一个JavaScript函数,该函数将格式化查询,以便无论何时获得关键字或,"都可以到新行....如何实现???????

I have to implement a query editor ...A text area is showing the query...I have to write a JavaScript function which will format the query such that whenever it will get a keyword or"," it will go to new line....How to implement it???????

推荐答案

具有关键事件.大概还有一件事或二十件事.更好地开始吧.不要要求我们为您编写整个项目的代码...首先开始,然后在遇到特殊问题时回到这里.您认为有人问我如何实现Microsoft Word"是否合理?可能不是...所以为什么要问自己?
With key events. And probably one or twenty other things. Better get started. Don''t ask us to code entire projects for you... go get started first, then come back here when you get stuck on particular things. Do you think it would be reasonable if somebody asked "how do I implement Microsoft Word"? Probably not... so why ask that yourself?


这篇关于sql查询美化器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆