Giter Site home page Giter Site logo

jstl-snippets-by-deb's Introduction

JSTL snippets by deb

JSTL snippets by deb contains almost all possible JSTL snippets. It is easy to access them by just typing a few related letters to the name of snippet as shown in the below gifs and images.

The best thing is just create the file with .jsp extension and keep the Language mode as HTML. This takes care that you can access both emmet features and jstl-snippets-by-deb features at the same time.

It works only for HTML language mode which is default for jsp. If it is different just change it from the bottom right corner.

Features

JSTL tagShortcutDescription
c:forEach..begin..endcforEachJSTL for each
c:forEachcforEachJSTL for each
c:ifcifJSTL if
c:choosecchooseJSTL choose
c:choose when...otherwisecchooseJSTL choose with when and otherwise
c:choose when otherwisecchooseJSTL choose with when and otherwise
c:whencwhenJSTL when
c:otherwisecotherwiseJSTL otherwise
$$JSTL $
c:setcsetJSTL set one line
c:set..csetJSTL set
c:set...csetJSTL set with scope
c:outcoutJSTL out
c:importcimportJSTL import
c:removecremoveJSTL remove
c:catchccatchJSTL catch
c:forTokenscforTokensJSTL for tokens
c:paramcparamJSTL url param
c:urlcurlJSTL url
c:redirectcredirectJSTL redirect
fn:containsfncontainsJSTL function contains:
boolean contains(java.lang.String, java.lang.String)
fn:containsIgnoreCasefncontainsIgnoreCaseJSTL function contains ignore case:
boolean containsIgnoreCase(java.lang.String, java.lang.String)
fn:endsWithfnendsWithJSTL function ends with:
boolean endsWith(java.lang.String, java.lang.String)
fn:escapeXmlfnescapeXmlJSTL escape xml:
java.lang.String escapeXml(java.lang.String)
fn:indexOffnindexOfJSTL index of:
int indexOf(java.lang.String, java.lang.String)
fn:trimfntrimJSTL trim:
java.lang.String trim(java.lang.String)
fn:startsWithfnstartsWithJSTL starts with:
boolean fn:startsWith(String input, String prefix)
fn:splitfnsplitJSTL split:
java.lang.String[] split(java.lang.String, java.lang.String)
fn:toLowerCasefntoLowerCaseJSTL to lower case:
String fn:toLowerCase(String input)
fn:toUpperCasefntoUpperCaseJSTL to upper case:
String fn:toUpperCase(String input)
fn:substringfnsubstringJSTL function substring:
String fn:substring(String inputstring, int start, int end)
fn:substringAfterfnsubstringAfterJSTL function substring after:
String fn:substringAfter(String input, String afterstring)
fn:substringBeforefnsubstringBeforeJSTL function substring before:
String fn:substringBefore(String input, String beforestring)
fn:lengthfnlengthJSTL function length:
int length(java.lang.Object)
fn:replacefnreplaceJSTL function replace
String fn:replace(String input, String search_for, String replace_with)
fmt:parseNumberfmtparseNumberJSTL parse number:
body content
fmt:timeZonefmttimeZoneJSTL time zone:
body content
fmt:formatNumberfmtformatNumberJSTL format number:
other attributes:groupingUsed,maxIntegerDigits,maxFractionDigits,pattern
fmt:parseDatefmtparseDateJSTL parse date
fmt:bundlefmtbundleJSTL bundle
fmt:setTimeZonefmtsetTimeZoneJSTL set time zone
fmt:setBundlefmtsetBundleJSTL set bundle
fmt:messagefmtmessageJSTL message
fmt:formatDatefmtformatDateJSTL format date
x:outxoutJSTL xml out
x:parsexparseJSTL xml parse
x:setxsetJSTL xml set
x:choosexchooseJSTL xml choose
x:whenxwhenJSTL xml when
x:otherwisexotherwiseJSTL xml otherwise
x:ifxifJSTL xml if
x:transformxtransformJSTL xml transform
x:paramxparamJSTL xml param
sql:setDataSourcesqlsetDataSourceJSTL sql set data source
sql:querysqlqueryJSTL sql query
sql:updatesqlupdateJSTL sql update
sql:paramsqlparamJSTL sql param
sql:dateParamsqldateParamJSTL sql date param
sql:transactionsqltransactionJSTL sql transaction
jstl:corejstlcoreJSTL core taglib
jstl:functionsjstlfunctionsJSTL functions taglib
jstl:fmtjstlfmtJSTL formatting taglib
jstl:xmljstlxmlJSTL xml taglib
jstl:sqljstlsqlJSTL sql taglib

Requirements

There are no extra requirements , you just need to have support for HTML language mode in vscode.

Release Notes

This is a very new extension. The initial version is released.

0.0.1

Initial release of the extension.

0.0.2

Added a icon for the extension.

Know the author

  • Connect with me on LinkedIn. I did love to hear how you feel using this extension.

jstl-snippets-by-deb's People

Contributors

krishna-vasudev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.