Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppFs = afero.NewOsFs()
AppFs hold the file-system abstraction for this package
Functions ¶
Types ¶
type Ide ¶
type Ide interface { // Detected tells if the IDE trails were found in the working directory. e.g: `.vscode` or `.idea` directories. Detected() (bool, error) // GebugInstalled tells if Gebug debugger mode was set in the IDE GebugInstalled() (bool, error) // Enable Gebug's debugger configurations Enable() error // Disable Gebug's debugger configurations Disable() error }
Ide defines the expected behaviour of each IDE that will have a Gebug integration
type VsCode ¶
type VsCode struct {
// contains filtered or unexported fields
}
VsCode is the 'Visual Studio Code' integration with Gebug
func (VsCode) Detected ¶
Detected tells if the IDE trails were found in the working directory (the `.vscode` directory exists)
func (VsCode) Disable ¶
Disable Gebug's debugger configurations by removing the Gebug object from the configurations json in 'launch.json'
func (VsCode) Enable ¶
Enable Gebug's debugger configurations by adding the Gebug object from the configurations json in 'launch.json'
func (VsCode) GebugInstalled ¶
GebugInstalled tells if Gebug debugger mode was set in the IDE 'launch.json' file
Click to show internal directories.
Click to hide internal directories.