Reports string template expressions using the STR processor and offers a quick-fix to migrate back to a plain string concatenation.

示例:


  String name = "Bob";
  String greeting = STR."Hello, \{name}. You are 29 years old.";

在应用快速修复后:


  String name = "Bob";
  String greeting = "Hello, " + name + ". You are 29 years old.";

2024.2 最新变化