mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-14 16:07:52 +00:00
In large projects a mapper interface often showed no gutter arrows to its XML: the Java-to-XML lookup searched every XML file for the namespace, which ran past the editor's deadline on a cold start and lost its cache when the instance was interrupted. The lookup now asks the project index for the XML named like the interface and confirms its namespace, falls back to the namespace search only when that finds nothing, and keeps a found path while the file still maps the namespace (only misses expire). Version 0.4.2; component rebuilt from source. Co-authored-by: Clarence404 <36807519+Clarence404@users.noreply.github.com>
19 lines
1.4 KiB
TOML
19 lines
1.4 KiB
TOML
id = "openidea.mybatis"
|
|
name = "MyBatis Navigator"
|
|
version = "0.4.2"
|
|
description = "Jumps between MyBatis mapper interfaces and their XML statements, resultMaps, sql/include fragments, namespaces or annotation SQL (gutter arrows and Go to Definition), completes statement and sql ids and #{parameters}."
|
|
authors = ["OpenIDEA contributors"]
|
|
license = "Apache-2.0"
|
|
change-notes = "0.4.2 — the XML named like the mapper interface is found by its file name, and a found XML is kept, so gutter arrows no longer go missing in large projects. 0.4.1 — the XML for a mapper interface is found by a search, so gutter arrows no longer time out on projects with many XML files. 0.4.0 — result maps: @ResultMap navigates to @Results(id)/XML resultMap and completes ids; resultMap= in XML jumps too. 0.3.0 — annotation SQL: #{…}/${…} in @Select/@Insert/@Update/@Delete navigates to @Param/parameters and completes them; pure-annotation mappers need no XML. 0.2.0 — namespace, resultMap/extends and sql/include navigation, refid completion; 0.1.0 — first release: navigation both ways, line markers, id and parameter completion."
|
|
categories = ["frameworks"]
|
|
engines.openidea = "^1.4"
|
|
wasm = "dist/plugin.wasm"
|
|
activation = ["on-command:*"]
|
|
|
|
[capabilities]
|
|
required = ["project.read"]
|
|
|
|
[[contributes.providers]]
|
|
kinds = ["definition", "line-markers", "completion"]
|
|
languages = ["java", "xml"]
|