mirror of
https://github.com/Myzel394/config-lsp.git
synced 2025-06-18 15:05:28 +02:00
chore: Remove println
This commit is contained in:
parent
683be36a03
commit
df9f164a26
@ -176,7 +176,6 @@ func (v ArrayValue) getCurrentValue(line string, cursor uint32) (string, uint32)
|
||||
func (v ArrayValue) DeprecatedFetchCompletions(line string, cursor uint32) []protocol.CompletionItem {
|
||||
value, cursor := v.getCurrentValue(line, cursor)
|
||||
|
||||
println("after array", value, cursor)
|
||||
return v.SubValue.DeprecatedFetchCompletions(value, cursor)
|
||||
}
|
||||
|
||||
|
@ -96,7 +96,6 @@ func GetAliasValueHoverInfo(
|
||||
func GetAliasValueTypeInfo(
|
||||
value ast.AliasValueInterface,
|
||||
) []string {
|
||||
println(fmt.Sprintf("value: %v, value type: %T", value, value))
|
||||
switch value.(type) {
|
||||
case ast.AliasValueUser:
|
||||
return []string{
|
||||
|
@ -97,8 +97,6 @@ func (args codeActionAddToUnknownArgs) RunCommand(d *sshconfig.SSHDocument) (*pr
|
||||
}
|
||||
|
||||
rawOptionName := option.Key.Value.Raw
|
||||
println("rawOption:")
|
||||
println(rawOptionName)
|
||||
optionName := addToUnknownOptionTemplate.Format(formatting.DefaultFormattingOptions, rawOptionName)
|
||||
|
||||
// We got everything, let's build the edit!
|
||||
|
@ -7,7 +7,6 @@ import (
|
||||
"config-lsp/handlers/sshd_config/ast"
|
||||
"config-lsp/handlers/sshd_config/fields"
|
||||
"config-lsp/utils"
|
||||
"fmt"
|
||||
|
||||
protocol "github.com/tliron/glsp/protocol_3_16"
|
||||
)
|
||||
@ -17,8 +16,6 @@ func GetRootCompletions(
|
||||
parentMatchBlock *ast.SSHDMatchBlock,
|
||||
suggestValue bool,
|
||||
) ([]protocol.CompletionItem, error) {
|
||||
println("getting root completions and the parnet Match block eta:")
|
||||
println(fmt.Sprintf("%v", parentMatchBlock))
|
||||
kind := protocol.CompletionItemKindField
|
||||
|
||||
availableOptions := make(map[string]docvalues.DocumentationValue, 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user