question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Code completion does not work for tables with names containing spaces

See original GitHub issue

System information:

  • Operating system (distribution) and version Ubuntu 20.04, Amazon Linux 2
  • DBeaver version 7.2.4
  • Additional extensions Git

Connection specification:

  • Database name and version Snowflake
  • Driver name Snowflake JDBC, Postgresql JDBC 42
  • Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you’re observing:

Code completion (using control+space) rarely works. Most of the time it shows a window “no proposals”. This occurs both with and without an alias. Occurs more frequently with quoted table names.

No errors appear in the error log. Not solved after refreshing the schema.

Steps to reproduce, if exist:

  1. Connect to a Postgresql or Snowflake database.
  2. Create a script.
  3. Start writing a query: Select t. from "<any table>" t
  4. Place the cursor after “t.”
  5. Press Control+Space

Expected behavior: a pop-up with column name, or an error message with the reason to absence of proposals. Current behavior: “no proposals” in the popup and no error messages.

Include any warning/errors/backtraces from the logs

None

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
LonwoLonwocommented, Jan 11, 2021

@tkorach The example helped, I was able to reproduce, thanks

0reactions
ShadelessFoxcommented, Apr 5, 2021

Fixed in the scope of #10858. Fell free to comment here if you still have any questions left.

Read more comments on GitHub >

github_iconTop Results From Across the Web

92015: Autocomplete Data Not Automatically Loading
Description: Autocomplete will load database names, but once a database is written in query, it will not show table names. Once a table...
Read more >
Code completion | IntelliJ IDEA Documentation - JetBrains
Suggests an alias for a table name when you use code completion ( Ctrl+Space ). Suggest alias names in completion after table names....
Read more >
15.10 - Using Code Completion - SQL Assistant - Docs Teradata
Using Code Completion SQL Assistant can provide suggestions for the object and built-in function names that can be used.
Read more >
Auto Completion ... is not always completing.. : DbVis Software
This topic is migrated from our old forums. The original author name has been removed] Hi ... Having weird issues with Auto Completion...
Read more >
SQL IntelliSense and Autocomplete in SSMS | Redgate
You can toggle between code completion and code suggestions by pressing CTRL+ATL+SPACE. SQL Prompt's ranked code completion suggestions do a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found