#1067 Ctrl+Space not enable

3.4.0
open
nobody
5
2017-08-02
2013-01-10
cociredef
No

Good morning,

I'm using:
- squirrel sql client 3.40
- with ibm db2 driver.
- in Windows 7 Professional

Unfortunately the functionality CTRL + SPACE does not work.

Instead using WinXP client with 3.2.2 everything works.

Why is that?
There are parameters to be included?

thanks

federico from Italy

Discussion

  • Gerd Wagner

    Gerd Wagner - 2013-01-10

    Please have a look at menu Plugins --> Summary and see if the code completion Plugin is loaded.
    If it is try a new install.
    This is not a general problem with Version 3.4. I'm pretty sure it must depend on some condition of your environment.

     
  • paulinik

    paulinik - 2013-03-06

    I have the same problem when using Squirrel 3.4.0 with two different Oracle DBs. Squirrel is running on WinXP 32-bit and Win7 x64 respectively. Ctrl-Space seems to have no effect at all.

    I also use Squirrel 3.4.0 with a MS SQL Server database on Win7 x64. Here Ctrl-Space works like a charm.

     
  • directrix

    directrix - 2015-04-02

    It looks like it could be an issue for Windows to send the Ctrl+Space key sequence to SQuirreL.

    I'm using Windows 7 with SQuirreL 3.6, which Ctrl-Space works most of the time. However, sometimes after I used RDP / Citrix to connect (which reset the Windows theme to Classic), SQuirreL will no longer accept Ctrl+Space for code completion. However, code completion actually works if I right-click and choose code complete from the pop-up menu. The only way for me to get Ctrl+Space working again is by re-booting, which is a pain.

    To get around this, is there a way to trigger code completion other than Ctrl+Space? Is is possible to configure the plug-in to use something like F12 instead of Ctrl+Space?

     
  • Ahmet Yildirim

    Ahmet Yildirim - 2017-08-02

    My workaround for this was updating the shortcut key for code completion plugin.
    You can follow the steps to change CTRL + SPACE with your preferred value.
    Prior to these steps, please get a backup of your plugins folder under your squirrel installation path and proceed with your own risk!
    1-)Install 7-zip or maybe another archive app like winrar might work. Not sure :)
    2-)Close SQuirrel application.
    3-)Open 7-Zip. Go to your installation folder by browsing in 7-Zip to find code complete plugin jar. (it should be under somewhere like this C:\Program Files (x86)\squirrel-sql-3.7.1\plugins\codecompletion.jar)
    4-)Find the Resources.properties file inside the jar package \net\sourceforge\squirrel_sql\plugins\codecompletion\Resources.properties
    5-)Extract the "Resources.properties" file in the archive to a folder in your pc.
    6-)Delete the "Resources.properties" file in the jar archive.
    7-)Open the extracted "Resources.properties" file with a text editor.
    8-)In the file, find the key storing the current value (control SPACE). The key should be "menuitem.net.sourceforge.squirrel_sql.plugins.codecompletion.CompleteCodeAction.accelerator=control SPACE"
    9-)Change "control SPACE" value with anything you like. I made "control B" for mine.
    10-)Save the file in the text editor.
    11-)Drag the saved "Resources.properties" file into the exact place (\net\sourceforge\squirrel_sql\plugins\codecompletion) in the jar archive with 7-Zip.
    12-)Ensure that "Resources.properties" file is added to jar archive.
    13-)Close the 7-Zip.
    14-)Open SQuirrel sql client. Now you will be able to use code complete with your shortcut.

    Also please check the attached screenshots.

    At least this worked for me in Windows 7 x64 with Squirrel 3.7.1

    Hope this helps

     

Log in to post a comment.