About LSB Eclipse Plugin

From ISP_RAS
Jump to: navigation, search

The org.linuxfoundation.cdt.lsb plug-in is intended to facilitate development of portable C/C++ applications for the Linux platform by integrating the LSB tools into the Eclipse IDE. It enables smooth using the LSB SDK for building C/C++ applications within the Eclipse IDE along with "at hand" checking the applications with the Linux Application Checker. Furthermore, the plug-in provides "one click" way to show the documentation and other information for the given functions, types or constants about LSB status and presence in distributions using the LSB Database Navigator.

Start using LSB Eclipse Plugin

To install the latest version of LSB Eclipse Plugin, please refer to this page. Information about the LSB Eclipse Plugin sources is here.

Release notes are available at Release Notes Page.

Please read LSB Eclipse Plugin Getting Started for an overview of this plug-in.

Key Features

The key features of the LSB Eclipse Plugin:

  1. Integration of the LSB SDK tools that allow building LSB-compliant applications:
    • Adds the following Eclipse project templates to use LSB toolchain instead of the standard GCC toolchain that uses lsbcc/lsbc++ compilers from LSB SDK package:
      • Executable program (C/C++),
      • Shared Library (C/C++),
      • Static Library (C/C++).
    • Support for the multiversioned LSB SDK tools.
    • Support for using non-system Shared Libraries for LSB progams.
  2. Integration with the Linux Application Checker:
    • Determining location of the Linux Application Checker (for the local versions).
    • Gathering the following options for the Linux Application Checker:
      • location and file name of the project to check,
      • application name,
      • LSB version to check against.
    • Running analysis using the Java Script for the Linux Application Checker server.
    • Showing results page in the Eclipse browser using the web-interface of the Linux Application Checker.
    • Keeping the history of recently used servers.
    • Automatically launching recently used/remembered Linux Application Checker server if there is no server running.
    • Providing a dialog for selecting a Linux Application Checker server if there are several servers running.
    • Application checking when multiple projects selected.
    • Taking project dependencies into account when checking the application in the Linux Application Checker.
    • Checking the application against the LSB version, specified in the project's settings.
    • Saving/Loading the configured options and user choices for using them as defaults in the future.
    • Separate page for the plug-in's settings in the Eclipse Preferences dialog.
    • Support for the installable Linux Application Checker version.
  3. Integration with the LSB Database Navigator:
    • Added Actions (toolbar button, main and context-popup menu items) for opening LSB Navigator and added key binging (Ctrl+4) for them.
    • Determining the type of the identifier the caret points to (function, class, macros, etc.) and opening LSB Navigator on the appropriate page.
      • Ignoring user-defined identifiers (local interfaces, types, classes and macroses) and also fields, function parameters, labels and template type parameters.
    • Computing the relative name of the header (with the prefix, ex. "rpc/auth.h").
    • The Plug-in assembles the full unmangled names of the C++ classes, methods, etc.
    • Support for C++ unspecialized class or function templates (the Plug-in generates the appropriate search link for LSB Navigator).
    • Support for identifiers when Eclipse cannot bind the full name — the Plug-in sends this identifiers to the search script of LSB Navigator.
    • Support for Eclipse on Windows platform.

Future Plans

This section contains the current wish list for the LSB Eclipse Plugin evolution. This list is to be constantly augmented.

  1. Replacing compiler messages about functions that not found with the information from the LSB database.
Personal tools