Heim > Backend-Entwicklung > PHP-Tutorial > Notepad installiert das Zen Coding / Emmet-Plug-in

Notepad installiert das Zen Coding / Emmet-Plug-in

WBOY
Freigeben: 2016-07-29 09:14:43
Original
2919 Leute haben es durchsucht

Zen Coding Plug-in

==============

Download: Zen.Coding-Notepad .v0.7.zip

==Installation==

1. Kopieren Sie den Inhalt dieses Archivs in den Notepad-Plugins-Ordner (im Grunde sind es C:ProgrammeNotepad-Plugins)

2. Starten Sie Notepad neu

Im oberen Menü sollte der Menüpunkt „Zen Coding“ angezeigt werden.

Installation: Entpacken Sie das komprimierte Paket und kopieren Sie die entsprechenden Dateien (NppScripting.dll und NppScripting-Ordner) in den Plugins-Ordner im Notepad-Installationsverzeichnis

---------------- ----- --------------------------------------------- ----- ---

Emmet-Plugin

============

zen-Coding umbenannt in Emmet, Website: docs.emmet.io

Download: emmet-npp.zip

https://

github.com/emmetio/npp#readme

und PythonScript_1.0.8.0.msi

Emmet ist ein Toolkit für Webentwickler, das Ihren HTML- und CSS-Workflow erheblich verbessern kann:

HTML-Code mit CSS-ähnlichen Abkürzungen schreiben, verschiedene Aktionen schnell verwenden Wählen und ändern Sie HTML- und CSS-Code und mehr!

==Installation==

Plugin-Manager

Dieses Plugin ist über den Plugin-Manager verfügbar: Verwenden Sie Plugins > ; Plugin-Manager-Menüaktion anzeigen und „Emmet“-Plugin suchen und installieren.

Manuelle Installation

1.Installieren Sie das Python-Skript-Plugin (verfügbar im Plugin-Manager)

Oder direkt (Download: PythonScript_1.0.8.0.msi zur Installation)

2. Laden Sie das EmmetNPP-Plugin herunter und entpacken Sie es in den C:ProgrammeNotepad-Plugin-Ordner. Starten Sie Nodepad.

Das Menü „Plugins“ sollte angezeigt werden item.

==Tastaturkürzel ändern==

Sie können das Dialogfeld „Standardeinstellungen > Shortcut Mapper…“ verwenden, um die Tastaturkürzel der Aktion zu ändern.

Plugin-Befehle 》Abkürzung erweitern

Versuchen Sie, die Tabulatortaste der Aktion „Abkürzung erweitern“ zuzuordnen, um Ihr Erlebnis zu verbessern.

Erweiterungsunterstützung

Emmet für Notepad unterstützt Erweiterungen:

Fügen Sie alle Ihre .js ein und .json-Dateien in den Ordner %USER%AppDataRoamingNotepadpluginsconfigemmet und starten Sie Notepad neu.

--------------------- -------- ------------------------------------------ -------- --------------------

Wenn Folgendes auftritt:

Unbekannte Ausnahme

Python-Skript-Plugin hat das Skript nicht akzeptiert

Bitte beachten Sie das Notepad Emmet-Installations-Tutorial

PythonScript_1.0.8.0.msi herunterladen

http ://sourceforge.net/projects /npppythonscript/files/Python Script 1.0.8.0/PythonScript_1.0.8.0.msi/download

---------------- -------- ------------------------------------------ -------- -------------------------

Notepad-Plug-in

Tastenkombinationen

Einstellungen

Das Obige stellt die Installation des Zen Coding / Emmet-Plug-Ins für Notepad vor, einschließlich der relevanten Inhalte. Ich hoffe, dass es für Freunde hilfreich ist, die sich für PHP-Tutorials interessieren.

