如何在Aptana Studio 3 Beta上更改HTML文件模板? [英] How to change the HTML file template on Aptana Studio 3 beta?

查看:65
本文介绍了如何在Aptana Studio 3 Beta上更改HTML文件模板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Aptana Studio 3 beta的HTML5文件模板如下:

Aptana Studio 3 beta's HTML5 file template is below:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />

  <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame 
       Remove this if you use the .htaccess -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

  <title>new-file</title>
  <meta name="description" content="" />
  <meta name="generator" content="Studio 3 http://aptana.com/" />
  <meta name="author" content="Wei Lou" />

  <meta name="viewport" content="width=device-width; initial-scale=1.0" />

  <!-- Replace favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
  <link rel="shortcut icon" href="/favicon.ico" />
  <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
</head>

<body>
  <div>
    <header>
      <h1>new-file</h1>
    </header>
    <nav>
      <p><a href="/">Home</a></p>
      <p><a href="/contact">Contact</a></p>
    </nav>

    <div>

    </div>

    <footer>
     <p>&copy; Copyright 2011 by Wei Lou</p>
    </footer>
  </div>
</body>
</html>

我想更改它.但是我找不到路.

I wanna change it. But I cannot find way.

谢谢!

推荐答案

Ingo指出的方向将对如何从头开始创建新模板进行详尽的解释.在这种情况下,由于您只想修改现有模板,因此可以尝试以下操作.

The directions Ingo points to give a thorough explanation of how to create a new template from scratch. In this case, since you only want to modify an existing template, you might try the following.

  1. 选择命令"->"HTML"->编辑此捆绑包".这将在您的工作区中创建一个新的"HTML"项目.
  2. 在"HTML"项目中打开模板文件夹
  3. 编辑并保存html5.html文件

现在,当您创建新的HTML模板时,它应该使用您编辑的html5.html文件的副本.当然,您也可以编辑该项目中的任何其他模板.

Now when you create a new HTML template, it should use the copy of the html5.html file you edited. Of course, you can edit any of the other templates in that project as well.

这篇关于如何在Aptana Studio 3 Beta上更改HTML文件模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