Timeline for Why Does Auto-Completion Returns Commands that Don't Work?
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 4, 2022 at 3:59 | vote | accept | Lonnie Best | ||
Aug 3, 2022 at 12:22 | answer | added | frippe | timeline score: 3 | |
Aug 3, 2022 at 10:51 | comment | added | Lonnie Best | @Rich : Me too. | |
Aug 3, 2022 at 10:48 | comment | added | Rich | @frippe Your comments look like an answer to me! You should post them as one so I can upvote it. | |
Aug 3, 2022 at 9:40 | comment | added | Lonnie Best | @frippe : Thanks for explaining that. It makes more sense to me now. It is indeed more like I'd expect than I thought. | |
Aug 3, 2022 at 9:29 | comment | added | frippe |
No, the suggestions are valid commands that can be inserted at that point (i.e., at the beginning of a command). A command may or may not require additional arguments, but it still makes sense to include them as suggestions if they do. As for commands that don't make sense, take :sNext for instance. It's pretty useless if there isn't anything in the argument list, but it's still a valid command and won't crash if there isn't; it just won't do anything. It seems like you've misunderstood something here, because it works like you explain/expect.
|
|
Aug 3, 2022 at 9:10 | comment | added | Lonnie Best | I was hoping this worked more like what you'd see in the console of a web browser. There, it only auto-completes stuff that you can actually do. So, each of those entries listed must be preceded or succeeded by something else before they'll work? @frippe | |
Aug 3, 2022 at 9:01 | comment | added | frippe | They are valid commands, although not all of them may make sense to run. In all places I can think of, commands suggested by autocompletion aren't filtered based on whether the effect of the command makes sense or not, but only if it's usable from/in the current context. | |
S Aug 3, 2022 at 8:49 | review | First questions | |||
Aug 3, 2022 at 13:04 | |||||
S Aug 3, 2022 at 8:49 | history | asked | Lonnie Best | CC BY-SA 4.0 |