Ask Your Question
0

Has any thought been given to including a text editor (so developers don't have to install a separate code editor) as an option to the LibreOffice Suite?

asked 2019-06-30 18:35:36 +0200

fman_29 gravatar image

updated 2019-07-01 07:09:22 +0200

Hello. I was wondering if any thought had been given to including a text editor like Atom either as one of the default programs or as an option to LibreOffice Suite? That would give developers and programmers a venue to produce and edit their code without having to install yet another program.

I know that will be a major undertaking but I know I, for one, would be very appreciative of the effort.

Updated: I was actually thinking more along the lines of being able to save code rather than a focus on highlighting. And, yes, I am familiar with other text editors like VIM, Atom, et al was just curious if it could be included here to preclude the need to download, install, and run yet another program.

Again, Just a thought.

Thanks, fman_29

edit retag flag offensive close merge delete

Comments

Can't see this ever being done. Plenty of editors already available usually included with OS. For years coding Python/Basic for LO to me this was never a concern.

Ratslinger gravatar imageRatslinger ( 2019-06-30 18:49:11 +0200 )edit

Could you explain what kindof use case you have in mind? Writer goal is to heavily format text in proportional fonts while text editors used fixed-width fonts with no "embellishments" (bold, italics, size variations, ...) at all. I know some text editors offer syntax highlighting but this is not saved in the file and must be recomputed at reload.

When the need arises, I copy'n'paste from the text editor into a paragraph styled Source Text. Personally, I don't use an isolated text editor but an IDE (integrated development environment) which is enriched with many tools (configuration, source management, resource control, debugging, etc.).

ajlittoz gravatar imageajlittoz ( 2019-06-30 20:52:11 +0200 )edit

@ajlittoz,

From what I see this is directed more toward code highlighting (coloring) for keywords etc. Such is already in editors such as Pluma or Kate.

Ratslinger gravatar imageRatslinger ( 2019-06-30 21:22:36 +0200 )edit

It would be an insane waste of manpower.

Each of us working on LibreOffice code knows very well what a good code editor is; each has own favorite editor/IDE - vim; emacs; VSCode; Eclipse; Visual Studio; KDevelop; ... - we know that it's not just about writing text; it's about code highlighting/completion/syntax check/working with other project files (e.g., correctly parsing includes)/integration with other tools (like git, or gdb, or ....) etc - for multitude of programming languages. And trying to come with something in that line wouldn't have anything in LibreOffice codebase suitable for the task: e.g., Writer code can't be used as a basis for it, targeting rich formatting and pagination, and not easily converted to that kind of task. Even when we use Web View in Writer, we fake the "infinite" text flow with just a huge 10-meters long page.

That is ...(more)

Mike Kaganski gravatar imageMike Kaganski ( 2019-07-01 04:28:17 +0200 )edit
1

@Mike Kaganski: I fully back your point of view. Primary goal of LO is rich text layout. Code inserted in a document will be commented or is used as an illustration for an argument. In principle, it is a short excerpt and manually mimicking text editor syntax highlighting is not that hard with the help of carefully chosen character styles.

ajlittoz gravatar imageajlittoz ( 2019-07-01 07:45:20 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2019-07-01 00:04:49 +0200

m.a.riosv gravatar image

Maybe the extension Code highighter, can help.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-06-30 18:35:36 +0200

Seen: 61 times

Last updated: Jul 01