vscode-scss icon indicating copy to clipboard operation
vscode-scss copied to clipboard

Parameter info doesn't show up

Open dehghani-mehdi opened this issue 6 years ago • 5 comments

Hi,

Thanks for vscode-scss, I don't know it's a bug or missed feature, but the parameter info/description for mixin doesn't show up.

For example:

/// Change body's color
///
/// @access public
///
/// @param {String} $color
///     color code/name
///
@mixin test($color) {
    body {
        color: $color;
    }
}

The comment that I wrote for $color or mixin itself doesn't show up when I want to use it.

Thanks again.

dehghani-mehdi avatar Nov 29 '17 08:11 dehghani-mehdi

/// Change body's color
///
/// @access public
///
/// @param {String} $color
///     color code/name
///

This is official docstring for Sass? You can provide documentation for this?

mrmlnc avatar Nov 29 '17 09:11 mrmlnc

I could not find any official docs about that, but popular libraries like Bourbon use this syntax.

Update:

I found this: https://github.com/SassDoc/sassdoc/issues/15

dehghani-mehdi avatar Nov 29 '17 13:11 dehghani-mehdi

Support for SassDoc should be very a very useful feature

The documentation is here

Varkal avatar Aug 05 '18 12:08 Varkal

I'm experiencing the same. This would greatly increase the utility of suggestions.

Would be very exited to see this being integrated, this would be very helpful when working with mixins and maps, which could be possible when https://github.com/SassDoc/sassdoc/issues/386 is closed.

shiftgeist avatar Mar 02 '20 21:03 shiftgeist