Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Set PYP file syntax highlighting in VS Code?

    General Talk
    r25 python
    2
    4
    809
    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.
    • B
      bentraje
      last edited by

      Hi,

      I'm probably missing something so obvious but when I open a .pyp file in VS Code. It is not recognize as a python file. Syntax highlighting does not work.

      Is there a way to set-it as a python file?

      Tried searching google but couldnt' find any relevant info.

      Pretty please? 😞

      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by m_adam

        How to make VS Code treat a file extensions as a certain language?

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        B 1 Reply Last reply Reply Quote 0
        • B
          bentraje @m_adam
          last edited by

          @m_adam

          Gotcha. Thanks for the link.
          Works as expected.

          Just a heads up.
          ".pyp": "py" doesn't work.

          Need to specify the actual language
          "*.pyp": "python"

          1 Reply Last reply Reply Quote 0
          • M
            m_adam
            last edited by

            Btw if you install the Cinema 4D Vs Code extension, pyp extension should be added as Python.

            MAXON SDK Specialist

            Development Blog, MAXON Registered Developer

            1 Reply Last reply Reply Quote 1
            • i_mazlovI i_mazlov referenced this topic on
            • First post
              Last post