question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

quickinfo on single line comment expands to enclosing expression

See original GitHub issue

TS Template added by @mjbvz

TypeScript Version: 4.5.0-dev.20211025

Search Terms

  • quickinfo
  • hover

Issue Type: Bug

  1. Split code into multiple lines
  2. Between chaining functions put single line comment
  3. Hold command (In my case) and now, comment is getting underlined Then if you click on the comment, Application will goes you to defenition and types of the chained function…
Bug-vscode

This bug is not bothering or making bad things happen and etc… but it’s a bug anyway… May be help to prevent more bugs

VS Code version: Code 1.61.0 (ee8c7def80afc00dd6e593ef12f37756d8f504ea, 2021-10-07T18:11:58.853Z) OS version: Darwin x64 20.6.0 Restricted Mode: No

System Info
Item Value
CPUs Intel® Core™ i5-8279U CPU @ 2.40GHz (8 x 2400)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 8.00GB (0.16GB free)
Process Argv –crash-reporter-id 3abd098e-8913-45d9-9e68-58217d58edc2
Screen Reader no
VM 0%
Extensions (14)
Extension Author (truncated) Version
htmltagwrap bra 0.0.7
npm-intellisense chr 1.4.0
vscode-svgviewer css 2.0.0
vscode-eslint dba 2.2.1
es7-react-js-snippets dsz 3.1.1
gitlens eam 11.6.1
vscode-npm-script eg2 0.3.22
prettier-vscode esb 9.0.0
auto-rename-tag for 0.1.9
dotenv mik 1.0.1
vscodeintellicode Vis 1.2.14
vscode-icons vsc 11.6.0
vscode-todo-highlight way 1.0.4
markdown-all-in-one yzh 3.4.0
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
pythonvspyt639:30300192
pythontb:30283811
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30358481
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
vsccppwtct:30378365
pythonvssor306:30344512
bridge0708:30335490
pygetstartedt2:30371810
dockerwalkthru:30377721
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedc:30364665
pythonvspyt187:30373474
vsqsis200:30381674
vsaa593cf:30376535
vssld246cf:30379912

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mjbvzcommented, Nov 3, 2021

Probably nothing if you are on the comment itself even though it is part of the larger expression here

0reactions
andrewbranchcommented, Nov 2, 2021

What’s the expected behavior when you hover the comment? No quick info, or this response but bounded to the following then?

Read more comments on GitHub >

github_iconTop Results From Across the Web

RFC: Escaping doc comments inside doc comments · Issue ...
I think it should handle block comments when they're inside a code block ... It would be wildly unacceptable to expand every single...
Read more >
Single-line and Multi-line Comments in C# | Pluralsight
Single -line comments allow narrative on only one line at a time. Single-line comments can begin in any column of a given line...
Read more >
Auto-extend Multi-line Comments
Comments are auto-extended for all lines, including the first line. Pressing Enter immediately after a token is inserted also auto-extends the comment. To...
Read more >
Code editor features - Visual Studio (Windows) - Microsoft Learn
You can expand and collapse different blocks of code by using outlining. You can learn more about the code by using IntelliSense, the...
Read more >
/* Multi-line comments */ - Progress Documentation
Allows you to add explanatory text to code. The comment begins with /* and ends with */. This type of comment can wrap...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found