<span>!
 </span><span><!</span><span>doctype html</span><span>></span><span><</span><span>html </span><span>lang</span><span>="en"</span><span>></span><span><</span><span>head</span><span>></span><span><</span><span>meta </span><span>charset</span><span>="UTF-8"</span><span>></span><span><</span><span>title</span><span>></span>Document<span></</span><span>title</span><span>></span><span></</span><span>head</span><span>></span><span><</span><span>body</span><span>></span><span></</span><span>body</span><span>></span><span></</span><span>html</span><span>></span><span>
 html:4s
 </span><span><!</span><span>DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"</span><span>></span><span><</span><span>html </span><span>lang</span><span>="en"</span><span>></span><span><</span><span>head</span><span>></span><span><</span><span>meta </span><span>http-equiv</span><span>="Content-Type"</span><span> content</span><span>="text/html;charset=UTF-8"</span><span>></span><span><</span><span>title</span><span>></span>Document<span></</span><span>title</span><span>></span><span></</span><span>head</span><span>></span><span><</span><span>body</span><span>></span><span></</span><span>body</span><span>></span><span></</span><span>html</span><span>></span><span>
 html:xs

</span><span><!</span><span>DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"</span><span>></span><span><</span><span>html </span><span>xmlns</span><span>="http://www.w3.org/1999/xhtml"</span><span> xml:lang</span><span>="en"</span><span>></span><span><</span><span>head</span><span>></span><span><</span><span>meta </span><span>http-equiv</span><span>="Content-Type"</span><span> content</span><span>="text/html;charset=UTF-8"</span><span>></span><span><</span><span>title</span><span>></span>Document<span></</span><span>title</span><span>></span><span></</span><span>head</span><span>></span><span><</span><span>body</span><span>></span><span></</span><span>body</span><span>></span><span></</span><span>html</span><span>></span><span>
#content.aticle.posts
 </span><span><</span><span>div </span><span>id</span><span>="content"</span><span> class</span><span>="aticle posts"</span><span>></</span><span>div</span><span>></span><span>
 ul#ccc.ddd
 </span><span><</span><span>ul </span><span>id</span><span>="ccc"</span><span> class</span><span>="ddd"</span><span>></span><span></</span><span>ul</span><span>></span><span>
div.aaa>ul>li
 </span><span><</span><span>div </span><span>class</span><span>="aaa"</span><span>></span><span><</span><span>ul</span><span>></span><span><</span><span>li</span><span>></</span><span>li</span><span>></span><span></</span><span>ul</span><span>></span><span></</span><span>div</span><span>></span><span>
div>ul>li^^span
 </span><span><</span><span>div</span><span>></span><span><</span><span>ul</span><span>></span><span><</span><span>li</span><span>></</span><span>li</span><span>></span><span></</span><span>ul</span><span>></span><span></</span><span>div</span><span>></span><span><</span><span>span</span><span>></</span><span>span</span><span>></span><span>
 div>ul>li^^div.clear
 </span><span><</span><span>div</span><span>></span><span><</span><span>ul</span><span>></span><span><</span><span>li</span><span>></</span><span>li</span><span>></span><span></</span><span>ul</span><span>></span><span></</span><span>div</span><span>></span><span><</span><span>div </span><span>class</span><span>="clear"</span><span>></</span><span>div</span><span>></span><span>
div>ul>li*6
 </span><span><</span><span>div</span><span>></span><span><</span><span>ul</span><span>></span><span><</span><span>li</span><span>></</span><span>li</span><span>></span><span><</span><span>li</span><span>></</span><span>li</span><span>></span><span><</span><span>li</span><span>></</span><span>li</span><span>></span><span><</span><span>li</span><span>></</span><span>li</span><span>></span><span><</span><span>li</span><span>></</span><span>li</span><span>></span><span><</span><span>li</span><span>></</span><span>li</span><span>></span><span></</span><span>ul</span><span>></span><span></</span><span>div</span><span>></span><span>
(div>dl>(dt+dl)*3)+footer>p
 </span><span><</span><span>div</span><span>></span><span><</span><span>dl</span><span>></span><span><</span><span>dt</span><span>></</span><span>dt</span><span>></span><span><</span><span>dl</span><span>></</span><span>dl</span><span>></span><span><</span><span>dt</span><span>></</span><span>dt</span><span>></span><span><</span><span>dl</span><span>></</span><span>dl</span><span>></span><span><</span><span>dt</span><span>></</span><span>dt</span><span>></span><span><</span><span>dl</span><span>></</span><span>dl</span><span>></span><span></</span><span>dl</span><span>></span><span></</span><span>div</span><span>></span><span><</span><span>footer</span><span>></span><span><</span><span>p</span><span>></</span><span>p</span><span>></span><span></</span><span>footer</span><span>></span><span>
div.banner>ul>li*2>((dt+dl)*3)+footer^^span

</span><span><</span><span>div </span><span>class</span><span>="banner"</span><span>></span><span><</span><span>ul</span><span>></span><span><</span><span>li</span><span>></span><span><</span><span>dt</span><span>></</span><span>dt</span><span>></span><span><</span><span>dl</span><span>></</span><span>dl</span><span>></span><span><</span><span>dt</span><span>></</span><span>dt</span><span>></span><span><</span><span>dl</span><span>></</span><span>dl</span><span>></span><span><</span><span>dt</span><span>></</span><span>dt</span><span>></span><span><</span><span>dl</span><span>></</span><span>dl</span><span>></span><span><</span><span>footer</span><span>></</span><span>footer</span><span>></span><span></</span><span>li</span><span>></span><span><</span><span>li</span><span>></span><span><</span><span>dt</span><span>></</span><span>dt</span><span>></span><span><</span><span>dl</span><span>></</span><span>dl</span><span>></span><span><</span><span>dt</span><span>></</span><span>dt</span><span>></span><span><</span><span>dl</span><span>></</span><span>dl</span><span>></span><span><</span><span>dt</span><span>></</span><span>dt</span><span>></span><span><</span><span>dl</span><span>></</span><span>dl</span><span>></span><span><</span><span>footer</span><span>></</span><span>footer</span><span>></span><span></</span><span>li</span><span>></span><span></</span><span>ul</span><span>></span><span><</span><span>span</span><span>></</span><span>span</span><span>></span><span></</span><span>div</span><span>></span><span>
a
 </span><span><</span><span>a </span><span>href</span><span>=""</span><span>></</span><span>a</span><span>></span><span>
a>{我是链接标题}
 </span><span><</span><span>a </span><span>href</span><span>=""</span><span>></span>我是链接标题<span></</span><span>a</span><span>></span><span>
link
 </span><span><</span><span>link </span><span>rel</span><span>="stylesheet"</span><span> href</span><span>=""</span><span>></span><span>
 ul>li.item$*5
 </span><span><</span><span>ul</span><span>></span><span><</span><span>li </span><span>class</span><span>="item1"</span><span>></</span><span>li</span><span>></span><span><</span><span>li </span><span>class</span><span>="item2"</span><span>></</span><span>li</span><span>></span><span><</span><span>li </span><span>class</span><span>="item3"</span><span>></</span><span>li</span><span>></span><span><</span><span>li </span><span>class</span><span>="item4"</span><span>></</span><span>li</span><span>></span><span><</span><span>li </span><span>class</span><span>="item5"</span><span>></</span><span>li</span><span>></span><span></</span><span>ul</span><span>></span><span> $ 就表示一位数字,只出现一个的话,就从1开始。如果出现多个,就从0开始。如果我想生成三位数的序号,那么要写三个 $:

ul>li.item$$*5

</span><span><</span><span>ul</span><span>></span><span><</span><span>li </span><span>class</span><span>="item01"</span><span>></</span><span>li</span><span>></span><span><</span><span>li </span><span>class</span><span>="item02"</span><span>></</span><span>li</span><span>></span><span><</span><span>li </span><span>class</span><span>="item03"</span><span>></</span><span>li</span><span>></span><span><</span><span>li </span><span>class</span><span>="item04"</span><span>></</span><span>li</span><span>></span><span><</span><span>li </span><span>class</span><span>="item05"</span><span>></</span><span>li</span><span>></span><span></</span><span>ul</span><span>></span><span>
(header>ul.nav>li*5)+article+footer
 </span><span><</span><span>header</span><span>></span><span><</span><span>ul </span><span>class</span><span>="nav"</span><span>></span><span><</span><span>li</span><span>></</span><span>li</span><span>></span><span><</span><span>li</span><span>></</span><span>li</span><span>></span><span><</span><span>li</span><span>></</span><span>li</span><span>></span><span><</span><span>li</span><span>></</span><span>li</span><span>></span><span><</span><span>li</span><span>></</span><span>li</span><span>></span><span></</span><span>ul</span><span>></span><span></</span><span>header</span><span>></span><span><</span><span>article</span><span>></</span><span>article</span><span>></span><span><</span><span>footer</span><span>></</span><span>footer</span><span>></span>
Nach dem Login kopieren

Verwandte Etiketten:
Quelle:php.cn
Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage