Bug 124070 - [FEATURE REQUEST] Code insertion in LibreOffice Writer
Summary: [FEATURE REQUEST] Code insertion in LibreOffice Writer
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-14 10:11 UTC by joel.grolimund
Modified: 2019-03-14 13:37 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description joel.grolimund 2019-03-14 10:11:00 UTC
Description:
I have to write a lot of code into LibreOffice Writer and I was thinking about a feature to insert code. The result would be a formatted code with colored keywords and line numbers at the beginning on each line.

Actual Results:
It does not have such a function or format.

Expected Results:
I would expect that such a feature would be implemented.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Julien Nabet 2019-03-14 10:57:35 UTC
I know that some editors (eg: Notepad++) do this but I expect more an IDE (eg: Eclipse) to do this instead of a word processor.
Colored keywords means LO should know how to parse code in different languages.
IMHO it would be more a bloating but I'm not UX specialist and may be wrong.
That's why I put needsUXEval

Xisco/Heiko: any thoughts here?
Comment 2 Heiko Tietze 2019-03-14 13:37:41 UTC
We closed similar requests as WF (see bug 86846). Code formatting is out of scope; copy/paste works pretty well at least from Visual Studio Code and Qt Creator (via direct formatting) but not with Kate.