From 1cec6c35f4d091974b18dc81ddb353dc0a67fb1a Mon Sep 17 00:00:00 2001 From: "lithe-support[bot]" <356900028+lithe-support[bot]@users.noreply.github.com> Date: Wed, 18 Nov 2026 05:06:28 +0000 Subject: [PATCH 1/3] feat(java): recognize JSP and EL with bundled TextMate syntax --- README.md | 6 + docs/feature-matrix.md | 7 + .../grammars/jsp.tmLanguage.json | 220 ++++++++++++++++++ io.github.lithe-idea.java-support/plugin.json | 58 ++++- scripts/assemble-package.sh | 3 +- scripts/package/build-linux.mjs | 2 +- scripts/package/build-windows.mjs | 2 +- scripts/package/jsp-grammar.test.mjs | 47 ++++ scripts/verify-package.sh | 3 +- 9 files changed, 343 insertions(+), 5 deletions(-) create mode 100644 io.github.lithe-idea.java-support/grammars/jsp.tmLanguage.json mode change 100755 => 100644 scripts/assemble-package.sh create mode 100644 scripts/package/jsp-grammar.test.mjs mode change 100755 => 100644 scripts/verify-package.sh diff --git a/README.md b/README.md index 331ec9f..371ec84 100644 --- a/README.md +++ b/README.md @@ -343,3 +343,9 @@ node scripts/package/build-windows.mjs /path/to/lithe-java-backend.exe ## Linux ARM64 / x64 Linux 构建、资源归属与原生验证入口见 [Linux 构建与验证](docs/linux-packaging.md)。 + +## JSP / EL 基础语法(4.1.0) + +Java Support 现在声明 `.jsp`、`.jspf`、`.tag`、`.tagf` 为 JSP 文档,并随插件包提供 TextMate 语法,覆盖 JSP 指令、脚本片段、JSP/JSTL 标签、注释、HTML 元素和 `${...}` / `#{...}` EL 表达式。四种扩展名不再依赖 HTML 文件扩展名猜测。 + +**范围边界:** 这只是轻量的语法着色及括号/注释配置;未实现 JSP/EL 的语义补全、跨文件跳转、诊断、JSP 断点和热部署。Java 的 JDT LS 仍只服务 `.java` 文件。跨平台安装包都必须包含 `grammars/jsp.tmLanguage.json`,回归见 `scripts/package/jsp-grammar.test.mjs`。 diff --git a/docs/feature-matrix.md b/docs/feature-matrix.md index 0607775..5558823 100644 --- a/docs/feature-matrix.md +++ b/docs/feature-matrix.md @@ -51,3 +51,10 @@ | 项目结构页无头截图 | implemented / verified | — | — | `scripts/compiler/visual.mjs` 渲染真实投影(中英、明暗),截图见 `docs/assets/module-structure/` | 2026-11-17:macOS arm64 本机用 JDT LS 1.61.0 自动化通过。需要宿主声明 `sourceSettings` 1([1lck/Lithe-IDEA#2087](https://github.com/1lck/Lithe-IDEA/pull/2087));原生文件选择器、Windows 与 Linux 结果由实机验收和 CI 补充。 + +## JSP / EL 基础语法(4.1.0) + +| 能力 | macOS | Windows | Linux | 证据 | +| --- | --- | --- | --- | --- | +| JSP/JSPF/Tag/Tagf 识别、TextMate 语法着色(JSP 指令、脚本片段、JSTL/HTML、EL)、注释与括号设置 | implemented / pending | implemented / pending | implemented / pending | `io.github.lithe-idea.java-support/grammars/jsp.tmLanguage.json`、`scripts/package/jsp-grammar.test.mjs`;基于语法声明与打包入口的 Node 单测,原生编辑器实际着色仍待验收 | +| JSP/EL 语义补全、诊断、页面断点 | not-implemented | not-implemented | not-implemented | JDT LS 仅为 Java 服务,未来需 JSP 专属语言服务 | diff --git a/io.github.lithe-idea.java-support/grammars/jsp.tmLanguage.json b/io.github.lithe-idea.java-support/grammars/jsp.tmLanguage.json new file mode 100644 index 0000000..1300dfa --- /dev/null +++ b/io.github.lithe-idea.java-support/grammars/jsp.tmLanguage.json @@ -0,0 +1,220 @@ +{ + "name": "JavaServer Pages", + "scopeName": "text.html.jsp", + "patterns": [ + { + "include": "#jsp-comment" + }, + { + "include": "#html-comment" + }, + { + "include": "#jsp-directive" + }, + { + "include": "#jsp-declaration" + }, + { + "include": "#jsp-expression" + }, + { + "include": "#jsp-scriptlet" + }, + { + "include": "#el" + }, + { + "include": "#tag" + }, + { + "include": "#entity" + } + ], + "repository": { + "jsp-comment": { + "name": "comment.block.jsp", + "begin": "<%--", + "end": "--%>" + }, + "html-comment": { + "name": "comment.block.html", + "begin": "" + }, + "jsp-directive": { + "name": "meta.directive.jsp", + "begin": "<%@\\s*(page|include|taglib|tag|attribute|variable)\\b", + "beginCaptures": { + "1": { + "name": "keyword.control.directive.jsp" + } + }, + "end": "%>", + "patterns": [ + { + "include": "#attribute" + }, + { + "include": "#string" + }, + { + "include": "#el" + } + ] + }, + "jsp-declaration": { + "name": "meta.declaration.jsp", + "begin": "<%!", + "end": "%>", + "contentName": "source.java.embedded.jsp", + "patterns": [ + { + "include": "#java-lexical" + } + ] + }, + "jsp-expression": { + "name": "meta.expression.jsp", + "begin": "<%=", + "end": "%>", + "contentName": "source.java.embedded.jsp", + "patterns": [ + { + "include": "#java-lexical" + } + ] + }, + "jsp-scriptlet": { + "name": "meta.scriptlet.jsp", + "begin": "<%(?![@!=-])", + "end": "%>", + "contentName": "source.java.embedded.jsp", + "patterns": [ + { + "include": "#java-lexical" + } + ] + }, + "java-lexical": { + "patterns": [ + { + "match": "//.*$", + "name": "comment.line.double-slash.java" + }, + { + "begin": "/\\*", + "end": "\\*/", + "name": "comment.block.java" + }, + { + "include": "#string" + }, + { + "match": "\\b(?:class|public|private|protected|static|final|void|return|if|else|new|import|for|while|try|catch|throw|throws|extends|implements)\\b", + "name": "keyword.control.java" + } + ] + }, + "el": { + "name": "meta.expression.el.jsp", + "begin": "(?=!&|\\[\\]()'-]", + "name": "keyword.operator.el.jsp" + } + ] + }, + "tag": { + "name": "meta.tag.jsp", + "begin": "<(?![%!])(/?)([A-Za-z][\\w.:-]*)\\b", + "beginCaptures": { + "1": { + "name": "punctuation.definition.tag.begin.jsp" + }, + "2": { + "name": "entity.name.tag.jsp" + } + }, + "end": "/?>", + "patterns": [ + { + "include": "#attribute" + }, + { + "include": "#el" + } + ] + }, + "attribute": { + "begin": "([A-Za-z_:][\\w:.-]*)\\s*(=)", + "beginCaptures": { + "1": { + "name": "entity.other.attribute-name.jsp" + }, + "2": { + "name": "punctuation.separator.key-value.jsp" + } + }, + "end": "(?=\\s|/?>)", + "patterns": [ + { + "include": "#string" + }, + { + "include": "#el" + } + ] + }, + "string": { + "patterns": [ + { + "name": "string.quoted.double.jsp", + "begin": "\"", + "end": "\"", + "patterns": [ + { + "include": "#el" + } + ] + }, + { + "name": "string.quoted.single.jsp", + "begin": "'", + "end": "'", + "patterns": [ + { + "include": "#el" + } + ] + } + ] + }, + "entity": { + "match": "&(?:[A-Za-z][A-Za-z0-9]+|#[0-9]+|#x[0-9A-Fa-f]+);", + "name": "constant.character.entity.html" + } + } +} diff --git a/io.github.lithe-idea.java-support/plugin.json b/io.github.lithe-idea.java-support/plugin.json index d07c357..7f1c6a3 100644 --- a/io.github.lithe-idea.java-support/plugin.json +++ b/io.github.lithe-idea.java-support/plugin.json @@ -2,7 +2,7 @@ "schemaVersion": 0, "id": "io.github.lithe-idea.java-support", "displayName": "Java Support", - "version": "4.0.1", + "version": "4.1.0", "pluginAPIVersion": 0, "requires": {"backend": 0, "debugAdapters": 0, "languages": 0, "languageServers": 0, "pluginFunctions": 0, "settings": 0, "projectGenerators": 0, "toolDefinitions": 0, "sourceSettings": 1}, "requiresTools": ["java", "jdtls-runtime"], @@ -509,6 +509,62 @@ "displayName": "Java", "fileExtensions": ["java"], "projectFileNames": ["pom.xml", "build.gradle", "build.gradle.kts", "settings.gradle", "settings.gradle.kts"] + }, + { + "id": "jsp", + "displayName": "JavaServer Pages", + "fileExtensions": [ + "jsp", + "jspf", + "tag", + "tagf" + ], + "grammar": { + "kind": "textmate", + "path": "grammars/jsp.tmLanguage.json" + }, + "configuration": { + "blockComment": [ + "<%--", + "--%>" + ], + "brackets": [ + [ + "{", + "}" + ], + [ + "[", + "]" + ], + [ + "(", + ")" + ] + ], + "autoClosingPairs": [ + [ + "{", + "}" + ], + [ + "[", + "]" + ], + [ + "(", + ")" + ], + [ + "\"", + "\"" + ], + [ + "'", + "'" + ] + ] + } } ], "debugAdapters": [ diff --git a/scripts/assemble-package.sh b/scripts/assemble-package.sh old mode 100755 new mode 100644 index 483d4b1..377dbb0 --- a/scripts/assemble-package.sh +++ b/scripts/assemble-package.sh @@ -48,10 +48,11 @@ backend_path=$(/usr/bin/plutil -extract backend.launch.path raw -o - "$PLUGIN_DI jdtls_root=$(LITHE_ARCH="$ARCH" "$ROOT_DIR/scripts/prepare-jdtls.sh") extensions="$OUTPUT_DIR/jdtls-extensions" -rm -rf "$extensions" "$OUTPUT_DIR/icons" "$OUTPUT_DIR/templates" "$OUTPUT_DIR/l10n" "$OUTPUT_DIR/bin" +rm -rf "$extensions" "$OUTPUT_DIR/icons" "$OUTPUT_DIR/templates" "$OUTPUT_DIR/l10n" "$OUTPUT_DIR/grammars" "$OUTPUT_DIR/bin" cp -R "$PLUGIN_DIR/icons" "$OUTPUT_DIR/icons" cp -R "$PLUGIN_DIR/templates" "$OUTPUT_DIR/templates" cp -R "$PLUGIN_DIR/l10n" "$OUTPUT_DIR/l10n" +cp -R "$PLUGIN_DIR/grammars" "$OUTPUT_DIR/grammars" mkdir -p "$extensions" # Only the extensions are packaged, with their licenses and the pins they diff --git a/scripts/package/build-linux.mjs b/scripts/package/build-linux.mjs index edf874e..99060d1 100644 --- a/scripts/package/build-linux.mjs +++ b/scripts/package/build-linux.mjs @@ -41,7 +41,7 @@ function verify(directory){ try{ mkdirSync(pkg); cpSync(join(root,id,'plugin.json'),join(pkg,'plugin.json')); - for(const name of ['icons','templates','l10n'])cpSync(join(root,id,name),join(pkg,name),{recursive:true}); + for(const name of ['icons','templates','l10n','grammars'])cpSync(join(root,id,name),join(pkg,name),{recursive:true}); const destination=join(pkg,'jdtls-extensions');mkdirSync(destination); for(const name of extensions)cpSync(join(jdt,name),join(destination,name),{recursive:true}); buildProjectModelBundle(jdt,destination); diff --git a/scripts/package/build-windows.mjs b/scripts/package/build-windows.mjs index 6234ba5..847195b 100644 --- a/scripts/package/build-windows.mjs +++ b/scripts/package/build-windows.mjs @@ -42,7 +42,7 @@ const id = 'io.github.lithe-idea.java-support'; const packageRoot = join(staging, id); try { await mkdir(packageRoot, { recursive: true }); - for (const name of ['icons', 'templates', 'l10n']) await cp(join(root, id, name), join(packageRoot, name), { recursive: true }); + for (const name of ['icons', 'templates', 'l10n', 'grammars']) await cp(join(root, id, name), join(packageRoot, name), { recursive: true }); const extensions = join(packageRoot, 'jdtls-extensions'); await mkdir(extensions); for (const name of ['lombok', 'java-debug', 'java-test', 'manifest.json']) { diff --git a/scripts/package/jsp-grammar.test.mjs b/scripts/package/jsp-grammar.test.mjs new file mode 100644 index 0000000..6dac444 --- /dev/null +++ b/scripts/package/jsp-grammar.test.mjs @@ -0,0 +1,47 @@ +import assert from 'node:assert/strict'; +import {readFileSync} from 'node:fs'; +import {resolve} from 'node:path'; +import {fileURLToPath} from 'node:url'; +import test from 'node:test'; + +const root=resolve(fileURLToPath(new URL('../..',import.meta.url))); +const plugin='io.github.lithe-idea.java-support'; +const manifest=JSON.parse(readFileSync(resolve(root,plugin,'plugin.json'),'utf8')); +const jsp=manifest.languages.find(x=>x.id==='jsp'); +const grammar=JSON.parse(readFileSync(resolve(root,plugin,'grammars/jsp.tmLanguage.json'),'utf8')); +function visit(node,names=[]) { + if (node&&typeof node==='object') { + if (typeof node.include==='string' && node.include.startsWith('#')) names.push(node.include.slice(1)); + for (const k of ['match','begin','end']) if (typeof node[k]==='string') new RegExp(node[k]); + for (const v of Object.values(node)) if (typeof v==='object') visit(v,names); + } + return names; +} +test('JSP language is syntax-only and leaves Java JDT LS alone',()=>{ + assert.deepEqual(jsp.fileExtensions,['jsp','jspf','tag','tagf']); + assert.deepEqual(jsp.grammar,{kind:'textmate',path:'grammars/jsp.tmLanguage.json'}); + assert.equal(manifest.languageServers.length,1); + assert.equal(manifest.languageServers[0].languageID,'java'); +}); +test('JSP TextMate grammar has valid local references and regular expressions',()=>{ + assert.equal(grammar.scopeName,'text.html.jsp'); + for(const name of visit(grammar)) assert.ok(Object.hasOwn(grammar.repository,name),name); + assert.ok(JSON.stringify(grammar).length<16000); +}); +test('Recognizes classic JSP, directives, tags and EL without matching escaped EL',()=>{ + const r=grammar.repository; + const expect=(kind,source)=>assert.match(source,new RegExp(r[kind].begin)); + expect('jsp-directive','<%@ taglib prefix="c" uri="jakarta.tags.core" %>'); + expect('jsp-declaration','<%! int n = 0; %>'); + expect('jsp-expression','<%= user.getName() %>'); + expect('jsp-scriptlet','<% int n = 0; %>'); + assert.doesNotMatch('<%-- comment --%>',new RegExp(r['jsp-scriptlet'].begin)); + expect('tag',''); + expect('el','\\u0024{bean.value}'); + expect('el','#{bean.value}'); + assert.doesNotMatch('\\\\\\u0024{literal}',new RegExp(r.el.begin)); +}); +test('Every platform packager includes the JSP grammar in the installable package',()=>{ + for(const path of ['scripts/assemble-package.sh','scripts/package/build-linux.mjs','scripts/package/build-windows.mjs','scripts/verify-package.sh']) + assert.match(readFileSync(resolve(root,path),'utf8'),/grammars/,path); +}); diff --git a/scripts/verify-package.sh b/scripts/verify-package.sh old mode 100755 new mode 100644 index 985433e..3f4ddcd --- a/scripts/verify-package.sh +++ b/scripts/verify-package.sh @@ -52,7 +52,8 @@ for notice in LICENSE NOTICE; do done node "$ROOT_DIR/scripts/package/collect-notices.mjs" --verify "$PACKAGE" -allowed=(plugin.json bin icons templates l10n jdtls-extensions LICENSE NOTICE licenses) +allowed=(plugin.json bin icons templates l10n grammars jdtls-extensions LICENSE NOTICE licenses) +[[ -f "$PACKAGE/grammars/jsp.tmLanguage.json" ]] || fail "JSP TextMate grammar is missing" for entry in "$PACKAGE"/*(DN); do (( ${allowed[(Ie)${entry:t}]} )) || fail "undeclared top-level entry ${entry:t}" done From 1a793b407c8619dde910caaf86d05a2c6e4f1e2f Mon Sep 17 00:00:00 2001 From: "lithe-support[bot]" <356900028+lithe-support[bot]@users.noreply.github.com> Date: Wed, 18 Nov 2026 05:07:15 +0000 Subject: [PATCH 2/3] test(java): use literal dollar signs in JSP EL syntax fixtures --- scripts/package/jsp-grammar.test.mjs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/package/jsp-grammar.test.mjs b/scripts/package/jsp-grammar.test.mjs index 6dac444..f2bced5 100644 --- a/scripts/package/jsp-grammar.test.mjs +++ b/scripts/package/jsp-grammar.test.mjs @@ -36,10 +36,11 @@ test('Recognizes classic JSP, directives, tags and EL without matching escaped E expect('jsp-expression','<%= user.getName() %>'); expect('jsp-scriptlet','<% int n = 0; %>'); assert.doesNotMatch('<%-- comment --%>',new RegExp(r['jsp-scriptlet'].begin)); - expect('tag',''); - expect('el','\\u0024{bean.value}'); + const dollar=String.fromCharCode(36); + expect('tag',''); + expect('el',dollar+'{bean.value}'); expect('el','#{bean.value}'); - assert.doesNotMatch('\\\\\\u0024{literal}',new RegExp(r.el.begin)); + assert.doesNotMatch(String.fromCharCode(92)+dollar+'{literal}',new RegExp(r.el.begin)); }); test('Every platform packager includes the JSP grammar in the installable package',()=>{ for(const path of ['scripts/assemble-package.sh','scripts/package/build-linux.mjs','scripts/package/build-windows.mjs','scripts/verify-package.sh']) From 36c35ed6133b896472b8806602a6f0d400b77bf6 Mon Sep 17 00:00:00 2001 From: lick <2188718831@qq.com> Date: Tue, 17 Nov 2026 21:59:39 -0800 Subject: [PATCH 3/3] =?UTF-8?q?fix(java):=20JSP=20=E8=AF=AD=E6=B3=95?= =?UTF-8?q?=E5=BB=BA=E7=AB=8B=E5=9C=A8=E5=AE=BF=E4=B8=BB=20HTML=20?= =?UTF-8?q?=E8=AF=AD=E6=B3=95=E4=B8=8A=EF=BC=8C=E4=BF=AE=E5=A4=8D=20%>=20?= =?UTF-8?q?=E8=A2=AB=E6=B3=A8=E9=87=8A=E5=90=9E=E6=8E=89=E5=92=8C=E6=89=93?= =?UTF-8?q?=E5=8C=85=E8=84=9A=E6=9C=AC=E5=A4=B1=E5=8E=BB=E5=8F=AF=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 恢复 assemble-package.sh、verify-package.sh 的 755,单测检查可执行位 - 语法 include text.html.basic,HTML 及 `, + ``, + `<%-- ${hidden} <% ignored %> --%>`, + `

