For the Korean version of this document, see README.ko.md.
jsp-taglib-intellisense is a VS Code extension for JSP projects that reads taglib declarations and provides prefix-aware tag completion and hover documentation.
It currently ships built-in metadata for JSTL core tags and Spring form tags, including localized hover content in English and Korean.
Features
- Normalizes
jakarta.tags.coreand legacy JSTL core URIs into the same built-in tag set. - Supports all built-in JSTL core tags:
catch,choose,if,import,forEach,forTokens,out,otherwise,param,redirect,remove,set,url,when - Supports all built-in Spring form tags:
button,checkbox,checkboxes,errors,form,hidden,input,label,option,options,password,radiobutton,radiobuttons,select,textarea - Completes taglib directives in both classic JSP syntax (
<%@ taglib ... %>) and XML syntax (<jsp:directive.taglib ... />). - Completes
uriandprefixvalues while authoring taglib directives. - Follows static includes such as
<%@ include file="..." %>and<jsp:directive.include ... />to collect declared taglibs across related files. - Restricts completions to real tag-opening contexts such as
<c:to avoid noisy suggestions in plain text. - Registers
.jsp,.jspf,.jspx,.tag, and.tagxas JSP-related files for activation. - Shows hover documentation on supported tag names with:
Y/Nrequired flags, default values, attribute descriptions, and per-tag notes when available - Adapts hover documentation to the VS Code UI language: Korean UI shows Korean content, English UI shows English content
Version History
0.1.1
- Added English/Korean localized hover documentation based on the VS Code UI language.
- Changed required attribute indicators in hover tables to
Y/N. - Updated release notes and project documentation for the
0.1.1release.
0.1.0
- Added hover documentation for supported tag names.
- Added per-tag attribute tables with required flags, default values, and descriptions.
- Updated project documentation to reflect the current feature set.
0.0.2
- Initial public release.
- Added prefix-based tag completion for JSTL core tags.
- Added prefix-based tag completion for Spring form tags.
- Added taglib directive completion for both classic JSP and XML directive syntax.
- Added static include traversal for taglib collection.
- Added JSP-related file extension registration.
Known Limitations
- Runtime includes such as
<jsp:include ...>are not resolved. - Built-in metadata is currently limited to URI-based JSTL core tags and Spring form tags.
tagdir-based custom tag completion is not supported yet.
Development
npm test
This runs the TypeScript compile step and the current unit test suite.