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

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

问题描述

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

<html lang="zh-cn"><头><meta charset="utf-8"/><!-- 始终强制使用最新的 IE 渲染引擎(即使在内部网中)&镀铬框架如果您使用 .htaccess --><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><title>新文件</title><meta name="description" content=""/><meta name="generator" content="Studio 3 http://aptana.com/"/><meta name="author" content="魏楼"/><meta name="viewport" content="width=device-width; initial-scale=1.0"/><!-- 替换 favicon.ico &apple-touch-icon.png 并删除这些引用 --><link rel="快捷图标" href="/favicon.ico"/><link rel="apple-touch-icon" href="/apple-touch-icon.png"/><身体><div><标题><h1>新文件</h1></标题><导航><p><a href="/">首页</a></p><p><a href="/contact">联系方式</a></p></nav><div>

<页脚><p>&copy;版权所有 2011 by Wei Lou</p></页脚>

我想改变它.但我找不到路.

谢谢!

解决方案

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

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

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

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.

Thanks!

解决方案

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. Select Commands->HTML->Edit this bundle. This will create a new "HTML" project in your workspace.
  2. Open the templates folder in the "HTML" project
  3. Edit and save the html5.html file

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天全站免登陆