Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>assnippetNew to Visual Studio Code? Get it now.
assnippet

assnippet

as snippet

|
499 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

assnippet README

as snippet for jsp, js and css.

Feature

  • js
  • jsp(html)
  • css

js

  • 新的代码段

    • as-new-page
    • as-new-snip
  • global

    • gurl [global.getPortUrl]
    • gp [gloabl.fnPerson]
  • common

    • cajax [Com.ajaxData]
    • ctmpl [Com.tmpl]
    • cbox [Com.dialogBox]
    • ctips [Com.dialogTipsMsg]
    • cradio [Com.radioBox]
    • cmu [Com.mergeUrl]
  • module

    • mgs [Mod.gridSet]
  • dialog

    • dl [dialogLoading = Com.dialogTipsMsg(loading, false, true)]
    • dlc [dialogLoading.close();]
  • event

    • oc [on('click', fn)]
    • odc [grid.on('drawcell', fn)]
    • orc [grid.on('rowdblclick', fn)]

jsp

  • i18n

    • i-em [em data-i18n]
    • i-attr [data-i18n="[attr]"]
    • i-placeholder [data-i18n="[placeholder]"]
  • form

    • as-form [<form>]
    • as-form-item [as-form-item]
    • as-em [as-em]
    • as-ipt [as-input]
    • as-ipt-placeholder [as-input-placeholder]
    • as-ipt-hide [as-input-hide]
    • as-ipt-time [WdatePicker]
    • as-ipt-time-dbl [WdatePicker with start and end]
    • as-txt [as-textarea]
    • as-sel [as-select]
    • as-radio [as-radio-box>as-rad-label>as-radio]
  • tmpl

    • tmpl [<script id="" type="text/x-dot-template">]
  • btn

    • btn-x [customize btn without icon]
    • btn-add
    • btn-modify
    • btn-del
    • btn-export

css

  • 新的代码段
    • as-new-page
    • as-new-snip
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft