Skip to main content

DiffContextProvider

Type '@diff' to reference all of the changes you've made to your current branch. This is useful if you want to summarize what you've done or ask for a general review of your work before committing.

View the source

Properties

workspace_dir

(str)

The workspace directory in which to run `git diff`

Inherited Properties

title

(str) = "diff"

ide

display_title

(str) = "Diff"

description

(str) = "Output of 'git diff' in current repo"

dynamic

(boolean) = True

requires_query

(boolean) = False

Indicates whether the ContextProvider requires a query. For example, the SearchContextProvider requires you to type '@search <STRING_TO_SEARCH>'. This will change the behavior of the UI so that it can indicate the expectation for a query.