前端开发编辑器(notepad++、sublime text)

摘要:
Sublimethext3--左键单击右下角,然后选择顶部的“打开所有扩展…”。

1、Notepad++ 正则替换:

  如<td>第三节</td>

  替换成<td><input type="text" value="第三节" /></td>

  可以查找:第(.)节,替换为:<input type="text" value="第(1)节" />。

2、 Notepad++ 计字数

  在 视图-摘要 中

3、Notepad++ 代码着色主题推荐

  除了默认的白底黑字的主题外,下面几个还算不错的暗色背景主题:
  bespin 选区略灰暗
  black board 绿色选中不清晰 红色选中刺眼
  monokai 和sublime text默认主题是一样的
  plastic code wrap 还不错 选区不够明显

4、Emmet 手册

  http://www.w3cplus.com/tools/emmet-cheat-sheet.html

 5、为特定扩展名设置高亮模板

  notepad++    --    在语言格式设置中,添加自定义扩展名。

  sublime text3 --    左键单击右下角,选择顶部的“打开所有扩展名...”设置好就可以了。

 6、sublime text3 代码格式化

  自带重新缩进:http://www.zhugexiaojue.com/note/reindent-753.html

  插件HTML-CSS-JS Prettify:http://jokerliang.com/html-css-javascript-and-json-code-formatter-for-sublime-text-2-and-3.html

 7、sublime text3大爱主题Otto(官网已经下线了 这个傻逼改了名字了 也不给我通知一下 直接就不能用了 新名字 Boxy  https://packagecontrol.io/packages/Boxy%20Theme)
  otto 旧名字

{
	"caret_extra_width": 1,
	"caret_style": "smooth",
	"color_scheme": "Packages/User/SublimeLinter/Otto Tomorrow (SL).tmTheme",
	"font_size": 18,
	"highlight_line": true,
	"ignored_packages":
	[
		"Vintage"
	],
	"overlay_scroll_bars": "enabled",
	"show_encoding": true,
	"tabs_small": true,
	"theme": "Otto Tomorrow.sublime-theme",
	"theme_otto_accent_green": true,
	"theme_otto_find_and_replace_close_hide": true,
	"theme_otto_find_and_replace_font_size_13": true,
	"theme_otto_find_and_replace_small": true,
	"theme_otto_global_ui_large": true,
	"theme_otto_scrollbars_wide": true,
	"theme_otto_sidebar_font_size_15": true,
	"theme_otto_status_bar_font_size_14": true,
	"theme_otto_status_bar_small": true,
	"theme_otto_tab_font_size_12": true,
	"theme_otto_tab_selected_prelined": true,
	"theme_otto_tab_small": true,
	"word_wrap": true
}

  新名字 boxy

{
	"caret_extra_width": 1,
	"caret_style": "smooth",
	"color_scheme": "Packages/User/SublimeLinter/Monokai (SL).tmTheme",
	"font_size": 21,
	"highlight_line": true,
	"ignored_packages":
	[
		"Color Highlighter",
		"DocBlockr",
		"Javascript Beautify",
		"Vintage"
	],
	"theme": "Boxy Tomorrow.sublime-theme",
	"theme_accent_green": true,
	"theme_font_lg": true,
	"theme_scrollbar_colored": true,
	"theme_sidebar_font_xl": true,
	"theme_size_xs": true,
	"theme_tab_arrows_hidden": true,
	"theme_tab_font_md": true,
	"theme_tab_selected_label_bold": true,
	"theme_tab_selected_prelined": true,
	"theme_tab_size_md": true,
	"theme_tab_width_auto": true,
	"word_wrap": true
}

  

免责声明:文章转载自《前端开发编辑器(notepad++、sublime text)》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇Activiti工作流引擎数据库表结构如何设计高性能、高并发、高可用的系统。下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

前端webview开发中遇到的一些问题及其解决方法

最近做了一个webview中的兑换页面,本来以为很简单,想不到遇到了远远超出预期数量的BUG,记下来,以备后患。 1 inline-block元素折行   BUG描述:现在我有三个DIV,要在一列等宽排列,设定宽度为33.33333%,想象中应该是正好充满一列。 然而事实是,div折行了=。=,div之间还出现了一个缝隙。 这个问题很常见,出现的原因是浏...

JAVA中最常用的快捷键总结

1. ctrl+shift+r:打开资源 这可能是所有快捷键组合中最省时间的了。这组快捷键可以让你打开你的工作区中任何一个文件,而你只需要按下文件名或mask名中的前几个字母,比如applic*.xml。美中不足的是这组快捷键并非在所有视图下都能用。 2. ctrl+o:快速outline 如果想要查看当前类的方法或某个特定方法,但又不想把代码拉上拉下,...

Unity编辑器扩展 Chapter7--使用ScriptableObject持久化存储数据

Unity编辑器扩展 Chapter7--使用ScriptableObject持久化存储数据 unity unity Editor ScirptableObject  Unity编辑器扩展 Chapter7--使用ScriptableObject持久化存储数据 OverView APIScriptableObject是unity中的一种特别...

NodePad++的使用笔记

一、在notepad++中快速插入当前时间方法:插件是notepad++的一大优势,而要实现此功能,也必须借助TextFX插件。1、点击"插件"-->"Plugin Manager"-->"Show Plugin Manager",默认打开Available标签页,往下拉滚动条,找到TextFXCharacters插件,点击install安装即...

自定义样式滚动条

自定义IE浏览器滚动条样式 追溯浏览器对滚动条的自定义,恐怕最早的就是IE浏览器了(好像最开始支持的版本是IE5.5)。下面列出了多个版本的支持性况: 滚动条样式 支持情况 支持浏览器版本 可否继承 描述 scrollbar-3dlight-color IE特有属性 IE5.5+ y 设置滚动框的和滚动条箭头左上边缘的颜色 scrollbar-...

OneNote无法打开链接出现错误:你的组织策略阻止我们为你完成此操作

首先打开注册表编辑器,按键盘win+r,调出运行窗口,输入regedit打开注册表编辑器 打开HKEY_CURRENT_USERSoftware 打开Classes 最后选中.html,在默认选项那右键点击修改 将里面的数值数据修改成“Htmlfile”,点击确定后退出,重启下电脑,如果不重启电脑,office onenote也要重新打开...