Skip to content

eentzel/yasnippet-jstl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

A collection of snippets I've found useful while editing JSP files using emacs & yasnippet mode. Covers a subset of the core JSTL tags. Assumes that you use a mode called "jsp-mode" to edit JSPs. If this isn't true, you can either rename the jsp-mode directory to the name of the mode you use, or you can put something like this in your .emacs (assuming you currently use nxhtml-mode to edit JSPs):

(define-derived-mode jsp-mode nxhtml-mode "JSP"
  "Major mode for editing .jsp files - identical to nxhtml-mode, but
  allows some mode hooks to run for jsp-mode but not html-mode")
(add-to-list 'auto-mode-alist '("\\.jsp$" . jsp-mode))

If you make any additions or improvements to these snippets, pull requests are welcome.

About

A collection of snippets for common JSTL tags

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published