sql 高亮美化工具

http://word.wd1x.com/在线word代码美化高亮

https://www.planetb.ca/syntax-highlight-word

一、工具
方法1.打开这个网页PlanetB;
方法2.或者谷歌搜索syntax highlight code in word documents,检索结果的第一个。如下图:
这里写图片描述

PS. 方法1和2打开的为同一个网站。
二、步骤
1.将你需要插入在word中的代码完整的复制到该网站提示的文本框内,选择你的代码类型,如C,C++,HTML等,并点击提交。如下图:
这里写图片描述

这里写图片描述

2.该网页会自动将该代码生成到一个新的页面,此时ctrl+A全选,后ctrl+c复制到word中粘贴就好。如下图:
这里写图片描述

三、体验
以下为本次实验代码在word中的对比图。
1.和单纯的复制粘贴相比
这里写图片描述

2.和简单的加入一个灰色无边框的1*1表格相比
这里写图片描述

PS.由于此次测试使用的代码并不是用常见的语言编写的,所以并没有起到很好的代码高亮作用,在word中还会出现英语的语法错误。
可在word中设置仅对该文档不使用语法检查。下图为关闭语法错误提示后的效果对比。
这里写图片描述

sql 语句美化工具
用过oracle的应该都知道他有一个sql美化器
可以让一段SQL语句变得清晰明了,无论是查看别的开发的存储过程那随意的空格和换行让你头疼的不行,还是自己写的用来梳理思路都是如虎添翼的。
但是sql server最近我也发现了一个超好用的插件,最关键的是人家激活码还免费~推荐大家使用

SQL Pretty Printer
下载链接:
http://www.dpriver.com/dlaction.php
申请免费激活码:
http://www.dpriver.com/products/sqlpp/getforfree.php

SQL代码美化程序 SQL Pretty Printer 3.2.8 Copyright 2005-2011, Gudu Software. All Rights Reserved http://www.dpriver.com -------------------------------------------------------- Overview -------- SQL Pretty Printer is a tool that will help you beautify your SQL code. Using hotkey functionality, SQL Pretty Printer can reformat SQL statements for a wide variety of database tools such as Microsoft Query Analyzer, SQL Server Management Studio (SSMS), TOAD and PL/SQL Developer, development environments such as Visual Studio 2003/2005/2008 and Eclipse, and popular editors such as UltraEditor and EditPlus. In addition to beautifying SQL code, SQL Pretty Printer can translate SQL code into C#, Java, PHP, DELPHI and other program languages. SQL Pretty Printer also includes command line functionality, with the ability to format single files, single directories and multiple directories. SQL Pretty Printer is designed to deal with the syntax used by most popular database systems including Microsoft SQL Server, Oracle, IBM DB2, MySQL and Microsoft Access (Informix, Sybase, and PostgreSQL support is currently in development). Output conforms to most of the entry level SQL99 Standard. Add-Ins for SSMS and Visual Studio 2003/2005/2008/2011 are available. APIs for dotnet and COM version are available. features: ** Beautifies SQL statements utilizing highly customizable format options. ** Formats SQL on-the-fly in popular tools and editors using hotkey functionality. ** Minimizes to the system tray for quick access. ** Includes a command line for batch conversion of single files, single directories or directory trees (use the command line API in your own program!) ** Verifies SQL syntax with detailed error information. ** Converts monochrome SQL code into colorful RTF document. ** Converts monochrome SQL code into colorful HTML for easy placement in blogs and forums. ** Converts SQL to various programming languages including C#, Java, DELPHI, PHP and others. ** Currently supports SQL syntax for Microsoft SQL Server, Oracle, IBM DB2, MySQL and Microsoft Access (Informix, Sybase, and PostgreSQL support is currently in development). ** Add-In for SQL Server Management Studio available. ** Add-In for Visual Studio 2003/2005/2008 available. Requirements ------------ Pentium class CPU or higher Windows 95/98/NT/2000/XP/Vista/win7
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值