1. #1
    Sencha Premium Member dawesi's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,088
    Vote Rating
    47
    Answers
    25
    dawesi will become famous soon enough dawesi will become famous soon enough

      0  

    Default Answered: [Any] How do I comment my code (outside functions) in SA?

    Answered: [Any] How do I comment my code (outside functions) in SA?


    As I can't get access to put comments above my functions, will you be providing a config that will allow for us to put a comment on a class?

    could be a string config:

    userClassComments : '' and then it places the comment just above the method?

    Is there a current workaround for this?
    Lead Trainer / Sencha Specialist
    Teahouse Training Company

    Comprehensive Javascript, Sencha and 3rd Party Stack Training available worldwide online, and onsite in APAC, written by certified official Sencha trainers.



    Unofficial Sites:

    SenchaWorld.com - Videos, and stuff
    Sencha.Community - Tools, Extensions and Resources
    TeahouseHQ.com - Sencha Ecosystem Training Portal

    Code Validation : JSLint | JSONLint | JSONPLint

  2. There is not a current workaround for this. It is a feature that is highly requested and we'd like to get it in post 3.0 release.

  3. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,466
    Vote Rating
    129
    Answers
    71
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    There is not a current workaround for this. It is a feature that is highly requested and we'd like to get it in post 3.0 release.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  4. #3
    Sencha Premium Member dawesi's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,088
    Vote Rating
    47
    Answers
    25
    dawesi will become famous soon enough dawesi will become famous soon enough

      0  

    Default


    This is also an issue for building apps where markup in comments is required for Sencha Cmd. (I know you are aware of this, but thought I'd put it here also) I can do this for inline custom methods, but this also means some 'dev' only methods will make it into a test/production build if not commented for SC.

    So workaround is to edit outside architect., then merge any future changes from outside edit with architect changes before testing/deployment.

    This is a real blocker for me; less than processConfig, but right up there due to it blocking the build process
    Lead Trainer / Sencha Specialist
    Teahouse Training Company

    Comprehensive Javascript, Sencha and 3rd Party Stack Training available worldwide online, and onsite in APAC, written by certified official Sencha trainers.



    Unofficial Sites:

    SenchaWorld.com - Videos, and stuff
    Sencha.Community - Tools, Extensions and Resources
    TeahouseHQ.com - Sencha Ecosystem Training Portal

    Code Validation : JSLint | JSONLint | JSONPLint

  5. #4
    Sencha Premium Member dawesi's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,088
    Vote Rating
    47
    Answers
    25
    dawesi will become famous soon enough dawesi will become famous soon enough

      0  

    Default


    I guess this could also be something that jsduck could implement in the mean time.

    aka create a custom config item: see https://github.com/senchalabs/jsduck/issues/467
    Lead Trainer / Sencha Specialist
    Teahouse Training Company

    Comprehensive Javascript, Sencha and 3rd Party Stack Training available worldwide online, and onsite in APAC, written by certified official Sencha trainers.



    Unofficial Sites:

    SenchaWorld.com - Videos, and stuff
    Sencha.Community - Tools, Extensions and Resources
    TeahouseHQ.com - Sencha Ecosystem Training Portal

    Code Validation : JSLint | JSONLint | JSONPLint

Thread Participants: 1