diff --git a/docs/scenes/legacy-migration.md b/docs/scenes/legacy-migration.md index 5389d5466e..43f20650b7 100644 --- a/docs/scenes/legacy-migration.md +++ b/docs/scenes/legacy-migration.md @@ -20,6 +20,8 @@ Building upon the experience accumulated in our "[System Refactoring and Migrati Support language: Java. +![AutoDev Living Documentation](https://unitmesh.cc/auto-dev/gen-test-data.png) + Simply right-click on the Java Controller code, select "Generate Test Data (APIs)," and API test data will be generated. ### 2. Custom Prompt Integration diff --git a/exts/devin-lang/src/grammar/DevInLexer.flex b/exts/devin-lang/src/grammar/DevInLexer.flex index 695b7ba40b..425c9bb8b3 100644 --- a/exts/devin-lang/src/grammar/DevInLexer.flex +++ b/exts/devin-lang/src/grammar/DevInLexer.flex @@ -103,6 +103,6 @@ NEWLINE= \n | \r | \r\n { "```" { return CODE_BLOCK_START; } - {IDENTIFIER} { yybegin(YYINITIAL); return LANGUAGE_ID; } + {LANGUAGE_ID} { return LANGUAGE_ID; } [^] { yypushback(1); yybegin(CODE_BLOCK); } }