google / google/closure-templates

[feature request] Infer Java package from soy namespace in SoyParseInfoGenerator

Open
#184 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
700
Forks
199
Avg merge
2d 12h
Merged PRs (30d)
26

Description

It would be great if `SoyParseInfoGenerator` had an option to infer the Java package from the soy namespace of the file.

See https://github.com/closure-tools/closure-templates/commit/7acea66c65ee0d7b4ceab2d18247cf8d8f15a437 for a prototype.

/cc @robfig @sgammon

Contributor guide

Open the contributing guide

Research direction

Start by locating SoyParseInfoGenerator and reading the prototype commit linked in the issue. Compare that behavior with the generator's current package handling, then verify that the requested option can infer the Java package from a Soy namespace and preserve existing behavior when it is not enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.