修改 Readme 文件格式,增加 License 文件.

Signed-off-by: rick.chan <chenyang@autoai.com>
This commit is contained in:
rick.chan 2020-08-27 10:25:06 +08:00
parent cd58ad9bd5
commit 390ad25bc4
2 changed files with 11 additions and 4 deletions

6
LICENSE Executable file
View File

@ -0,0 +1,6 @@
Copyright (c) 2011, Deusty, LLC
All rights reserved.
Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Neither the name of Deusty nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission of Deusty, LLC.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -1,4 +1,5 @@
# QtProAddFileHelper
个人觉得Qt Creator除了写程序外用来看代码也是比老旧过时的 sourceInsight 有过之而无不及。而且还有 sourceInsight 不具备的代码高亮功能,可以将与所选中内容相同的函数或变量全部高亮显示出来,也可以将全部搜索结果高亮显示,这一点对阅读和修改代码非常有帮助。另外 Qt Creator 在修改代码方面表现比 sourceInsight 好很多,并且只要按下 Ctrl+I 就可以将源代码格式化Qt Creator 对正在编辑的代码区域进行突出显示,其余区域会变暗。
但是,对于已有的项目,由很多源代码文件构成,往往一级级目录嵌套,这使得向 Qt Creator 添加文件成了一件很麻烦的事情——因为 Qt Creator 不支持以目录方式添加源代码文件。因此写了这个 Qt Creator 文件添加助手,基本原理就是搜索源代码目录,然后将路径和文件以以下形式添加到项目(*.pro)文件中: