eclipse的配置

刚开始使用eclipse,记录一下eclipse的配置学习过程:

1.显示行号

  Window->Preferences->General->Editors->Text Editors,勾选Show line numbers选项。

2.改变字体大小

  Window->Preferences->General->Appearance->Colors and Fonts->Basic->Text Font.

3.Eclipse+Pydev编写python时中文乱码问题

   Eclipse的设置:

  window->preferences->general->editors->text editors->spelling->encoding->UTF-8

  window->preferences->workspace->text file encoding->UTF-8

  打开eclipse安装目录->eclipse.ini,末行加上”-Dfile.encoding=UTF-8”

  文件编码:

  py文件记得保存成UTF-8,文件首行加上”#coding=utf-8”

   run时设置:

  run-->run configurations->python run->Common-> Encoding ->UTF-8

posted @ 2013-01-12 13:24  xiaobaibuhei  阅读(258)  评论(0编辑  收藏  举报