codetour
codetour copied to clipboard
Allow clicking gutter icon
When reading code, it would be helpful if we could open a step by clicking on the CodeTour icon that's located in the code editor margin next to the line numbers.
Unfortunately, this isn't possible until VS Code address a longstanding API request. If you hover over the line that has the gutter glyph, you should see a hover info that includes a link to start the tour. That said, this isn't super discoverable, and so I'd love to enable a click behavior as you suggested.
Got it thanks for the quick reply @lostintangent.
could we do this in another way.
- we create a codetour discussion in main.go:9
- we allow some shortcut like 'f8' to trigger following action
- check the codetour, if we add some discussion at this location main.go:9
- if yes, it means we have clicked on gutter, then we can show the discussion (mabye we could optionally select the step in the codetour explorer or add another shortcut to do that).
- if not, do nothing.
- check the codetour, if we add some discussion at this location main.go:9
Really hope we can support this, here's an screenshot when I reading code in big project, the codetour contains many steps. If we support this feature, it will be really helpful.