Main

Download

Screenshots

Manual

Developers

About


LiClipseText LiClipse




Previous (Ctags) Root Next (Templates)


The indentation defines how scopes are created for the specified language.

If the language does not specify anything, everything is considered 'flat' in the language.

Example when scopes are created based on spaces (i.e.: python, coffeescript):
	       
indent: {
    type: spaces, #Spaces are used for indenting in Coffeescript 
    outline_scopes: [class, method], #Scopes are created where the outline defines a class or method.
    
    # (Optional) It's possible to force using spaces instead of tabs for a language
    # (by default is uses the same setting as Eclipse General > Editors > Text Editors)
    spaces_for_tabs: true,  
                  
    # (Optional) It's possible to change the tab width for a language.
    # (by default is uses the same setting as Eclipse General > Editors > Text Editors)
    tab_width: 4,  
} 
	 
Example when scopes are created based on braces (i.e. javascript, c++):
	       
indent: {
    type: braces, #Braces are used for indenting in Javascript 
    scope: default, #Only braces found in the default scope are considered
    outline_scopes: [method], #Scopes are created where the outline defines a method.
} 
	 

Example when scopes are created based on language scopes (i.e.: xml, html):
	       
indent: {
    type: scopes, #scopes define increasing or decreasing a level
    scope: tag, #Only 'see' tag scopes when parsing.
    scope_start: [tag.open_tag], #on open tag raise the indent level
    scope_end: [tag.close_tag, tag.open_tag_close], #on close tag lower the indent level
    outline_scopes: [class], #Scopes are created where the outline defines a class
}
	 





Previous (Ctags) Root Next (Templates)
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-2024