[ANN] JFlex Support 1.0

Hello,

The first version of JFlex support in IDEA. Now implemented only syntax highlighting. Plugin available from Plugin Manager since 4095 build.

Happy New Year again! :)

Enjoy! :)

2 comments

Alexey Efimov wrote:

Hello,

The first version of JFlex support in IDEA. Now implemented only syntax highlighting. Plugin available from Plugin Manager since 4095 build.

Happy New Year again! :)

Enjoy! :)


Cool! Here's a bug report :)

I'm not sure what I do to cause this. It happens when I make changes to
the %xx %yy section at the top of either of the two flex files I have.
If you want to see those files I can send one to you.


Error: could not match input
java.lang.Error: Error: could not match input
at
org.intellij.lang.jflex.lexer._JFlexLexer.zzScanError(_JFlexLexer.java:655)
at org.intellij.lang.jflex.lexer._JFlexLexer.advance(_JFlexLexer.java:1311)
at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:98)
at com.intellij.lexer.FlexAdapter.getTokenType(FlexAdapter.java:67)
at
com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.documentChanged(LexerEditorHighlighter.java:126)
at com.intellij.openapi.editor.impl.DocumentImpl.a(DocumentImpl.java:101)
at
com.intellij.openapi.editor.impl.DocumentImpl.access$300(DocumentImpl.java:55)
at
com.intellij.openapi.editor.impl.DocumentImpl$3.afterChangedUpdate(DocumentImpl.java:3)
at com.intellij.openapi.editor.impl.CharArray.insert(CharArray.java:69)
at
com.intellij.openapi.editor.impl.DocumentImpl.insertString(DocumentImpl.java:164)
at
com.intellij.openapi.editor.EditorModificationUtil.insertStringAtCaret(EditorModificationUtil.java:84)
at
com.intellij.openapi.editor.EditorModificationUtil.typeInStringAtCaretHonorBlockSelection(EditorModificationUtil.java:258)
at
com.intellij.openapi.editor.actionSystem.TypedAction$Handler.execute(TypedAction.java:66)
at
com.intellij.codeInsight.editorActions.TypedHandler.execute(TypedHandler.java:123)
at
com.intellij.codeInsight.template.impl.TemplateManagerActions$SpaceHandler.execute(TemplateManagerActions.java:5)
at
com.intellij.codeInsight.lookup.impl.TypedHandler.execute(TypedHandler.java:7)
at
com.intellij.execution.impl.ConsoleViewImpl$MyTypedHandler.execute(ConsoleViewImpl.java:8)
at
com.intellij.openapi.editor.actionSystem.TypedAction$1$1.run(TypedAction.java:110)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:237)
at
com.intellij.openapi.editor.actionSystem.TypedAction$1.run(TypedAction.java:105)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:29)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:21)
at
com.intellij.openapi.editor.actionSystem.TypedAction.actionPerformed(TypedAction.java:123)
at com.intellij.openapi.editor.impl.EditorImpl.a(EditorImpl.java:934)
at
com.intellij.openapi.editor.impl.EditorImpl.processKeyTyped(EditorImpl.java:296)
at
com.intellij.openapi.editor.impl.EditorImpl$6.keyTyped(EditorImpl.java:1)
at java.awt.Component.processKeyEvent(Component.java:5443)
at javax.swing.JComponent.processKeyEvent(JComponent.java:2713)
at java.awt.Component.processEvent(Component.java:5265)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at
java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
at
java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672)
at
java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
at
java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
at
java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
at java.awt.Component.dispatchEventImpl(Component.java:3841)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:163)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:73)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:117)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0

Thanks!
Try 1.0.1 version, pls :)

0

Please sign in to leave a comment.