摘要: ********************************************************************************* š Copyright 2009 Xilinx, Inc. All rights reserved.** This file contains confidential and proprietary information of Xilinx, Inc. and** is protected under U.S. and international copyright and other intellectual p 阅读全文
posted @ 2011-02-16 20:35 HelloSUN 阅读(919) 评论(1) 推荐(0) 编辑
摘要: 1 shiftwidth这个是用于程序中自动缩进所使用的空白长度指示的。一般来说为了保持程序的美观,和下面的参数最好一致。同时它也是符号移位长度的制定者。2 tabstop定义tab所等同的空格长度,一般来说最好设置成8,因为如果是其它值的话,可能引起文件在打印之类的场合中看起来很别扭。除非你设置了expandtab模式,也就是把tabs转换成空格,这样的话就不会一起混淆,不过毕竟制表符为8是最常用最普遍的设置,所以一般还是不要改。3 softtabstop如果我们希望改变程序中的缩进怎么办?shiftwidth和tabstop不一样的话,你会发现程序比较难看的。这时候,softtabstop 阅读全文
posted @ 2011-02-16 12:40 HelloSUN 阅读(3534) 评论(0) 推荐(0) 编辑