by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Luke deGruchy
    @lukedegruchy
    I'll keep that in mind next time. Is this a known issue?
    Bert Jacobs
    @albertdev
    As for your issue: I don't know about it as I don't know who is running CentOS. It does sound like it could be an OS thing though. Does it also happen when you disable Vrapper? Is the caret completely gone or did it change back to a vertical line?
    Luke deGruchy
    @lukedegruchy
    I haven't been able to reproduce this after disabling vrapper (specifically, by clicking the vrapper button in the task bar)
    I always see the vertical line. It's just the blinking cursor that's missing.
    Again, toggling to/from insert mode seems to resolve it
    toggling visual mode does not
    Bert Jacobs
    @albertdev
    I meant if Vrapper is disabled in all Eclipse windows, does alt-tabbing also hide the cursor?
    One thing I do know about but which might not be documentend in a public Github issue is that Vrapper might indeed lose track of the shape of cursor when switching between modes which normally use the same shape of cursor.
    Luke deGruchy
    @lukedegruchy
    Now that I've disabled it in both windows by clicking the vim icon in both windows, I see the same behaviour. This is the first time I've noticed this.
    Bert Jacobs
    @albertdev
    If it happens in other windows as well (e.g. Mousepad, Geany, Kate or some other editor) then it might be something in your OS or display manager. I seem to remember I once had that happen on some Linux distribution.
    Sorry that I can't be more specific.
    Luke deGruchy
    @lukedegruchy
    It's possibly an OS issue
    Bert Jacobs
    @albertdev
    What desktop environment are you running? Something GNOME-based or KDE?
    Luke deGruchy
    @lukedegruchy
    Cinamon
    I've force Eclipse to use GTK2 via eclipse.ini
    cinnamon
    it's in dark mode, though I'm not sure if that's relevant
    tried launching it without the GTK2 option though it could take several minutes before the bug remanifests itself
    Bert Jacobs
    @albertdev
    Just to confirm: the blinking cursor is completely gone? Because there's a difference between being gone and changing from a blinking rectangle to a blinking vertical line.
    Luke deGruchy
    @lukedegruchy
    the blinking cursor is gone , as opposed to replaced by a blinking vertical line
    one thing I've noticed is that when the window in the second monitor is de-selected it shows with a selected line and no cursor
    Bert Jacobs
    @albertdev
    The faint background color is an Eclipse thing, the blinking cursor on the other hand might be hidden by GTK.
    Luke deGruchy
    @lukedegruchy
    as we've chatting I'm running without the GTK2 eclipse.ini switch and so far I can't reproduce the issue
    Roger Guldbrandsen
    @kinbiko
    Hi, I've got a firewall blocking the eclipse update manager, is there a way to install Vrapper manually?
    Bert Jacobs
    @albertdev
    @kinbiko Did you find our file-based releases on https://sourceforge.net/projects/vrapper/files/vrapper/ yet?
    pedrosans
    @pedrosans
    Hi Bert, I played with eclipse-motion-textobjects experimental branch for a while. It's looking pretty good
    Even navigating between variables in Eclipse's refectory mode (when it highlights all variables in the file with a box) using TAB puts Vrapper in visual or select mode
    Tested CTRL+O, CTRL+. CTRL+, - all working fine
    The only thing, if you entered in Eclipse's rename/refactoring mode, exiting it will place the cursor in the variable it where when the refactoring started
    Bert Jacobs
    @albertdev
    It's been a while since I've used that prototype. Is it that far off to place it where you started? What does Eclipse do out of the box?
    Bert Jacobs
    @albertdev
    @pedrosans Any more news?
    pedrosans
    @pedrosans
    Hi Bert, not far, I rebased it on master and the merge was really simple. I want to change SelectionVisualHandler to always enter in visual mode rather than select mode when Eclipse selects a text while Vrapper is in insert mode. For me it would be a more natural behavior
    Bert Jacobs
    @albertdev
    @pedrosans You can always experiment of course, though the final version should really have an option somewhere. I like select mode in those rare cases where Eclipse selects / highlights a piece of text where it's obvious that you immediately want to type over it, like renaming a variable.
    Select mode also has the advantage that it is easy to exit (just press a key), whereas Visual mode requires Escape and has extra steps like saving the current selection offsets or resetting the caret offset to one appropriate for Normal mode. This was important for my early tests as the current SelectionVisualHandler can very rarely get in a state where it fails to notice that the editor no longer has a selection, hence crashing Vrapper when it tries to run all the exit code in Visual mode.
    Luke deGruchy
    @lukedegruchy
    re: #789 789: while the suggested fix works on Linux, it does not work on macOS
    I tried this, but Eclipse doesn't seem to respect the setting unlike other macOS apps: https://apple.stackexchange.com/questions/16135/remap-home-and-end-to-beginning-and-end-of-line
    I can bind begin of line and end of line to home and end in Eclipse settings but then I still get the visual mode bug
    so should I file a separate bug for this for only macOS?
    Luke deGruchy
    @lukedegruchy
    I found a workaround using BetterTouchTool
    mathias gibble
    @mathias_gibble_twitter
    does anyone know if it is possible to install vrapper in DBeaver?
    Bert Jacobs
    @albertdev
    @mathias_gibble_twitter Interesting question.
    I used to run DBeaver 3.4.5 which was a custom Eclipse RCP app which didn't allow installing any plugins.
    I've just downloaded DBeaver 4.1.3 (Community Edition) which now seems to run a customized Eclipse Workbench. The Help menu features an Install New Software item which is actually the Eclipse Plugin Installer.
    Bert Jacobs
    @albertdev
    • If you go to our homepage (http://vrapper.sourceforge.net/home/) you can find the URL to our update site.
    • If you go back to DBeaver and click the Install New Software menu item, you can then paste this URL in the "Work with:" selection box.
    • A second later you should see the Vrapper items.
    • Select everything you want (except the Optional Programming language plugins) and click Next.
    • Follow the wizard, and now the SQL editor should run Vrapper!
    Bert Jacobs
    @albertdev
    @mathias_gibble_twitter One final remark: Vrapper works, but it took me half an hour to find that Alt + F6 switches focus between the Results and the SQL editor (they call it Switch active panel in the Keys preferences), binding <kbd>Esc</kbd> to Activate Editor like I usually do is not enough.
    Bert Jacobs
    @albertdev
    @keforbes About that StackOverflowError: I'm going to try making an alternative fix for the evil caret code which detects if it's running reentrant or not.
    When not, it can shift the caret like it used to, but if it is it should simply call super.sameAsOverridenMethod() as quickly as possible.
    The code won't become pretty (I expect a bunch of duplication of the reentrancy checking code) but in theory it should work with every version of Eclipse SWT.
    keforbes
    @keforbes
    thanks @albertdev, whatever solution you can come up with would be great
    I'm still leaving everything in the unstable build right now so we can keep playing with the solution if we need to