Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arcbees plugin template issue creating NameToken field #77

Open
BenDol opened this issue Oct 8, 2015 · 1 comment
Open

Arcbees plugin template issue creating NameToken field #77

BenDol opened this issue Oct 8, 2015 · 1 comment

Comments

@BenDol
Copy link
Contributor

BenDol commented Oct 8, 2015

There is a problem where if you use /token as a name token it will try make the variable name /token of course that is an illegal symbol for a Java variable name and you get an exception. This needs to be resolved in the Arcbees Plugin Templates code, CreateNameTokens#processTemplate line 141.

// this needs to be processed to remove illegal symbols
// like common `/` (I use this route convention).
context.put("name", token.getToken());

I can't find the sources for the template processors so I'm just posting here.

Thanks!

@olafleur
Copy link
Member

olafleur commented Jan 4, 2016

What you are searching for is probably here, I guess : https://github.com/ArcBees/IDE-Templates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants