Comments (7)
Re-reading the issue. Currently writing /**
does nothing but start a comment. Only the short cut keys extract the data from the function.
Please plus 1 this if you want the enter to extract the function information from foo
.
/**[Enter]
function foo(a,b) {
}
from atom-easy-jsdoc.
Same here, setting beta: true did not help. My config:
core:
disabledPackages: [
"autocomplete-html"
]
openEmptyEditorOnStart: false
telemetryConsent: "no"
titleBar: "custom"
editor:
fontSize: 12
invisibles: {}
showIndentGuide: true
showInvisibles: true
tabLength: 4
"exception-reporting":
userId: "8a33a06b-9c13-94ed-5451-9337205919c5"
jslint:
hideOnNoErrors: true
welcome:
showOnStartup: false
"xml-formatter":
endLineCharacter: "LF (\\n)"
"atom-easy-jsdoc":
beta: true
from atom-easy-jsdoc.
Thanks for the report. I can replicate the issue when not in beta
mode. Please enable beta
mode in the settings.
The beta version will replace the current implementation soon so would be good if you do have problems with it. It has pretty decent test coverage and uses an AST instead of regexes so should be more reliable.
from atom-easy-jsdoc.
I may be missing something here. Here is what I'm trying to recreate it.
from atom-easy-jsdoc.
I Also notice that in my case, even shortcuts do not create comment block (Mac OS), so it might related with that also (in mac, is it ctrl+shift+d or cmd+shift+d?).
edit: pardon, my bad. Needed to rebuild package. Now shortcut works, but autocomplete still not.
from atom-easy-jsdoc.
Reopening to add this feature.
from atom-easy-jsdoc.
FWIW, one can get some autocomplete behavior with https://atom.io/packages/docblockr (though it adds more info, based on what is below)
from atom-easy-jsdoc.
Related Issues (20)
- conflict with goto-definition in Atom 1.16.0 under macOS Sierra HOT 6
- An in-range update of mocha is breaking the build 🚨
- Uncaught TypeError: Cannot read property 'getCursorBufferPosition' of undefined HOT 2
- Unavailable tag error should not be considered an error HOT 2
- Syntax highlighting? HOT 2
- Option to disable indentation alignment HOT 1
- Uncaught Error: Unknown param type: MemberExpression HOT 1
- easy preview HOT 2
- Function name in the subject line HOT 2
- Uncaught Error: Unknown param type: ArrowFunctionExpression HOT 1
- arrow function not recognized when it's an object's property value HOT 1
- Version 10 of node.js has been released
- Adding JSDoc with the shortcut while cursor is on the "function" line
- do you change paste manner? please HOT 2
- An in-range update of eslint-plugin-import is breaking the build 🚨 HOT 3
- Autocontinue also applied to singe line comments outside of the docs
- Exported class generated wrong indentation.
- Optional chaining expression results in error
- Does Not Work With Arrow Functions
- Throws error on private class features
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-easy-jsdoc.