Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Change the look of folded code

    Help wanted · · · – – – · · ·
    2
    2
    1645
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Stefan Karlsson
      Stefan Karlsson last edited by

      Is it possible to change the folding of code to look like the following?

      Unfolded code:

      typedef struct {
        int pos;
        char name;
      } MyType;
      
      /*******
       *
       * Short description
       *
       * More details
       *
       *******/
      int main(int argc, char *argv[])
      {
      	printf("Hello World!\n");
      }
      

      Folded code:

      typedef struct { ... } MyType;
      
      /* Short description ... */
      int main(int argc, char *argv[]) { ... }
      
      1 Reply Last reply Reply Quote 0
      • dail
        dail last edited by

        No it’s not possible.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors