zend studio一些常用配置

來源:互聯網
上載者:User
1.修改所有檔案的預設編碼格式

Window->Preference->General(左)->Workspace(下)->Text file encodeing(右)->other(選擇一個編碼)->ok

2.修改某一個項目中所有檔案的預設編碼

選擇某一個項目:Project->Properties->Recourse(左)->Text file encodeing(右)->other(選擇一個編碼)->ok

3.僅僅修改某一個檔案的編碼

開啟一個檔案(必須開啟,只選定某檔案是不可以設定的):Edit->Set encodeing…->other(選擇一個編碼)->ok

4.設定可以建立.tpl檔案

Window->Preference->General(左)->Content Types->Text(右)->HTML->Add…->.tpl->ok->ok(當File associations下面增加了*.tpl)

修改設定之後,右鍵->new->HTML File 就可以建立.tpl檔案了

註:如果設定的時候選擇的是PHP Content Type
即:Window->Preference->General(左)->Content Types->Text(右)->HTML->Add…->.tpl->ok->ok(當File associations下面增加了*.tpl)
則修改設定之後,右鍵->new->PHP File 就可以建立.tpl檔案了 5.修改建立php檔案時的預設範本

Window->Preference->PHP->Code Style->Code Templates->Code->simple php file->edit->修改模板->ok

註:如果修改建立html檔案時的預設範本,只需要選擇simple php file下面的html 4.01 frameset就可以了
即:Window->Preference->PHP->Code Style->Code Templates->Code->->edit->修改模板->ok

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.