nikhilkalige / docblockr

DocBlockr is a package for Atom which is designed to make writing documentation faster and easier.
MIT License
405 stars 93 forks source link

Extra Comment tags being added #33

Closed dabates closed 9 years ago

dabates commented 9 years ago

Not sure if that's the best "Title" for this bug.

The issue seems to be thus:

I have a Doc Block like this:

    /**
     * This service will deal with submission 
     **/
    services.factory("submissionService", ['$http', function($http) {
        // Note: this will change when we send this into the form
        var submitUrl = "http://some.url";

Two things happen.. if I go up tot he function declaration, and press enter to have some white space after the { I get a single * after the { so it looks like: { *

The same thing happens of I go to the end of the "var" line and press enter.. at the end of the line it adds: // so it looks like:

var submitUrl = "http://some.url";// 

Now the second is of less consequence than the first.. but thought you would like to know

malko commented 9 years ago

Can't reproduce with latest atom and docblocker version so i close the issue for now. Feel free to re-open. Additionaly your comment block shoud end with */ not **/