You can enable 'outling' (as it's called) for the current document by selecting the "Outlining" item from the "Edit" menu, and choosing "Start Automatic Outlining," as shown below:
In theory, there should be a "global" setting for this, like there is for other languages (eg Options -> Text Editor -> C# -> Advanced
then "Enter Outlining mode when files open") but, for JavaScript, this seems to be a 'bug' in the current release: see this Developer Community post.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.