Development/IDE

From The Document Foundation Wiki
Jump to: navigation, search

Introduction

You can use several IDEs to work on LibreOffice. This page describes how to use them.

The script to generate these IDE projects is in bin/gbuild-to-ide. You are welcome to adopt the script to support more IDEs!

Im-jabber.svg

Note:
Before using an IDE you need to do a complete build from a terminal with the usual "./autogen.sh && make check".

KDevelop

make kdevelop-ide-integration

Then open one of the *.kdev4 projects with KDevelop.

The following video explains the KDevelop IDE Integration:

A shorter teaser version of this video (for sharing on social media etc.) is also available.

Qt Creator

make qtcreator-ide-integration

Microsoft Visual Studio

Im-jabber.svg

Note:
You need to build with --enable-debug in order to generate the Visual Studio IDE integration.

Im-jabber.svg

Note:
Some problems with some "make" versions have been reported, it would be great if somebody had time to investigate that and figure out how it can be avoided and add instructions here: http://nabble.documentfoundation.org/Error-building-Visual-Studio-2013-project-file-for-LibreOffice-on-Windows-tp4140307p4140941.html

For Visual Studio 2013:

make vs2013-ide-integration

For Visual Studio 2015:

make vs2015-ide-integration

Vim

make vim-ide-integration

This generates a clang compilation database that can be used for YouCompleteMe.

Eclipse CDT

Work has started to generate Eclipse CDT project files, but not yet finished. Feel free to continue this.

XCode

make xcode-ide-integration

Others

There are other IDEs like Netbeans and CLion. Feel free to add support for them to gbuild-to-ide.

Debugging

You can dump the parse result of the the gbuild-to-ide script with:

make debug-ide-integration