I have many invalid //
comments in Strings files, is there a quick fix?
#16
-
As Xcode never complains when adding comments starting with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
While Xcode seems to support You don't need to convert all Step-by-Step Migration Guide
This is what the scope & sidebar will look like: If you run into any issues with the above guide or have questions, don't hesitate to comment. I hope it helps! |
Beta Was this translation helpful? Give feedback.
While Xcode seems to support
//
comments right now, we can't be sure if this will continue to work in future versions. Also, other tooling might refer to the official syntax documentation as well, which only allows C-style/* ... */
comments. Therefore we we think it's better to enforce our users have Strings files with a correct syntax to prevent any potential problems occurring.You don't need to convert all
//
comments to/* ... */
style comments manually though. We can make use of Xcodes built-in Find & Replace functionality and their Support for Regexes – don't worry, we have created the Regex for you.Step-by-Step Migration Guide