Editplus 3.0 开发ext 教程

简介: 一. 代码格式化代码格式化工具SourceFormatX 破解版下载:http://cn.ziddu.com/download.php?uid=bLOdlpetbLKh4palaLKWlJqiaK%2BcnJ0%3D8editplus配置方法:二.

一. 代码格式化

代码格式化工具SourceFormatX 破解版下载:
http://cn.ziddu.com/download.php?uid=bLOdlpetbLKh4palaLKWlJqiaK%2BcnJ0%3D8

editplus配置方法:

img_be73ec09ecc7de640cdcb5ca79a83c80.png

二. html模板(template.html)
img_a6339ee3e57d1d52bc7d02b338e15a60.gif<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
img_a6339ee3e57d1d52bc7d02b338e15a60.gif    "http://www.w3.org/TR/html4/loose.dtd"
>
img_a6339ee3e57d1d52bc7d02b338e15a60.gif
<html>
img_a6339ee3e57d1d52bc7d02b338e15a60.gif
<head>
img_a6339ee3e57d1d52bc7d02b338e15a60.gif    
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
img_a6339ee3e57d1d52bc7d02b338e15a60.gif    
<link rel="stylesheet" type="text/css" href="../extjs/resources/css/ext-all.css">
img_a6339ee3e57d1d52bc7d02b338e15a60.gif    
<script type="text/javascript" src="../extjs/adapter/ext/ext-base.js"></script>
img_a6339ee3e57d1d52bc7d02b338e15a60.gif    
<script type="text/javascript" src="../extjs/ext-all-debug.js"></script>
img_a6339ee3e57d1d52bc7d02b338e15a60.gif    
<script type="text/javascript" src="applayout.js"></script>
img_a6339ee3e57d1d52bc7d02b338e15a60.gif    
<!-- 本地化的脚本引用在这里 -->
img_405b18b4b6584ae338e0f6ecaf736533.gifimg_1c53668bcee393edac0d7b3b3daff1ae.gif    
<script type="text/javascript">img_a76e9bb6ed00cf1c9c9f4ee2f04b558b.gif
img_33d02437d135341f0800e3d415312ae8.gif        Ext.onReady(myNameSpace.app.init, myNameSpace.app);
img_05dd8d549cff04457a6366b0a7c9352a.gif    
</script>
img_a6339ee3e57d1d52bc7d02b338e15a60.gif    
<title>Application Layout Tutorial</title>
img_a6339ee3e57d1d52bc7d02b338e15a60.gif
</head>
img_a6339ee3e57d1d52bc7d02b338e15a60.gif
<body>
img_a6339ee3e57d1d52bc7d02b338e15a60.gif
</body>
img_a6339ee3e57d1d52bc7d02b338e15a60.gif
</html>


javascript 模板 (template.js)
img_405b18b4b6584ae338e0f6ecaf736533.gif img_1c53668bcee393edac0d7b3b3daff1ae.gif /**/ /**
img_33d02437d135341f0800e3d415312ae8.gif  * Application Layout
img_33d02437d135341f0800e3d415312ae8.gif  * by Jozef Sakalos, aka Saki
img_33d02437d135341f0800e3d415312ae8.gif  * http://extjs.com/learn/Tutorial:Application_Layout_for_Beginners_(Chinese)
img_05dd8d549cff04457a6366b0a7c9352a.gif  
*/

img_405b18b4b6584ae338e0f6ecaf736533.gifimg_1c53668bcee393edac0d7b3b3daff1ae.gif
/**/ /**
img_33d02437d135341f0800e3d415312ae8.gif------------------------------------------------
img_33d02437d135341f0800e3d415312ae8.gif中文用户请注意:applayout.js 这个文件应该在编辑生成文件的同时强行定义为UTF-8编码才可以通过. 
img_33d02437d135341f0800e3d415312ae8.gif------------------------------------------------
img_05dd8d549cff04457a6366b0a7c9352a.gif
*/

