You are not logged in.
Hi there, I can't configure multiple cursors in Code OSS, my enviornment is Openbox. I think there is some conflict with drag-window short cut, and I tried to change this configuration in my rc.xml file to do it with Ctrl + lefmouse, instead of Alt + leftmouse, but didn work, this is my rc.xml <mousebind>.
<mousebind button="A-Left" action="Press">
<action name="Focus"/>
<action name="Raise"/>
</mousebind>
<mousebind button="A-Left" action="Click">
<action name="Unshade"/>
</mousebind>
<!-- DRAG CTRL + LEFT RATO ( foi alterado Alt + Left )-->
<mousebind button="A-Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="A-Right" action="Press">
<action name="Focus"/>
<action name="Raise"/>
<action name="Unshade"/>
</mousebind>
<mousebind button="A-Right" action="Drag">
<action name="Resize"/>
</mousebind>
<mousebind button="A-Middle" action="Press">
<action name="Lower"/>
<action name="FocusToBottom"/>
<action name="Unfocus"/>
</mousebind>
<mousebind button="A-Up" action="Click">
<action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind button="A-Down" action="Click">
<action name="GoToDesktop">
<to>next</to>
</action>
</mousebind>
<mousebind button="C-A-Up" action="Click">
<action name="GoToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind button="C-A-Down" action="Click">
<action name="GoToDesktop">
<to>next</to>
</action>
</mousebind>
<mousebind button="A-S-Up" action="Click">
<action name="SendToDesktop">
<to>previous</to>
</action>
</mousebind>
<mousebind button="A-S-Down" action="Click">
<action name="SendToDesktop">
<to>next</to>
</action>
</mousebind>
</context>
<context name="Titlebar">
<mousebind button="Left" action="Drag">
<action name="Move"/>
</mousebind>
<mousebind button="Left" action="DoubleClick">
<action name="ToggleMaximize"/>
</mousebind>And I tried to change the configurations in the Code OSS as well, changing the keys for multiple cursors but also didn't work.
I'm not sure if is missing any package in my system that could fix it...
Thanks.
Last edited by Gabriel-Costa (2019-07-12 07:05:11)
Offline
are you using https://www.archlinux.org/packages/comm … 6_64/code/ or one of the AUR packages mentioned on https://wiki.archlinux.org/index.php/Visual_Studio_Code ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I'm using https://www.archlinux.org/packages/comm … 6_64/code/, from official Arch Linux repos.
Offline
Ok, mousecursors and other visual settings are usually set through themes .
Are you running pure openbox or a Desktop environment that uses openbox as window manager (lxqt & lxde are 2 examples of that) ?
If pure openbox, obconf is usually the best choice to configure visual stuff, but there are other options.
See https://wiki.archlinux.org/index.php/Openbox#Themes
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Ok, mousecursors and other visual settings are usually set through themes .[...]
He's talking about the multiple cursor feature in the VSCode text editor. If you don't know what "multiple cursor" is about, here's an animation I found showing the feature:
Offline
If pure openbox, obconf is usually the best choice to configure visual stuff, but there are other options.
See https://wiki.archlinux.org/index.php/Openbox#Themes
Yes, I'm using pure openbox, and I have looked to obconf as you suggested, and I couldn't find nothing.
And I saw the link https://wiki.archlinux.org/index.php/Openbox#Themes, I haven't found any information related to that, or at least I don't understand if any of those informations could help me on that.
Offline
Thanks to Ropid I realised I misunderstood what Gabriel-Costa means with "multiple cursors" in the CODE editor.
It appears to be a multiline selection selection mode that allows moving the cursor simultaneously on multiple lines.
Gabriel-Costa , in Code editor selection menu there's an option "Switch to ctrl+click for Multi-Cursor" .
Does multi-cursor work if you use that option ?
Last edited by Lone_Wolf (2019-07-11 17:20:31)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Lone_Wolf, yes that did the trick, clicking in option selection > "Switch to ctrl+click for Multi-Cursor".
So I was play a little with this to understand how this works and I realize that this can be done in two diferent ways, the first one is has Lone_Wolf said, and the second is doing the configuration manually in file ".config/Code - OSS/User/settings.json", by adding this line to your JSON data,
"editor.multiCursorModifier": "ctrlCmd", actually this what you are doing when clicking the option "Switch to ctrl+click for Multi-Cursor".
These informations can be found at:
https://code.visualstudio.com/docs/editor/codebasics
https://code.visualstudio.com/docs/getstarted/settings
Lone_Wolf and Ropid thank you for you time helped a lot.
Offline