▲ | ltbarcly3 21 hours ago | |||||||
In that case you are just objectively incorrect, you can build a far, far more efficient autocomplete in the standard query order. I will guess something like half as many keystrokes to type the same select and from clauses. You are imagining a very niave autocomplete that can only guess columns after it knows the tables, but in reality you can guess most of the columns, including the first one, the tables, and the aliases. Names in dbs are incredibly sparse, and duplicate names don't make autocomplete less effective. If you are right about why they did it its even dumber than my reason, they are changing a language grammar to let them make a much worse solution to the same problem. | ||||||||
▲ | whstl 10 hours ago | parent | next [-] | |||||||
An autocomplete that shows only the column names of the desired table BEFORE the from clause is typed by the user would require a time machine. Sure you can do something that is close enough, but the LINQ authors were looking for precision in the autocompletion and for the LINQ query to have the same ordering as expression syntax. The goals of this syntax are very precise and people seem to like it. Once again: calling it dumb is uncalled for. | ||||||||
| ||||||||
▲ | pests 10 hours ago | parent | prev [-] | |||||||
I don’t want to type any column names. When you start with FROM the only autocomplete suggestions available are the columns from the specific table, not the entire database. How many columns do I need to type before you can single down a single table? What if you have multiple tables with the same column names? | ||||||||
|