img_a6339ee3e57d1d52bc7d02b338e15a60.gif
//  填充图片的本地引用
img_a6339ee3e57d1d52bc7d02b338e15a60.gif
Ext.BLANK_IMAGE_URL  =   ' ../extjs/resources/images/default/s.gif ' ;
img_a6339ee3e57d1d52bc7d02b338e15a60.gif 
img_a6339ee3e57d1d52bc7d02b338e15a60.gif 
img_a6339ee3e57d1d52bc7d02b338e15a60.gif
//  创建命名空间
img_a6339ee3e57d1d52bc7d02b338e15a60.gif
Ext.namespace( ' myNameSpace ' );
img_a6339ee3e57d1d52bc7d02b338e15a60.gif 
img_a6339ee3e57d1d52bc7d02b338e15a60.gif
//  创建应用程序
img_405b18b4b6584ae338e0f6ecaf736533.gifimg_1c53668bcee393edac0d7b3b3daff1ae.gif
myNameSpace.app  =   function ()  img_a76e9bb6ed00cf1c9c9f4ee2f04b558b.gif {
img_33d02437d135341f0800e3d415312ae8.gif    
// 元素还没创建,未能访问
img_33d02437d135341f0800e3d415312ae8.gif
 
img_33d02437d135341f0800e3d415312ae8.gif    
// 私有变量
img_33d02437d135341f0800e3d415312ae8.gif
 
img_33d02437d135341f0800e3d415312ae8.gif    
// 私有函数
img_33d02437d135341f0800e3d415312ae8.gif
 
img_33d02437d135341f0800e3d415312ae8.gif    
// 公共空间
img_2887d91d0594ef8793c1db92b8a1d545.gifimg_7a2b9a960ee9a98bfd25d306d55009f8.gif
    return img_a76e9bb6ed00cf1c9c9f4ee2f04b558b.gif{
img_33d02437d135341f0800e3d415312ae8.gif        
// 公共的属性,如,要转换的字符串
img_33d02437d135341f0800e3d415312ae8.gif
        // 公共方法
img_2887d91d0594ef8793c1db92b8a1d545.gifimg_7a2b9a960ee9a98bfd25d306d55009f8.gif
        init: function() img_a76e9bb6ed00cf1c9c9f4ee2f04b558b.gif{
img_33d02437d135341f0800e3d415312ae8.gif            alert(
'应用程序初始化成功。');
img_105a1e124122b2abcee4ea8e9f5108f3.gif        }

img_105a1e124122b2abcee4ea8e9f5108f3.gif    }
;
img_05dd8d549cff04457a6366b0a7c9352a.gif}
();  //  程序底部
img_a6339ee3e57d1d52bc7d02b338e15a60.gif
 
img_a6339ee3e57d1d52bc7d02b338e15a60.gif
//  文件底部


3.0新功能:

