Skip to content

Add language support/mapping for .inc, .tpl, and .scss files #85

@Cyantix

Description

@Cyantix

Description

When testing CortexKit AFT on our codebase, many relevant files were skipped as unsupported_language.

In our codebase, these extensions are important:

.inc should be treated as PHP
.tpl should be treated as Smarty templates
.scss should be treated as SCSS

Currently, AFT works well for .js and some .php files, but a large part of the actual application code is ignored because these extensions are unsupported. This makes tools like aft_outline, aft_zoom, and aft_inspect much less useful for PHP/Smarty/SCSS-heavy projects.

A first improvement could be simple extension mapping support, especially:

.inc => php
.tpl => smarty
.scss => scss

Even lightweight outline support for Smarty and SCSS would already be very helpful.

Use case

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions