Vscode: Bot Proposal: "Caused by Extension X"

Created on 24 Mar 2020  路  13Comments  路  Source: microsoft/vscode

Background

We often get issues that should be filed on the extension's tracker. Currently the Inbox Tracker must find or memorize the extensions repo's URL and link to that with an explanation of the situation, or let the /causedByExtension command handle it, which provides limited guidance:

image

Proposal

This could be implemented as simply as a set of new actions for the commands bot:

/python => Close & Comment "This issue is likely caused by the Python extension. Please file a report at https://github.com/Microsoft/vscode-python."

Similar for /c, /cpp, /c#, /ts, /js (same as ts), /go, /powershell, /liveshare, /docker, and more as we see fit.

bot-proposal under-discussion

Most helpful comment

image
Works as expected 馃槅

All 13 comments

I like this and would use it.

Also would be useful for community members with access to bot commands.

I like the idea, but we have to be careful that we are not sending people to extension repositories to report it there if it is totally unrelated to that extension. I am not sure that checking for words in the issue is sufficient.

@bpasero this would be triggered by the inbox tracker. So it's saving the inbox tracker from digging up the right urls rather than saving them from doing anything at all.

Added some commands to the existing commands action to do this. It will direct users to the issue reporting template or CONTRUBUTING.md based on whats available.
image
image

Can you enumerate the list of supported commands? I have have tried /python but without success

\extPython
\extC
\extC++
\extTS
\extJS
\extC#
\extGo
\extPowershell
\extLiveShare
\extDocker

slashes are tilt-independent

image
Works as expected 馃槅

Side note: as with the prior bot, commands that close issues will not leave comments if the issue was already closed.

Can we also add /extJava please

One issue with Java is that there's a bunch of different popular Java extensions:
image

It's not clear to me to which we should link.

We could say:
If you're debugging, go here
If you're using language features, go here,
etc.

But I'm also not sure what the categories of features these all provide are, or if they're even mutually exclusive.

wow - soo many options. I think the red hat language service and debugger are the popular ones

Added extJava and extJavaDebug.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

omidgolparvar picture omidgolparvar  路  3Comments

curtw picture curtw  路  3Comments

shanalikhan picture shanalikhan  路  3Comments

villiv picture villiv  路  3Comments

sijad picture sijad  路  3Comments