lite-xl icon indicating copy to clipboard operation
lite-xl copied to clipboard

Open file from explorer in new tab

Open ekkl opened this issue 3 years ago • 6 comments
trafficstars

I need to open files in new tab (by clicks from explorer) but not in new window. To not create a new window, but open in an existing one How can I make this?

ekkl avatar Jan 30 '22 15:01 ekkl

Install dragdropselected plugin from HTTPS://github.com/lite-xl/lite-xl-plugins and drap and drop your file on the lite-xl window

dheison0 avatar Jan 30 '22 15:01 dheison0

How make it? Peek 2022-01-30 18-52

ekkl avatar Jan 30 '22 16:01 ekkl

This still doesn't work, the dragdropselected plugin only provides basic support for opening files from outside of lite-xl

issue

dheison0 avatar Jan 30 '22 17:01 dheison0

Thanks, but then it won't help me much. I want to use lite-xl as a replacement for the internal Defold editor.

ekkl avatar Jan 30 '22 17:01 ekkl

I need to open files in new tab (by clicks from explorer) but not in new window. To not create a new window, but open in an existing one How can I make this?

We sadly don't support this yet, but I think this is something we should have. The problem with implementing this is that it needs inter-process communication and doing that in a simple, cross-platform way might be more difficult than expected.

This still doesn't work, the dragdropselected plugin only provides basic support for opening files from outside of lite-xl

Just to clarify, the dragdropselected plugin only adds support for dragging selections around in a text, not dragging things from/to the editor.

We support dropping files by default, without needing any plugin.

Guldoman avatar Jan 30 '22 17:01 Guldoman

Just to clarify, the dragdropselected plugin only adds support for dragging selections around in a text, not dragging things from/to the editor.

Ok, sorry for my error.

dheison0 avatar Jan 30 '22 18:01 dheison0

The ipc plugin that can be found in the plugins repo implements this.

Guldoman avatar Nov 14 '22 08:11 Guldoman