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

Unable to expand or type TokenTypes with "Embedded Java code support" turned on. #12

Open
GoogleCodeExporter opened this issue Apr 8, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

1. Use a wrong package name in the flex file.
2. Turn on the "Embedded Java code support"
3. Open the flex file. Note, that I forgot to change the package name. I 
haven't changed it from the properties package to my one. This seems to confuse 
the expansion mechanism.
4a. When I try to *type*

<YYINITIAL> {WhiteSpace} {return MathematicaTokenTypes.MMA_WHITE_SPACE;

after I type the semicolon everything right to the "." disappears so I have 
only 

<YYINITIAL> {WhiteSpace} {return MathematicaTokenTypes;

4b. When I try to hit tab to get the expansion the same happens.


What is the expected output? What do you see instead?

1. I would expect that the wrong package name is highlighted as error (and not 
the return; between %eof{}).

2. Maybe that when the package name is wrong the expansion doesn't work after 
all. Not good is that when I type something manually, the plugin deletes my 
code.

What version of the product are you using? On what operating system?

Ubuntu 12.04
IDEA 12 Ultimate (IU 123.94)

Please provide any additional information below.

Original issue reported on code.google.com by haliru...@googlemail.com on 3 Jan 2013 at 2:41

Attachments:

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

No branches or pull requests

1 participant