{"html_url": "https://github.com/simonw/datasette/issues/949#issuecomment-1791571572", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/949", "id": 1791571572, "node_id": "IC_kwDOBm6k_c5qyTZ0", "user": {"value": 498744, "label": "mhkeller"}, "created_at": "2023-11-02T21:36:24Z", "updated_at": "2023-11-02T21:36:24Z", "author_association": "NONE", "body": "FWIW, code mirror 6 now has this standard although if you want table-specific suggestions, you'd have to handle parsing out which table the user is querying yourself.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 684961449, "label": "Try out CodeMirror SQL hints"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/949#issuecomment-1791911093", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/949", "id": 1791911093, "node_id": "IC_kwDOBm6k_c5qzmS1", "user": {"value": 9599, "label": "simonw"}, "created_at": "2023-11-03T05:28:09Z", "updated_at": "2023-11-03T05:28:58Z", "author_association": "OWNER", "body": "Datasette is using that now, see:\r\n- #1893", "reactions": "{\"total_count\": 1, \"+1\": 1, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 684961449, "label": "Try out CodeMirror SQL hints"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/949#issuecomment-679363710", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/949", "id": 679363710, "node_id": "MDEyOklzc3VlQ29tbWVudDY3OTM2MzcxMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-08-24T21:00:43Z", "updated_at": "2020-08-24T21:00:43Z", "author_association": "OWNER", "body": "I think this requires three extra files from https://github.com/codemirror/CodeMirror/tree/5.57.0/addon/hint\r\n\r\n- `show-hint.css`\r\n- `show-hint.js`\r\n- `sql-hint.js`\r\n\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 684961449, "label": "Try out CodeMirror SQL hints"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/949#issuecomment-679367931", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/949", "id": 679367931, "node_id": "MDEyOklzc3VlQ29tbWVudDY3OTM2NzkzMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-08-24T21:09:50Z", "updated_at": "2020-08-24T21:09:50Z", "author_association": "OWNER", "body": "I'm attracted to this because of how good GraphiQL is for auto-completing queries. But I realize there's a problem here: GraphQL is designed to be autocomplete-friendly, but SQL is not. If you type `select ` and it doesn't know what's going in the `from` clause it can't give you good column autocomplete, for example.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 684961449, "label": "Try out CodeMirror SQL hints"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/949#issuecomment-720021029", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/949", "id": 720021029, "node_id": "MDEyOklzc3VlQ29tbWVudDcyMDAyMTAyOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-11-01T03:29:48Z", "updated_at": "2020-11-01T03:29:48Z", "author_association": "OWNER", "body": "I'm not going to do any more work on this - SQL isn't an auto-complete friendly enough language.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 684961449, "label": "Try out CodeMirror SQL hints"}, "performed_via_github_app": null}