Skip to content

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

Description

@GoogleCodeExporter
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:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions