Bug 377538 - Create a new file from selection
Summary: Create a new file from selection
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 16.08
Platform: unspecified All
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: junior-jobs, triaged
Depends on:
Blocks:
 
Reported: 2017-03-12 20:20 UTC by Victor Porton
Modified: 2018-10-28 03:41 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Porton 2017-03-12 20:20:50 UTC
Please add "Create a new file from selection" menu item.

An additional useful feature would be to immediately save this new file to a (configurable) directory under a configurable name dependent on the original file name. For example: editing file Ring.pm I want to create the file /home/porton/t/Ring-extract.pm where /home/porton/t/ is a configurable directory and the file name is determined by the option %s-extract somewhere in preferences.
Comment 1 Sujith Shivaprakash 2017-07-15 20:49:13 UTC
(In reply to Victor Porton from comment #0)
> Please add "Create a new file from selection" menu item.
> 
> An additional useful feature would be to immediately save this new file to a
> (configurable) directory under a configurable name dependent on the original
> file name. For example: editing file Ring.pm I want to create the file
> /home/porton/t/Ring-extract.pm where /home/porton/t/ is a configurable
> directory and the file name is determined by the option %s-extract somewhere
> in preferences.

Hello , I am new to KDE and currently using a Windows machine, I would like contribute to KDE through fixing bugs and adding features, can you please walk me through some steps initially on solving this issue ? I would like to know where I can get access to the source code and how to commit my code. Not sure where to start from.

Thanks
Sujith
Comment 2 Christoph Cullmann 2017-07-16 12:19:04 UTC
Hi,

help is always welcome.

If you work on Windows, we have the landing page:

https://community.kde.org/Windows

=> Interesting there might be for start:

https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Windows
Comment 3 Lex Dem 2017-10-31 07:36:25 UTC
Hello, Victor

I think, this is a neat feature, but it isn't so clear, which job is supposed to perform your request. Did you know, that you can create the new files from selection with dragging?(https://phabricator.kde.org/D8300#158379)
Also, there already exists snippets plugin in the standard set of kate plugins. 
Moreover, you could accomplish your tasks using the standard Kate Scripting API (https://phabricator.kde.org/D8300#161302)
Please, specify some more information about this feature, if you want it implememted by us :)
Comment 4 Christoph Cullmann 2017-10-31 11:49:02 UTC
Thanks for the question, will set bug status according like requested in https://phabricator.kde.org/T7382
Comment 5 Alexander Zhigalin 2017-10-31 12:12:59 UTC
(In reply to Christoph Cullmann from comment #4)
> Thanks for the question, will set bug status according like requested in
> https://phabricator.kde.org/T7382

> You Shall Not Pass: Restricted Maniphest Task
Comment 6 Christoph Cullmann 2017-10-31 13:33:13 UTC
Sorry, the link to the ticket was just ment for Lex ;=)
Just ignore that.
Comment 7 Andrew Crouthamel 2018-09-28 02:25:53 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Andrew Crouthamel 2018-10-28 03:41:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!