How to quickly copy current filename?

Aleksey Midenkov midenok at gmail.com
Fri Nov 28 18:15:51 GMT 2014


Among the others, Copy from project tree does not do what is expected,
but copies URL. Using URLs in Unix is like using XML for config files
-- non-human friendly, just absurd! Besides, it doesn't compatible
with GDB and GNU fileutils.

And as I said -- it is not instant access. About that shortcut "CTRL +
<", does it open project tab? Because if it doesn't work with project
tab closed, then it is unusable!

Clutter what? Context menu on tab is too meager. In fact, many places
in KDevelop is meager on UI. Four options can result in 2 menu
entries: with Shift or not.

P.S. I just think why I stick to KDevelop? With v3 pro against Eclipse
was lightweight. Now it is heavyweight and slow and in fact doesn't do
much additional value. But additionally buggy, ugly, clumsy and
inconvenient. So, no real reason to not switch to Eclipse...

On Fri, Nov 28, 2014 at 4:03 PM, Shervin Emami <shervin.emami at gmail.com> wrote:
> That sounds like a useful feature! (A "More Actions" menu that shows the
> whole list from the project menu). I actually need to find the full filename
> quite often (roughly 5 times per day) but I'm still using KDevelop 4.3.1 (on
> Debian Wheezy KDE) so I don't even see a "Copy" item in my Project Explorer
> file menu. To get the full filename I usually click File -> Open then copy
> the path somewhere then go back to KDevelop and copy the rest of the
> filename. So I'd be quite happy with a "Copy" command that is in both the
> Project Explorer and the tab "More Actions" entry :-)
>
>
> Cheers,
> Shervin Emami.
> http://www.shervinemami.info/
>
>
> On Fri, Nov 28, 2014 at 4:20 AM, Kevin Funk <kfunk at kde.org> wrote:
>>
>> On Friday 28 November 2014 12:08:14 Milian Wolff wrote:
>> > On Friday 28 November 2014 12:07:36 Milian Wolff wrote:
>> > > On Friday 28 November 2014 14:02:08 Aleksey Midenkov wrote:
>> > > > On Fri, Nov 28, 2014 at 12:38 PM, Kevin Funk <kfunk at kde.org> wrote:
>> > > > > On Friday 28 November 2014 12:14:31 Aleksey Midenkov wrote:
>> > > > >> Suggestion: context menu on tab entry -> "Copy name", "Copy full
>> > > > >> name", "Copy path", "Copy full path".
>> > > > >
>> > > > > In the project tree view:
>> > > > > - Right click in the file, select 'Copy'
>> > > >
>> > > > It's not so quick. It requires a lot of things:
>> > > >
>> > > > 1. switch to Projects
>> > > > 2. Locate current file
>> > > > 3. Copy
>> > > > 4. switch back to where you were
>> > > >
>> > > > > Patches welcome for adding the context menu entry!
>> > > >
>> > > > Thanks! I will post a feature request for the best times when I will
>> > > > have
>> > > > time.
>> > >
>> > > There is a shortcut that you can use to locate the current file in the
>> > > project toolview. I have it defined to "CTRL + <". Do we really need
>> > > to
>> > > clutter our context menu more, esp. with _four_ actions? I don't think
>> > > so.
>> > > How often do you need the full path? I never needed that, so -1 from
>> > > my
>> > > side.
>> >
>> > And btw, you could also create an "external script" in KDevelop, which
>> > passes the full path of the current document to e.g. xclip. So really,
>> > please don't add another context menu.
>>
>> Well, that's non-obvious for newcomers.
>>
>> > Bye
>>
>> Another idea I had in mind some time already: Let's just show the context
>> menu
>> of project tree view items in the tab context menu as well. I.e. "RMB on
>> tab"
>> -> More Actions. (Note that there are people not having the project tree
>> view
>> open by default)
>>
>> Example use-case: One might want to rename the current document, and you
>> could
>> do so by doing RMB on tab -> More Actions -> Rename.
>>
>> This would also cover the issue of Aleksey here.
>>
>> Opinions?
>>
>> --
>> Kevin Funk | kfunk at kde.org | http://kfunk.org
>> _______________________________________________
>> KDevelop mailing list
>> KDevelop at kde.org
>> https://mail.kde.org/mailman/listinfo/kdevelop
>
>
>
> _______________________________________________
> KDevelop mailing list
> KDevelop at kde.org
> https://mail.kde.org/mailman/listinfo/kdevelop
>



More information about the KDevelop mailing list