mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-20 01:12:15 +00:00
fix: vscode extension cursor placement
This commit is contained in:
parent
a071a2b7f4
commit
3530885f48
2 changed files with 8 additions and 7 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue