I suggest we ...

respect multi-line triple quoted strings indentation

It would be useful if the starting position of a multi-line triple quoted string could set the starting position of the content when it is the first non-whitespace character on it's source line. Additionally, when it is followed only by source level whitespace character, then the content is presume to actually start on the next line, indented of course. If non-whitespace characters occur prior to the indent point, then it may be flagged as a syntax error, however, EOL characters would be retained to capture lines.

Perhaps a new symbol could be used other than triple quotes...perhaps quadruple quotes: """"

1 vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    George shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...

      F# Language

      Feedback and Knowledge Base