Skip to content

iamsebastian/sublime-ngdoc-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sublime-ngdoc-snippets

Just a small collection of snippets for creating an Angular/ngdoc related documentation.

You should use it in combination with DocBlockr, to get a nice workflow. Let DocBlockr create the documentation with /** » [TAB] and then add your ngdoc snippets.

See the official Angular wiki for notes about writing Angular related docs: Writing AngularJS Documentation.

Snippets

  • $ngd+ adds a complete documentation stack of @ngdoc-comment

    $ngdoc {...}  
    
    @name {name}  
    
    @deprecated
    @scope
    @eventType emit|broadcast
    @link
    @requires {service}  
    @propertyOf {method}  
    @methodOf {method}  
    @function  
    @element
    @elementOf {type}
    @description
    @param {type}
    @returns {type}
  • $dep adds @deprecated

  • $des adds @description

  • $ele adds @element

  • $eof adds @elementOf {type}

  • $eve adds @eventType emit|broadcast

  • $fun adds @function

  • $lin adds @link

  • $met adds @methodOf {method}

  • $nam adds @name {name}

  • $ngd adds @ngdoc

  • $par adds @param {type}

  • $pri adds @private

  • $pro adds @propertyOf {method}

  • $req adds @requires {service}

  • $ret adds @returns {type}

  • $sco adds @scope

  • $thi adds @this

About

Just a small collection of snippets for creating an Angular/ngdoc related documentation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published