Visual Studio 的字体及配色
有一个很好的网站 "Is your IDE Hot or Not", http://idehotornot.ning.com/,里面有很多很好的配色方案。
还有一个博客写得也很不错 http://www.codinghorror.com/blog/archives/000682.html
TIPS
1. 打开Clear Type选项
Windows XP中为了增强LCD显示器的显示效果,添加了一种名为Clear Type的技术。打开这种技术后屏幕上显示的字符会更加好看。在桌面空白处点击鼠标右键,选择属性,然后打开显示属性的外观选项卡,并点击效果按钮,选中 “使用下列方式使屏幕字体的边缘更加平滑”,然后在下拉菜单中选择清晰。这时Clear Type就被打开了。
2. 编程常用的字体
在网上搜索了一下,常用的字体包括Fixedsys (点阵字体), Consolas, Courier New, Bitstream vera sans Mono, Monaco等
3. 将Visual Studio的source变成html的插件: CopySourceAsHtml (CSAH)
http://www.jtleigh.com/people/colin/software/CopySourceAsHtml/.
(还有一个Firefox的插件用于将代码变成html,非常不错,https://addons.mozilla.org/zh-CN/firefox/addon/11086, http://code.google.com/p/hightlight-extension/)
4. 不要忘了VS2008的搭档Visual assist 1647
1 #pragma once 2 #include "Shape_h.h" 3 #include <objbase.h> 4 #include <atlbase.h> 5 #include <atlcom.h> 6 #include <atlstr.h> 7 #include <iostream> 8 9 // IShapeImp 10 template <class C, const CLSID* pclsid, class T, const GUID* plibid> 11 class ATL_NO_VTABLE IShapeImpl : 12 public CComObjectRootEx<CComSingleThreadModel>, 13 public CComCoClass<C, pclsid>, 14 public IDispatchImpl<T, &__uuidof(T), plibid> 15 { 16 public: 17 STDMETHOD(get_desc)(BSTR *pVal){ 18 CString szShape = L"Shape"; 19 *pVal = szShape.AllocSysString(); 20 return S_OK; 21 } 22 23 STDMETHOD(draw)(){return E_NOTIMPL;}; 24 STDMETHOD(get_area)(double* area){return E_NOTIMPL;}; 25 }; | 这个采用了Midtone Scheme v1.vssettings. http://idehotornot.ning.com/index.php/index/show?id=2227069 |
1 #pragma once 2 #include "Shape_h.h" 3 #include <objbase.h> 4 #include <atlbase.h> 5 #include <atlcom.h> 6 #include <atlstr.h> 7 #include <iostream> 8 9 // IShapeImp 10 template <class C, const CLSID* pclsid, class T, const GUID* plibid> 11 class ATL_NO_VTABLE IShapeImpl : 12 public CComObjectRootEx<CComSingleThreadModel>, 13 public CComCoClass<C, pclsid>, 14 public IDispatchImpl<T, &__uuidof(T), plibid> 15 { 16 public: 17 STDMETHOD(get_desc)(BSTR *pVal){ 18 CString szShape = L"Shape"; 19 *pVal = szShape.AllocSysString(); 20 return S_OK; 21 } 22 23 STDMETHOD(draw)(){return E_NOTIMPL;}; 24 STDMETHOD(get_area)(double* area){return E_NOTIMPL;}; 25 }; | 这个采用了zenburn-scheme.vssettings Description: Dark background with low contrast highlighting. http://www.codinghorror.com/blog/archives/000682.html 或者 http://idehotornot.ning.com/index.php/index/show?id=2044686 还有一个升级版本,支持CSS,HTML和ASP http://idehotornot.ning.com/index.php/index/show?id=2353062 |
1 #pragma once 2 #include "Shape_h.h" 3 #include <objbase.h> 4 #include <atlbase.h> 5 #include <atlcom.h> 6 #include <atlstr.h> 7 #include <iostream> 8 9 // IShapeImp 10 template <class C, const CLSID* pclsid, class T, const GUID* plibid> 11 class ATL_NO_VTABLE IShapeImpl : 12 public CComObjectRootEx<CComSingleThreadModel>, 13 public CComCoClass<C, pclsid>, 14 public IDispatchImpl<T, &__uuidof(T), plibid> 15 { 16 public: 17 STDMETHOD(get_desc)(BSTR *pVal){ 18 CString szShape = L"Shape"; 19 *pVal = szShape.AllocSysString(); 20 return S_OK; 21 } 22 23 STDMETHOD(draw)(){return E_NOTIMPL;}; 24 STDMETHOD(get_area)(double* area){return E_NOTIMPL;}; 25 }; | 这个采用了jheidt_tones_2008_v1.vssettingsPill Crusher 2008http://idehotornot.ning.com/index.php/index/show?id=12174264 |
没有评论:
发表评论