Hi, I code in PHP and have used SublimeText for a couple of years now. I swear by it. It’s awesome.
One of the plugins that makes it awesome is DocBlockr (aka sublime-jsdocs). Normally all I have to do to start a docblock is to type /** and hit on the line right before my function. DocBlockr starts a comment block with @param and @return tags and I can through the things I need to fill in. Works great.
Or at least it did on my other laptop. I just got a new one and it’s not working right anymore! In fact it’s not working at all… Not only does it not parse my function header, but typing /** no longer even starts a docblock!
And another nice feature that it did (I’m pretty sure DocBlockr was responsible for this) was that if I was in a function document header and hit enter, it would at the * at the beginning of the next line and auto-indent for me. It would also auto-comment the next line of an inline comment for me by adding the // at the beginning.
It’s not doing that anymore either.
Has anyone else had this trouble? Any suggestions of a solution?
Windows 10 64-bit
Sublime Build: 3083
DocBlockr 2.14.1 (the version installed for me through Sublime Package Control)
- from browsing the changelog, it does look like a lot of work was done on php parsing, so maybe that’s got something to do with it…
Here’s also my User settings for the DocBlockr plugin
{ "jsdocs_deep_indent": false, "jsdocs_extend_double_slash": true, "jsdocs_indentation_spaces": 1, "jsdocs_indentation_spaces_same_para": 1, "jsdocs_align_tags": false, "jsdocs_extra_tags": [], "jsdocs_extra_tags_go_after": true, "jsdocs_notation_map": [], "jsdocs_return_tag": "@return", "jsdocs_function_description": true, "jsdocs_return_description": true, "jsdocs_param_description": true, "jsdocs_param_name": true, "jsdocs_spacer_between_sections": true, "jsdocs_per_section_indent": true, "jsdocs_min_spaces_between_columns": 1, "jsdocs_autoadd_method_tag": false, "jsdocs_simple_mode": false, "jsdocs_lower_case_primitives": true, "jsdocs_short_primitives": true, "jsdocs_override_js_var": false, "jsdocs_newline_after_block": false, "jsdocs_decorate": true, "jsdocs_quick_open_inline": true, "jsdocs_development_mode": false }