mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-21 09:44:21 +01:00
fix: vscode extension cursor placement
This commit is contained in:
@@ -83,10 +83,10 @@ func (c *commandsComponent) View() string {
|
|||||||
}
|
}
|
||||||
commandsToShow = append(commandsToShow,
|
commandsToShow = append(commandsToShow,
|
||||||
// empty line
|
// empty line
|
||||||
commands.Command{
|
// commands.Command{
|
||||||
Name: "",
|
// Name: "",
|
||||||
Description: "",
|
// Description: "",
|
||||||
},
|
// },
|
||||||
commands.Command{
|
commands.Command{
|
||||||
Name: commands.CommandName(util.Ide()),
|
Name: commands.CommandName(util.Ide()),
|
||||||
Description: "open opencode",
|
Description: "open opencode",
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ var SUPPORTED_IDES = []struct {
|
|||||||
ShortName string
|
ShortName string
|
||||||
}{
|
}{
|
||||||
{"Windsurf", "Windsurf"},
|
{"Windsurf", "Windsurf"},
|
||||||
{"Visual Studio Code", "VS Code"},
|
{"Visual Studio Code", "vscode"},
|
||||||
{"Cursor", "Cursor"},
|
{"Cursor", "Cursor"},
|
||||||
{"VSCodium", "VSCodium"},
|
{"VSCodium", "VSCodium"},
|
||||||
}
|
}
|
||||||
@@ -28,3 +28,4 @@ func Ide() string {
|
|||||||
|
|
||||||
return "unknown"
|
return "unknown"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user