File tree Expand file tree Collapse file tree 2 files changed +31
-31
lines changed
headless-services/spring-boot-language-server/src/main/resources
vscode-extensions/vscode-spring-boot Expand file tree Collapse file tree 2 files changed +31
-31
lines changed Original file line number Diff line number Diff line change 1414 },
1515 "order" : 1 ,
1616 "problemTypes" : [
17+ {
18+ "code" : " PATH_IN_CONTROLLER_ANNOTATION" ,
19+ "label" : " Controller annotation default attribute might contain a path" ,
20+ "description" : " Controller annotation default attribute might contain a path" ,
21+ "defaultSeverity" : " WARNING"
22+ },
1723 {
1824 "code" : " JAVA_AUTOWIRED_CONSTRUCTOR" ,
1925 "label" : " Unnecessary `@Autowired`" ,
8591 "label" : " Implicit web annotations names" ,
8692 "description" : " Web annotation names are unnecessary when it is the same as method parameter name" ,
8793 "defaultSeverity" : " HINT"
88- },
89- {
90- "code" : " WEB_ANNOTATION_NAMES" ,
91- "label" : " Controller annotation default attribute might contain a path" ,
92- "description" : " Controller annotation default attribute might contain a path - whereas the default attribute is the component name" ,
93- "defaultSeverity" : " WARNING"
94- }
94+ }
9595 ]
9696 },
9797 {
Original file line number Diff line number Diff line change 548548 }
549549 }
550550 },
551+ {
552+ "id" : " ai" ,
553+ "title" : " AI" ,
554+ "order" : 420 ,
555+ "properties" : {
556+ "boot-java.ai.mcp-server-enabled" : {
557+ "type" : " boolean" ,
558+ "default" : true ,
559+ "description" : " Enable embedded MCP server"
560+ }
561+ }
562+ },
551563 {
552564 "id" : " boot2" ,
553565 "title" : " Boot 2.x Best Practices & Optimizations" ,
563575 " ON"
564576 ]
565577 },
578+ "spring-boot.ls.problem.boot2.PATH_IN_CONTROLLER_ANNOTATION" : {
579+ "type" : " string" ,
580+ "default" : " WARNING" ,
581+ "description" : " Controller annotation default attribute might contain a path" ,
582+ "enum" : [
583+ " IGNORE" ,
584+ " INFO" ,
585+ " WARNING" ,
586+ " HINT" ,
587+ " ERROR"
588+ ]
589+ },
566590 "spring-boot.ls.problem.boot2.JAVA_AUTOWIRED_CONSTRUCTOR" : {
567591 "type" : " string" ,
568592 "default" : " WARNING" ,
706730 " HINT" ,
707731 " ERROR"
708732 ]
709- },
710- "spring-boot.ls.problem.boot2.PATH_IN_CONTROLLER_ANNOTATION" : {
711- "type" : " string" ,
712- "default" : " WARNING" ,
713- "description" : " Controller annotation default attribute might contain a path - whereas the default attribute is the component name" ,
714- "enum" : [
715- " IGNORE" ,
716- " INFO" ,
717- " WARNING" ,
718- " HINT" ,
719- " ERROR"
720- ]
721733 }
722734 }
723735 },
14001412 ]
14011413 }
14021414 }
1403- },
1404- {
1405- "id" : " ai" ,
1406- "title" : " AI" ,
1407- "order" : 420 ,
1408- "properties" : {
1409- "boot-java.ai.mcp-server-enabled" : {
1410- "type" : " boolean" ,
1411- "default" : true ,
1412- "description" : " Enable embedded MCP server"
1413- }
1414- }
14151415 }
14161416 ],
14171417 "grammars" : [
You can’t perform that action at this time.
0 commit comments