You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm using GitHub copilot in agent mode in VSCode, as it is writing files, I want these files to be run through ruff. A good start would just be ruff format so that everything is formatted correctly, but more advanced would be for ruff lint to work so that the model could then auto-apply the fixes. Just the formatting would be great though.
VSCode provides a LanguageModelTool API for extensions. If we added that to this extension, then ruff could advertise to the language model "hey, I have this tool that can format and lint code", and the language model would be able to choose to use it, and apply it automatically ("tool use").
What do you think of this idea?
The text was updated successfully, but these errors were encountered:
When I'm using GitHub copilot in agent mode in VSCode, as it is writing files, I want these files to be run through
ruff
. A good start would just beruff format
so that everything is formatted correctly, but more advanced would be forruff lint
to work so that the model could then auto-apply the fixes. Just the formatting would be great though.VSCode provides a LanguageModelTool API for extensions. If we added that to this extension, then ruff could advertise to the language model "hey, I have this tool that can format and lint code", and the language model would be able to choose to use it, and apply it automatically ("tool use").
What do you think of this idea?
The text was updated successfully, but these errors were encountered: