Skip to content

HapoItak is a web-developr's powerful toolkit that can improve your HTML, JSP and JAVA workflow.

License

Notifications You must be signed in to change notification settings

seiichisan/HapoItak

Repository files navigation

HapoItak

HapoItak is a web-developr's powerful toolkit that can improve your HTML, JSP and JAVA workflow. HapoItak adds aditional auto-completion capability to edit file of HTML, JSP AND JAVA. The code longer than usual can be able to complemented by HapoItak.
It's in the point that more than one classes can be defined in HapoItak to be different from plugins which 'Emmet' and 'html5'.

And also, HapoItak has some conversion function. For example, HapoItak adds comma to each word and wrap each word with double quotation.

And also, HapoItak parses english reduction expression you type, and produce output JAVA.

Homepage is HapoItak

Example 1

HapoItak adds comma to each word and wrap each word with double quotation by 'ctrl+alt+u' key input.

before and after 1

Example 2

The text is surrounded with html tag by 'ctrl+alt+n' key input by HapoItak. The text can be able to surrounded with html tag every line.

before and after 4

Example 3

HapoItak replace html special character with html entities by 'ctrl+alt+y' key input.

Before
before and after 10

After
before and after 11

Example 4

HapoItak escape double quotation by 'ctrl+alt+h' key input.

Before
before and after 12

After
before and after 13

Example 5

For example, the following list is shown to input which is 'jsf'.

  1. jsf_if_a=b
  2. jsf_if_a=b_else
  3. jsf_hidden
  4. jsf_commandButton
  5. jsf_outputText

For example, 'jsf_if_a=b' expression is expanded into:

<c:if test='${$1 == "$2"}'>
$3
</c:if>

For example, 'jsf_if_a=b_else' expression is expanded into:

<c:if test='${$1 == "$2"}'>
$3
</c:if>
<c:if test='${$4 != "$5"}'>
$6
</c:if>

Example 6

For example, In the file by which an extension is java, this reduction expression:

property user_id ユーザID

can be expanded by into:

/** ユーザID */
private String userId;

/**
 * ユーザIDを取得します。
 * @return ユーザID。
 */
public String getUserId() {
    return userId;
}

/**
 * ユーザIDを設定します。
 * @param userId ユーザID。
 */
public void setUserId(String userId) {
    this.userId = userId;
}

Operation above-mentioned is performed by 'ctrl+i'.

About

HapoItak is a web-developr's powerful toolkit that can improve your HTML, JSP and JAVA workflow.

Resources

License

Stars

Watchers

Forks

Packages

No packages published