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,
|
||||
// empty line
|
||||
commands.Command{
|
||||
Name: "",
|
||||
Description: "",
|
||||
},
|
||||
// commands.Command{
|
||||
// Name: "",
|
||||
// Description: "",
|
||||
// },
|
||||
commands.Command{
|
||||
Name: commands.CommandName(util.Ide()),
|
||||
Description: "open opencode",
|
||||
|
||||
@@ -6,11 +6,11 @@ import (
|
||||
)
|
||||
|
||||
var SUPPORTED_IDES = []struct {
|
||||
Search string
|
||||
Search string
|
||||
ShortName string
|
||||
}{
|
||||
{"Windsurf", "Windsurf"},
|
||||
{"Visual Studio Code", "VS Code"},
|
||||
{"Visual Studio Code", "vscode"},
|
||||
{"Cursor", "Cursor"},
|
||||
{"VSCodium", "VSCodium"},
|
||||
}
|
||||
@@ -27,4 +27,5 @@ func Ide() string {
|
||||
}
|
||||
|
||||
return "unknown"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user