Main

Download

Screenshots

Manual

Developers

About


LiClipseText LiClipse




Previous (Language Scopes) Root Next (Specifying indentation)


CTAGS

It's possible to use CTAGS (http://ctags.sourceforge.net/) to provide the outline and navigation (Ctrl+Shift+Up / Ctrl+Shift+Down).

A notable editor that uses it is the C/C++ editor, but it should be usable for any language which is supported by CTAGS (although it's only recommended to use it if providing rules to parse the language is too difficult).

To use CTAGS as the parser for the outline, the language should define:

outline:
- {type: Ctags}

And the indent type is used to complement the parent-child relations (as we only extract the text regions from CTAGS, so, the actual indentation is based on braces, spacing, etc.).

I.e.:

indent: {
    type: braces, #A new scope is defined by opening/closing braces
    scope: default, #Only braces found in the default scope are considered
    outline_scopes: [class, method], #We only create a scope where the outline defines a class or method.
}


A ctags.exe is distributed by default on Windows and is located at org.brainwy.liclipsetext.editor/libs/ctags.exe. For other platforms, the ctags executable must be already in your PATH (if you install it later, you may have to restart your shell/Eclipse so that it can detect the changes in your PATH).

The minimum version for it is ctags-5.8.




Previous (Language Scopes) Root Next (Specifying indentation)
LiClipseText development

LiClipseText is open source and depends on your contributions! This may be in the form of bug fixes, answers on stackoverflow, new features... Another option is financially supporting it:

  Paypal








Copyright: Brainwy Software Ltda, 2020-2022