### Godot version

4.2 rc2

### System information

Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; 30.0.15.1403) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)

### Issue description


https://github.com/godotengine/godot/assets/2223172/2c1829fa-1dd7-4f5b-b04a-f557ace35b5e

You can either see autocompletion or argument list. It's especially annoying when using e.g. `Input.get_vector()` method which has multiple arguments difficult to remember.

### Steps to reproduce

1. Write `Input.get_vector(`
2. Remove `(`
3. Add `(`

### Minimal reproduction project

N/A
while (ofs > 0 && line[ofs] == ' ') {
			ofs--;
		}
		prev_is_word = !is_symbol(line[ofs]);
		
	} else {
		int start_cofs = cofs;
		while (cofs > 0 && line[cofs - 1] > 32 && (line[cofs - 1] == '/' || !is_symbol(line[cofs - 1]))) {
			cofs--;
		}
		string_to_complete = line.substr(cofs, start_cofs - cofs);
	}
	
	
	bool prev_is_prefix = false;
	if (cofs > 0 && code_completion_prefixes.has(line[cofs - 1])) {
		prev_is_prefix = true;
	} else if (cofs > 1 && line[cofs - 1] == ' ' && code_completion_prefixes.has(line[cofs - 2])) {
		prev_is_prefix = true;
	}
	if (!prev_is_word && string_to_complete.is_empty() && (cofs == 0 || !prev_is_prefix)) {
		cancel_code_completion();
		return;
	}
	
	
	bool single_quote = in_string != -1 && first_quote_col > 0 && delimiters[in_string].start_key == "'";
	Vector<ScriptLanguage::CodeCompletionOption> code_completion_options_new;
	code_completion_base = string_to_complete;