* 改进了Unicode兼容性.
* 'Enable visual style for toolbars' option ('Preferences'->'Tools').
* '匹配标签'/'选择标签' 命令 ('Search' menu).
* Allows drag and drop for the Document Selector tabs. 允许拖拉文档标签
* Automatically adjusts the number of rows on the Document Selector.
* 还原最近的光标,标记,编码方式  选项 ('Preferences'->'General').
* Automatically adds file extension if the file type has only one extension.
* 'Rename' command ('File'->'Others').
* 'Current project' option in the Find in Files dialog box.
* 'An additional file name (allows * and ?)' option ('Preferences'->'Settings &
syntax'->'More'). * Supports secondary function pattern option.
* 'Toggle Folding' command ('View'->'Code Folding').
* 'Add Dir' button on the 'Preferences'->'Project'.
* Supports 'Sort' button on the Window List.
* Supports 'Copy Name' button on the Window List.
* Function Pattern dialog box supports 'Partial display' option.
* 'Previous' button instead of Up/Down on the Find dialog box.
* $(AppDir) argument macro added.
* Supports font option for the Document Selector.
* Supports auto save as *.tmp file for unnamed buffers.
* 'Up'/'Down' button on the Window List supports multiple selections.
* Duplicate Line command supports multi-line selection.
* 'Open Selection' command supports multi-line selection.
* Native support for tilt wheel on Vista.
* Supports horizontal scroll by SHIFT + mouse wheel.
* -wd command line option for specifying directory to save the workspace.
* 'Transparent' command ('Window'->'Others').
* 'Remove from Project' command ('Project'->'Manage Project').
* Supports 'Up'/'Down' button on the 'Preferences'->'Settings & syntax' dialog box.
* 'Copy URL' command ('Edit'->'Clipboard' menu).
* 'User tool group' option on the 'Preferences'->'Project' dialog box.
* 'Move Up/Down' command ('Edit'->'Others').
* 'Change File Encoding'/'File Encoding Multiple' commands ('Document'->'File Encoding').
* Displays current project name on the title bar.
* 'Next/Prev Project' command ('Project'->'Manage Project').
* Allows CHMOD on multiple files.
' 'Allow Drag & Drop' option ('Edit'->'Others').
* New toolbar buttons: Find Next/Prev Word, Toggle Folding, Sum, Last Visited, Character Count.
<bug fix>
* FTP status of 100% could cause program crash.
* Some sftp servers could cause program freeze.
* Regular expression in Find in Files dialog box could cause program crash.
* 'Save wrapped lines with CR/LF' option could corrupt file.
* Replace All could incorrectly hide folded lines.
* 'Subdirectory' FTP setting did not work correctly on VMS servers.
* '$' regular expression did not work correctly.
* Search Document command could omit some words.
* Improved Vista UAC compatibility.
* 'Sum' command could not handle minus value.
* Fixes display error when selecting by word.
* Fixes a screen update bug with auto completion in word wrap mode.
* Extending column selection with 'Shift + click' didn't work.
* 'Decrease Indent' command did not work correctly with column selections.
* 'Create File' did not work on disconnected FTP server.
* Suppresses auto completion in C/C++ preprocessor directives.
* Keystroke recording could not handle the Insert key.
* Highlighted matching braces could not be restored when changing focus.
* Replace dialog box with regex did not work upward.
* Suppresses combo box auto completion when pasting.
* 'Use EditPlus in Internet Explorer' didn't work as expected in Vista.
* Reset button on the 'Preferences'->'Toolbar' did not work correctly.
* Fixes a bug with the Korean input method editor.


相关文章
|
Java 数据安全/隐私保护
EditPlus最新汉化绿色版的下载、破解,以及开发java文件时的一些相关设置操作视频
1.EditPlus v4.30.2555 汉化免费绿色版   下载链接:https://pan.baidu.com/s/1jJUJzUm 密码:xlli   注意:解压后点击 EditPlus.exe 后 ,点击文件夹中的 !激活密钥.reg 注册导入注册表即为无限制注册版(也即免费版)。
1392 0
|
Java PHP Apache
|
Web App开发 PHP 开发工具
editplus教程
Editplus 3.0 开发ext 教程  使用Editplus配置轻型的PHP调试环境 Editplus已经使用了很多年,一直很喜欢这个小巧、精致的文本编辑器,比起ZenStudio这样庞大的IDE快捷、方便,比起Vim这样的编辑器又易用的多,尤其是在3.4版以后已经默认支持Zen Coding插件。
1305 0
|
5月前
蓝易云 - 使用editplus批量修改文件编码
需要注意的是,EditPlus并没有提供直接的批量修改文件编码的功能,如果需要批量修改,你可能需要通过编写脚本或者使用其他支持批量修改编码的工具来完成。
121 0
|
Java Maven
editplus去掉.bak文件
editplus应该不算一个集成环境,而是一个功能强悍的文本编辑器。
96 0
|
缓存
EditPlus如何设置保存时不产生.bak备份文件?
大家在使用EditPlus时都会遇到这么一个问题,就是每次保存或者修改后保存时都会生成一个.bak后缀的文件,这个是一个缓存文件。那如何才能不生成该缓存文件呢?操作如下图所示: 我的GitHub地址:https://github.
1045 0
如何设置不让editplus生成bak文件
  把“保存时创建备份文件”前面的√ 去掉即可。
1232 0
|
JavaScript 前端开发
|
JavaScript 前端开发 C#