-
Notifications
You must be signed in to change notification settings - Fork 78
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
Support for inserting jsdoc-like comments #41
Comments
From the docs:
Running this command anywhere in typescript-mode gives mixed results:
If we're going to override this command with a custom command for typescript-mode, we should properly address all these comment-styles. |
I wonder whether we should rebind |
That's a good idea, and leaves us reinventing fewer wheels than we need to. Have you experienced any cases where that does anything which is explicitly wrong? |
It might also be relevant to ask @dgutov if there is a reason that |
It's not as good as js2-mode, but better than what we have. I never encountered any case so far where indent-new-comment-line is better |
In js2-mode, it's wasn't a particular decision to write Before I got to it, So |
FYI |
As far as I know, TypeScript tends to be documented like this:
In
js2-mode
, I can type:and press
C-M-j
, to get:with point at the end of the second line. This would be a nice feature to have in
typescript.el
, as well.The text was updated successfully, but these errors were encountered: