chore: Remove println

This commit is contained in:
Myzel394 2024-10-03 17:26:52 +02:00
parent 683be36a03
commit df9f164a26
No known key found for this signature in database
GPG Key ID: DEC4AAB876F73185
4 changed files with 0 additions and 7 deletions

View File

@ -176,7 +176,6 @@ func (v ArrayValue) getCurrentValue(line string, cursor uint32) (string, uint32)
func (v ArrayValue) DeprecatedFetchCompletions(line string, cursor uint32) []protocol.CompletionItem { func (v ArrayValue) DeprecatedFetchCompletions(line string, cursor uint32) []protocol.CompletionItem {
value, cursor := v.getCurrentValue(line, cursor) value, cursor := v.getCurrentValue(line, cursor)
println("after array", value, cursor)
return v.SubValue.DeprecatedFetchCompletions(value, cursor) return v.SubValue.DeprecatedFetchCompletions(value, cursor)
} }

View File

@ -96,7 +96,6 @@ func GetAliasValueHoverInfo(
func GetAliasValueTypeInfo( func GetAliasValueTypeInfo(
value ast.AliasValueInterface, value ast.AliasValueInterface,
) []string { ) []string {
println(fmt.Sprintf("value: %v, value type: %T", value, value))
switch value.(type) { switch value.(type) {
case ast.AliasValueUser: case ast.AliasValueUser:
return []string{ return []string{

View File

@ -97,8 +97,6 @@ func (args codeActionAddToUnknownArgs) RunCommand(d *sshconfig.SSHDocument) (*pr
} }
rawOptionName := option.Key.Value.Raw rawOptionName := option.Key.Value.Raw
println("rawOption:")
println(rawOptionName)
optionName := addToUnknownOptionTemplate.Format(formatting.DefaultFormattingOptions, rawOptionName) optionName := addToUnknownOptionTemplate.Format(formatting.DefaultFormattingOptions, rawOptionName)
// We got everything, let's build the edit! // We got everything, let's build the edit!

View File

@ -7,7 +7,6 @@ import (
"config-lsp/handlers/sshd_config/ast" "config-lsp/handlers/sshd_config/ast"
"config-lsp/handlers/sshd_config/fields" "config-lsp/handlers/sshd_config/fields"
"config-lsp/utils" "config-lsp/utils"
"fmt"
protocol "github.com/tliron/glsp/protocol_3_16" protocol "github.com/tliron/glsp/protocol_3_16"
) )
@ -17,8 +16,6 @@ func GetRootCompletions(
parentMatchBlock *ast.SSHDMatchBlock, parentMatchBlock *ast.SSHDMatchBlock,
suggestValue bool, suggestValue bool,
) ([]protocol.CompletionItem, error) { ) ([]protocol.CompletionItem, error) {
println("getting root completions and the parnet Match block eta:")
println(fmt.Sprintf("%v", parentMatchBlock))
kind := protocol.CompletionItemKindField kind := protocol.CompletionItemKindField
availableOptions := make(map[string]docvalues.DocumentationValue, 0) availableOptions := make(map[string]docvalues.DocumentationValue, 0)