Navigation

    Community

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

    Locking code

    Plugin Development
    3
    3
    2928
    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.
    • Brandon Shaw
      Brandon Shaw last edited by

      I am kind of new to coding & i’m not sure if there is a feature where I can lock parts of code to avoid fat-fingering or any inadvertent change that may effect the code. Like I could add to the locked code (at the end or something). If there is already something like this where is it?

      Claudia Frank 1 Reply Last reply Reply Quote 0
      • Claudia Frank
        Claudia Frank @Brandon Shaw last edited by

        Hello @Brandon-Shaw,

        don’t know what you mean by locking parts of the code.
        What you can do is, maybe, folding (depends on which language you use) or hiding (view menu) the parts which shouldn’t be edited anymore.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Kasper Graversen
          Kasper Graversen last edited by

          You need to be using a versioning system instead such as Git or Mercurial. It requires some learning but it is time well spent.

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