-
Notifications
You must be signed in to change notification settings - Fork 37.2k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugfreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesVS Code crashing, performance, freeze and memory leak issuesgrammarSyntax highlighting grammarSyntax highlighting grammarjavascriptJavaScript support issuesJavaScript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)verifiedVerification succeededVerification succeeded
Milestone
Description
- VSCode Version: Code 1.16.0 (787b31c, 2017-09-06T16:27:49.891Z)
- OS Version: Windows_NT x64 10.0.15063
- Extensions:
| Extension | Author (truncated) | Version |
|---|---|---|
| vscode-standardjs | che | 1.1.8 |
| code-spell-checker | str | 1.3.9 |
| vjass | vas | 0.0.8 |
const { EventEmitter } = require('events')
module.exports = class TelegramBot extends EventEmitter {
/**
* Create a Telegram bot.
* @param {string} token - Bot token provided by BotFather.
* @param {Object} [settings] - Optional settings.
* @param {boolean} [settings.debug - Print getUpdate results in console.
* @param {number} settings.number - Interval for each update check.
*/
constructor (token, settings) {
super()
}
}I'm currently following this guide on how to add optional JSDoc param with default value. http://usejsdoc.org/tags-param.html#parameters-with-properties
Steps to Reproduce:
- Place the cursor at the end of "* @param {boolean} [settings.debug".
- Then type =. Visual Studio Code hangs for like 10 seconds and then prompts to keep waiting or reopen the window.
Reproduces without extensions: Yes
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugfreeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesVS Code crashing, performance, freeze and memory leak issuesgrammarSyntax highlighting grammarSyntax highlighting grammarjavascriptJavaScript support issuesJavaScript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)verifiedVerification succeededVerification succeeded