zufuliu / notepad4

Notepad4 (Notepad2⨯2, Notepad2++) is a light-weight Scintilla based text editor for Windows with syntax highlighting, code folding, auto-completion and API list for many programming languages and documents, bundled with file browser plugin matepath.
Other
2.98k stars 193 forks source link

Emmet #38

Open maboroshin opened 6 years ago

maboroshin commented 6 years ago

Hi zufuliu. Thank you for the explanation on Notepad 3.

I knew there, I got interested. Notepad 2 you are developing is focusing on coding assistance. If it is not difficult, Please load Emmet's plugin.

In the case of PSPAD, it is provided in a single js file.

zufuliu commented 6 years ago

@maboroshin I seems can't open the two links.

zufuliu commented 6 years ago

OK find the link at https://github.com/emmetio

Seems awesome, current auto-completion in Notepad2 is very basic.

Current code snippet implementation only support expand ^ to one space, so if^() will be expanded to if () and cursor will goes inside parentheses (or braces and brackets for other snippets).

zufuliu commented 6 years ago

Related issue https://github.com/XhmikosR/notepad2-mod/issues/155

zufuliu commented 6 years ago

SCN_AUTOCCOMPLETED can be used to expand code snippets.

zufuliu commented 5 years ago

Just marked here, an awesome embeddable JavaScript engine https://bellard.org/quickjs/

I think it can be used to port the Emmet plugin.

maboroshin commented 5 years ago

There was such a new Javascript. I don't know how difficult it is to implement. Useful for HTML language. Version upgrade is performed externally.