Sublime Forum

Is there a way to drag selected text?

#1

In many other editors one can select text with mouse and drag it to another place in code.
Can we do such a thing in Sublime?

Thanx in advance

0 Likes

#2

Yes, at least in the mac version, although with not much visual feedback.

0 Likes

#3

Unfortunately, in the win version I haven’t such a thing.

0 Likes

#4

[quote]Unfortunately, in the win version I haven’t such a thing.
[/quote]

Actually win version have this for quite a while now:

[quote]Build 2182
Release Date: 5 March 2012
OSX and Windows: Added text drag and drop[/quote]

Just make sure you have

"drag_text": true

in your config file

0 Likes

#5

Updating the program helps to solve this. Thanx!

I think this thread is not very useful for others, so I suppose it must be deleted.

0 Likes

#6

Hi

so, ver. 2.0.1 b 2217, “drag_text”: true, but dragging still does not work.
I’ve seen reports about it in couple of places here - I’m on 64bit Linux - is there any known workaround this problem, since I’d like to switch to sublime from NetBeans (don’t use all the features anyway), just being on hold due to drag selection thing :confused:

regards

0 Likes

#7

I’m having the same problem. It seems to be a bug, and might be specific to the Linux version. I’m running version 2.0.1, build 2217 on Ubuntu Linux.

0 Likes

#8

Text dragging is not currently supported under Linux

0 Likes

#9

@jps not that im using it but seems like it stopped working a few versions back. - OSX dev. 2220

0 Likes

#10

Are you sure? It works fine in OSX Nightly 2219 at least.

0 Likes

#11

as i said im using the mouse very rarely and im not sure when/how it stopped working.
tried Win portable dev.2220 and it’s working there.
not sure if a package can impact on the feature.

0 Likes

#12

Count me in for dragging support on Linux.

It’s true that many people (including me) don’t use mouse often, but when you do - you want to use the power of Drag’n’Drop :smile:

0 Likes