mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 08:03:19 +00:00
Navigation choosers and gutter marker names took a target's container from the nearest type declaration above it without checking that its body was still open, so targets after a closed type got that type's name. enclosingType now uses a declaration only when its body holds the target: brace bodies count braces up to the target column (ignoring string literals), others use indentation; Go methods still use their receiver. Co-authored-by: ntbang0901 <121003585+ntbang0901@users.noreply.github.com> Co-authored-by: ntbang0901 <121003585+ntbang0901@users.noreply.github.com>