html乱码/设置html编辑模式/tab设置

来源:互联网 发布:国内云计算发展现状 编辑:程序博客网 时间:2024/05/18 16:18

解决html乱码问题;两步:

1)选中html文件->右键->properties->resource->text file encoding->other->utf-8

2)在<head>元素下,添加<meta charset="utf-8"/>


设置html默认的是编辑模式

因为默认的Myeclipse Viasul Html Designer太卡,所以设置为html编辑模式,

window->preferences->general->Editor->File Associator->Associated Editor->Myeclipse Html Editor->default->ok

或者选中文件右键open with Myeclipse Html Editor


设置html文档tab键空格占多少

window->preferences->html source->Indent using spaces->Indentation size选2->ok

0 0
原创粉丝点击