Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac latest sublime jsdocs_function_description not working #452

Open
HarryF514 opened this issue Oct 5, 2017 · 3 comments
Open

mac latest sublime jsdocs_function_description not working #452

HarryF514 opened this issue Oct 5, 2017 · 3 comments

Comments

@HarryF514
Copy link

after I typed /** with tab, it doesn't show the description tag.

mac os version

10.11.6 (15G1004)

Sublime version 3.0 Build 3143

@gerardroche
Copy link
Contributor

You'll need provide a some more information. For example, can you provide more detailed report as explained here: #446 (comment)

@elliottregan
Copy link

I have the same issue. The shortcut does not pick up names for @param or @return.

Given: I have my cursor on the line above a function
When: I type /* + [tab] or /** + [tab],
Then: I expect the DocBlock to be created with argument names as explained here: https://github.com/spadgos/sublime-jsdocs#function-documentation
BUT: instead the block gets created without the param name, not the [description] placeholder.

Example: A function with one parameter and no return value gets this after hitting [tab]:

	/**
	 * @param  {[type]}
	 * @return {[type]}
	 */

@hijonathan
Copy link

hijonathan commented Jun 7, 2020

In case anyone finds this later, I had the same issue and found that overriding the jsdocs_function_description key in the Package Settings fixed this for me.

Preferences > Package Settings > DocBlockr > Settings - User:

{
  "jsdocs_function_description": true
}

This is what's in the default settings as well so this shouldn't work, but it does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants