Announcement

Collapse
No announcement yet.

Using replacement to match moved braces

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using replacement to match moved braces

    Is it possible to make

    Code:
    static class MessageInfo
    {
    match

    Code:
    static class MessageInfo {
    using Replacements? I have dozens, if not hundreds, of these I'd like to ignore.

    I've tried several things with no success. (I'm not good with regex though.)

  • #2
    Hello,

    No, sorry, our current Replacements support is limited to a single line pair, and doesn't cross line breaks. For this kind of scenario, you would have to tidy and normalize the whitespace and line breaks using a conversion process. As an example, we have a few for specific formats for download here, search for tidied:
    https://www.scootersoftware.com/down..._moreformatsv4

    and a generic example (using RESX as the example program) here:
    https://www.scootersoftware.com/supp...rnalconversion

    This does alter the text, so any edits/saves in this new formatting would save to the original file in that new formatting.
    Aaron P Scooter Software

    Comment


    • #3
      Ok, thanks for answering.

      Comment

      Working...
      X