首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在Aptana Studio 3测试版上更改HTML文件模板?

问如何在Aptana Studio 3测试版上更改HTML文件模板?
EN

Stack Overflow用户
提问于 2011-04-04 12:11:36
回答 2查看 11.4K关注 0票数 4

Aptana Studio3测试版的HTML5文件模板如下:

代码语言:javascript
复制
<!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>

我想改变它。但我找不到办法。

谢谢!

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2011-05-04 03:27:01

directions Ingo提供了如何从头开始创建新模板的详细说明。在这种情况下,由于您只想修改现有模板,因此可以尝试以下操作。

  1. 选择命令->HTML->编辑此捆绑包。这将在"HTML“项目的templates文件夹中创建一个新的”workspace.
  2. Open“项目
  3. 编辑并保存html5.html文件

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

票数 12
EN

Stack Overflow用户

发布于 2011-04-06 03:22:37

最简单的方法是按照创建新模板的说明进行操作:http://wiki.appcelerator.org/display/tis/Creating+a+new+template。然后您可以随心所欲地修改内容。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/5534490

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档