Vscode: Internal Terminal Links: allow links to have a range after filename like `/filename.js:10:12-10:22` to select a text in Editor

Created on 3 Jul 2020  ·  6Comments  ·  Source: microsoft/vscode



When

  • i have some internal terminal links
  • they have added a range: /filename.js:10:12-10:22

what i expect

  • when the link is clicked then the range between 10:12 and 10:22 should be selected
feature-request

Most helpful comment

this is the remark default report:

docs/production-app.md
      90:19-90:22  warning  Found reference to undefined definition  no-undefined-references  remark-lint
      94:21-94:34  warning  Found reference to undefined definition  no-undefined-references  remark-lint
      98:15-98:28  warning  Found reference to undefined definition  no-undefined-references  remark-lint

i can change to a custom reporter to add the fullpath to the range:

docs/production-app.md

  /Users/fullpath/docs/production-app.md:90:19-90:22  warning  Found reference to undefined definition  no-undefined-references  remark-lint
  /Users/fullpath/docs/production-app.md:94:21-94:34  warning  Found reference to undefined definition  no-undefined-references  remark-lint
  /Users/fullpath/docs/production-app.md:98:15-98:28  warning  Found reference to undefined definition  no-undefined-references  remark-lint

All 6 comments

What tool(s) output this?

this is the remark default report:

docs/production-app.md
      90:19-90:22  warning  Found reference to undefined definition  no-undefined-references  remark-lint
      94:21-94:34  warning  Found reference to undefined definition  no-undefined-references  remark-lint
      98:15-98:28  warning  Found reference to undefined definition  no-undefined-references  remark-lint

i can change to a custom reporter to add the fullpath to the range:

docs/production-app.md

  /Users/fullpath/docs/production-app.md:90:19-90:22  warning  Found reference to undefined definition  no-undefined-references  remark-lint
  /Users/fullpath/docs/production-app.md:94:21-94:34  warning  Found reference to undefined definition  no-undefined-references  remark-lint
  /Users/fullpath/docs/production-app.md:98:15-98:28  warning  Found reference to undefined definition  no-undefined-references  remark-lint


This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Relevant problem, an example output from make/gcc:

Building my_proj
  CC      code/mycode.c
In file included from code/mycode.c:8:0:
code/mycode.h:24:1: error: expected ‘;’, identifier or ‘(’ before ‘struct’
 struct my_struct_name {
 ^~~~~~

I think it used to work before 1.47


This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!


:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

Was this page helpful?
0 / 5 - 0 ratings