\${literal} #{bean.value}

`, + `<% if (ok) { %>`, + `yes`, + `<% } %>`, + `<% /* left open %>`, + `after`, + ``, + } + cases := []scopeCase{ + {line: source[0], text: "page", want: []string{"meta.directive.jsp", "keyword.control.directive.jsp"}}, + {line: source[0], text: "contentType", want: []string{"entity.other.attribute-name.jsp"}}, + {line: source[1], text: "int", want: []string{"source.java.embedded.jsp", "storage.type.primitive.java"}}, + {line: source[1], text: "// counted", want: []string{"comment.line.double-slash.java"}}, + {line: source[1], text: "%>", want: []string{"punctuation.section.embedded.end.jsp"}, not: []string{"comment"}}, + {line: source[1], text: "p>", want: []string{"entity.name.tag"}, not: []string{"source.java"}}, + {line: source[1], text: "name", want: []string{"meta.expression.el.jsp", "variable.other.el.jsp"}}, + {line: source[2], text: "url", want: []string{"string.quoted", "meta.embedded.block.jsp"}}, + {line: source[2], text: "title}", want: []string{"string.quoted", "meta.expression.el.jsp"}}, + {line: source[3], text: "c", want: []string{"entity.name.tag.namespace.jsp"}, not: []string{"invalid"}}, + {line: source[3], text: "forEach", want: []string{"entity.name.tag.jsp"}, not: []string{"invalid"}}, + {line: source[3], text: "items}", want: []string{"meta.expression.el.jsp"}}, + {line: source[4], text: "var", want: []string{"source.js"}}, + {line: source[4], text: "js}", want: []string{"source.js", "meta.expression.el.jsp"}}, + {line: source[5], text: "color", want: []string{"source.css", "support.type.property-name"}}, + {line: source[6], text: "hidden", want: []string{"comment.block.jsp"}, not: []string{"meta.expression.el.jsp"}}, + {line: source[6], text: "ignored", want: []string{"comment.block.jsp"}, not: []string{"meta.embedded"}}, + {line: source[7], text: "literal", not: []string{"meta.expression.el.jsp"}}, + {line: source[7], text: "bean", want: []string{"meta.expression.el.jsp"}}, + {line: source[9], text: "b>", want: []string{"entity.name.tag"}, not: []string{"source.java"}}, + {line: source[10], text: "}", want: []string{"source.java.embedded.jsp"}}, + {line: source[12], text: "i>", want: []string{"entity.name.tag"}, not: []string{"comment", "source.java"}}, + {line: source[13], text: "jsp", want: []string{"entity.name.tag.namespace.jsp"}, not: []string{"invalid"}}, + {line: source[13], text: "include", want: []string{"entity.name.tag.jsp"}}, + } + tokens := tokenizeLines(t, s.grammar, source) + for _, c := range cases { + index := -1 + for i, line := range source { + if line == c.line { + index = i + break + } + } + offset := strings.Index(c.line, c.text) + if index < 0 || offset < 0 { + t.Fatalf("case %q not found in %q", c.text, c.line) + } + scopes := scopesAt(tokens[index], offset) + for _, want := range c.want { + if !strings.Contains(scopes, want) { + t.Errorf("%q in %q: scopes %q lack %q", c.text, c.line, scopes, want) + } + } + for _, not := range c.not { + if strings.Contains(scopes, not) { + t.Errorf("%q in %q: scopes %q must not contain %q", c.text, c.line, scopes, not) + } + } + } + for i, line := range tokens { + for _, token := range line { + if scopes := token.Scopes.String(); strings.Contains(scopes, "invalid") { + t.Errorf("line %q: a token is marked invalid: %s", source[i], scopes) + } + } + } +} + +func tokenizeLines(t *testing.T, grammar *textmate.Grammar, lines []string) [][]textmate.Token { + t.Helper() + tokenizer := grammar.NewTokenizer() + var state *textmate.StateStack + out := make([][]textmate.Token, len(lines)) + for i, line := range lines { + var tokens []textmate.Token + var stopped bool + tokens, state, stopped = tokenizer.TokenizeLine(nil, []byte(line), state, 0) + if stopped { + t.Fatalf("tokenizing %q stopped", line) + } + out[i] = append([]textmate.Token(nil), tokens...) + } + return out +} + +// scopesAt returns the scopes of the token that the ASCII offset starts in. +func scopesAt(tokens []textmate.Token, offset int) string { + scopes := "" + for _, token := range tokens { + if token.Start > offset { + break + } + scopes = token.Scopes.String() + } + return scopes +} diff --git a/grammar-host.json b/grammar-host.json new file mode 100644 index 0000000..35682be --- /dev/null +++ b/grammar-host.json @@ -0,0 +1,5 @@ +{ + "repository": "https://github.com/1lck/Lithe-IDEA", + "revision": "08ccf3ab6ae0f30b41200ec93c1d0aeefdcb7a5c", + "note": "Host whose TextMate tokenizer and bundled HTML, CSS, JavaScript and Java grammars check grammars/jsp.tmLanguage.json (scripts/grammar/host-jsp.mjs). Grammar injections need desktop 0.8.4 or later; on older hosts the root-level JSP rules still apply." +} diff --git a/io.github.lithe-idea.java-support/grammars/jsp.tmLanguage.json b/io.github.lithe-idea.java-support/grammars/jsp.tmLanguage.json index 1300dfa..5057bec 100644 --- a/io.github.lithe-idea.java-support/grammars/jsp.tmLanguage.json +++ b/io.github.lithe-idea.java-support/grammars/jsp.tmLanguage.json @@ -1,13 +1,11 @@ { "name": "JavaServer Pages", "scopeName": "text.html.jsp", + "comment": "JSP on top of the host's HTML grammar. The JSP constructs are injected wherever HTML puts the text (element content, attribute values,